buildkite / buildkite/agent

Improve error message for 'fatal: missing job' in meta-data command

Open
#923 2 comments 0 reactions 0 assignees View on GitHub
meta-data
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.