hashicorp / hashicorp/nomad

add 'time remaining' column to job run cli output

Open
#20,098 2 comments 0 reactions 0 assignees View on GitHub
stage/accepted theme/cli type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

running this on v1.5.8 - so a few versions out of date

"Progress Deadline" makes me think. Thinking sucks.

Feature Request: Add a new column "Time remaining" to the cli output.

![los_imageo](https://github.com/hashicorp/nomad/assets/39473/27219d00-3f3b-4934-9531-ccaea3bb6c50)

Thinking looks like this: What time is now? What time is it now on the server? Is it that 'progress deadline' server time or the client time? Who knows! Guess. Okay, got a time. Do math in head: Server Time - Time.now. Did math wrong. !@#!. Screw this. Go get coffee.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the job run CLI output and the existing "Progress Deadline" column. Trace how that value is obtained and determine the intended time basis for the new column. Done means the output includes a clear "Time remaining" value that users do not need to calculate manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.