Repository navigation
ci(containers): keep the release gate's pinned quantecon-build digest (#136) - #296
Merged
Merged
Conversation
…#136) The canary's gate.yml (#135) builds its fixture (#136) on quantecon-build pinned by digest, so that a red gate means the candidate and not a moved image. Since #290, prune-images.yml deletes builds outside main's newest 10 and the last 90 days unless their digest is in .github/container-pins.txt, which asks for a digest to be added before it is pinned anywhere. The digest is the one :latest moved to at 02:37 UTC on 2026-11-10, in build-containers.yml run 42743671096. An edit to this file rebuilds no image. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMazsJ95KLpeAGcWbbp
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟢 Approval recommended
The change is a narrow, clearly documented update that adds a specific container digest to the prune allowlist with defined ownership and a manual bump procedure, and no remaining issues are indicated in the review evidence.
No open issues 🎉
What changed in this PR
Registers the quantecon-build container image digest that the upcoming release gate (in the canary repo) will pin, ensuring the GHCR pruning workflow retains the exact build the gate depends on.
Changes:
- Add a
quantecon-build@sha256:...entry to.github/container-pins.txtso the pruner will not delete that image digest. - Document who will pin the digest and the intended manual bump procedure.
| File | Description |
|---|---|
| .github/container-pins.txt | Adds the planned quantecon-build image digest to the prune allowlist with comments describing ownership and the manual update procedure. |
Review effort: Balanced
This was referenced Nov 10, 2026
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 gate (#135) will build its fixture (#136) in the canary, QuantEcon/test-actions-lecture-intro, on
quantecon-buildpinned by digest, so that a red gate means the candidate and not an image that moved underneath it (decision 4 on #143). Since #290,prune-images.ymldeletes every build outsidemain's newest 10 and the last 90 days unless its digest is in.github/container-pins.txt, and the file asks for a digest to go there before it is pinned anywhere. This PR registers the digest the gate will pin, before the canary pins it.Changes
.github/container-pins.txtquantecon-build@sha256:d7676921…, with who pins it (the canary'sgate.yml) and how it is bumped (by hand, new digest here first, old one removed once the gate has moved)What I checked
:latestnow.build-containers.ymlrun 42743671096 (push tomain, 2026-11-10 02:34 UTC) promoted it: itsPromote to :lateststep logs:latest nowasghcr.io/quantecon/quantecon-build@sha256:d7676921274c293603a34d1592a18352737794200e7563071417ef08cb93976d, after the smoke tests passed (ci(containers): move :latest only once main's build has passed the smoke test (#142, phase 2) #274).sedstrips comments and blank lines, then every line must match^[a-z0-9][a-z0-9._-]*@sha256:[0-9a-f]{64}$, as inscripts/prune-images.sh:205): every pin is well formed.build-containers.ymlruns oncontainers/**and its own file only. This file is in the harness gate's must-run list, so the whole harness runs, andprune-images.yml's pull-request dry run lists what it would delete with this pins file.mainfound the pruner condition; the agreed check is the comment of 2026-11-10 on Release gate fixture: content and hygiene for the canary's gate.yml #136, and Release gating: a gate.yml in the canary tests the candidate before v0 moves #135 has its own.What to watch after merge
Nothing changes until the canary pins the digest. The next monthly prune keeps this build even after
:latestmoves on.Not in this PR
gate.ymlthemselves: canary PRs, next.main.Part of #136.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMazsJ95KLpeAGcWbbp