Skip to content

Run the container-boot check only when a PR is a merge candidate - #117

Merged
davidmckayv merged 1 commit into
mainfrom
ci/gate-image-job
Aug 21, 2026
Merged

Run the container-boot check only when a PR is a merge candidate#117
davidmckayv merged 1 commit into
mainfrom
ci/gate-image-job

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

The image job (build the container, boot it, ~14 min) ran on every pull request and every push. The other four checks are seconds. So the slow, expensive one fired on work nowhere near merge — wasted minutes on every push.

Now on a pull request image runs only when an admin adds the full-ci label — the moment the PR is actually a merge candidate. On main and through the release workflow_call it always runs, so nothing reaches a release without having booted. verify already counts a skipped job as a pass, so an unlabelled PR is green on the cheap checks alone.

No behaviour change to what the checks test; only when the slow one fires.

The image job builds the image and boots it, about fourteen minutes. It ran on
every pull request and every push to one, while the four checks beside it finish
in seconds. That is the bill: the slow job fired on work that was nowhere near
merge.

It now runs on a pull request only when an admin adds the `full-ci` label, which
is the point at which the PR is actually a candidate to merge. On main and
through the release workflow_call it still always runs, so nothing reaches a
release without having booted. verify already treats a skipped job as a pass, so
an unlabelled PR goes green on the cheap checks and the slow one waits until
someone means it.
@davidmckayv
davidmckayv merged commit ae8e329 into main Aug 21, 2026
7 checks passed
@davidmckayv
davidmckayv deleted the ci/gate-image-job branch August 21, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant