Improve error message for 'fatal: missing job' in meta-data command
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 378
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 74
Description
Hey @lox! This one was reported in https://github.com/buildkite/docs/issues/243 last year, and you mentioned that you wanted to improve the error message 😊
Currently (As of may last year, unless it's been updated) if you don't set the `job` flag, you get the error:
> FATAL Missing job. See: `buildkite-agent meta-data set --help`
Contributor guide
Research direction
Start by reproducing the missing-job error in the Buildkite Agent's meta-data command with the job flag omitted, then locate the command's error handling and help entry point. Review the related Buildkite docs issue for context; done means the resulting error message is more useful than the current text and the behavior is covered by the project's existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100