Nicer job names -- prefix with system and sort #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(This is somewhat of an RFC -- see end of this message. We have been using this in CI for months with no problems.)
Motivation: we have CI set up to test on multiple architectures, with many jobs per architecture. This leads to two annoyances for humans looking at the buildkite webpages. Firstly, there are multiple jobs with the same name and if only one of them fails it can be difficult to work out which architecture was the problem. Secondly they are ordered rather strangely (I think depending on some nix internals), making it difficult to eyeball progress, or find the same job on another architecture.
Solution: we add a prefix to the job names detailing the system, and sort all jobs by name. We also have a list of exceptions which we do not prefix, which we use for a
required
meta-job which just depends on everything else, and is hooked up to github's status integration (since we don't care what system this runs on).(Potential) todos if some PRs along these lines is of interest:
TODO
in the code)