Repository navigation
ci(release): push each image once, then verify and tag that digest - #6571
Merged
Merged
Conversation
The release built the service, runner and mcp-server images two times: a load build that it smoke-tested and scanned, then a push build that ran the no-cache stages again. Release run 44828633787 scanned other config digests than it pushed. release.yml now calls release-image.yml once for each image, in a matrix with fail-fast false. Build pushes one build by digest. Verify pulls that digest, runs the smoke test of ci.yml and the image scan. Attest & Tag runs actions/attest, imagetools create and a check that each tag names the digest. Each image promotes on its own. Closes #6407
The checkout of the release commit has a detached HEAD with no branch and no tag, so the git context of docker/metadata-action throws 'Cannot infer ref from detached HEAD' and each Build job fails. The default workflow context runs no git command; the label org.opencontainers.image.revision now takes the input sha. Corrects the release order in a test docstring.
dan-petty
marked this pull request as ready for review
November 21, 2026 01:17
This was referenced Nov 22, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 22, 2026
The release image check of `devops ci job-time` (#6522) asked for `MCP Server Image` and `Runner Image`. No run holds these jobs. Since #6571, the Actions API names them `<Title> Image / Build`, `/ Verify` and `/ Attest & Tag`. Thus the check read the jobs of each of the 2,385 runs of `release.yml`, and the daily job did not end inside its 5 min timeout. - The default list checks the six real jobs of the two images, each over 10 release runs at 360 s. - The checks of one workflow share one read, with one request for the jobs of each run. - A read stops after the jobs of 100 runs (`DEFAULT_CI_JOB_TIME_MAX_RUNS`). The short-read message names this bound. - The test fake uses the job names of the live API, with skipped `${{ matrix.title }} Image` runs. - The change of #6522 is archived. The help, `docs/TESTING.md` and the `ci.yml` comment are correct again. Closes #6734 Change: `openspec/changes/archive/2026-11-22-6734-release-image-job-names/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The release built each of the service, runner and mcp-server images two times: a load build that it smoke-tested and scanned, then a push build that ran the no-cache stages again. Release run 44828633787 pushed other config digests than it scanned.
release.yml now calls the new release-image.yml once for each image, in a matrix with fail-fast false, so each image promotes on its own. Build pushes one build by digest (SBOM, provenance mode=max, the revision label of the release commit). Verify pulls that digest, runs the smoke test of ci.yml and the image scan, and can write no package. Attest & Tag runs actions/attest, imagetools create and a check that each tag names the digest.
The cache filters of main stay: the runner stage runs no apt-get upgrade. For a new outside package, a person re-runs the Build job; Re-run all jobs creates no release.
Closes #6407
Change:
openspec/changes/archive/2026-11-20-6407-release-image-once/