Skip to content

ci(containers): keep the release gate's pinned quantecon-build digest (#136) - #296

Merged
mmcky merged 1 commit into
mainfrom
ci/136-gate-image-pin
Nov 10, 2026
Merged

mmcky merged 1 commit into
mainfrom
ci/136-gate-image-pin

Conversation

@mmcky

@mmcky mmcky commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

The release gate (#135) will build its fixture (#136) in the canary, QuantEcon/test-actions-lecture-intro, on quantecon-build pinned 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.yml deletes every build outside main'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

File Change
.github/container-pins.txt One pin: quantecon-build@sha256:d7676921…, with who pins it (the canary's gate.yml) and how it is bumped (by hand, new digest here first, old one removed once the gate has moved)

What I checked

What to watch after merge

Nothing changes until the canary pins the digest. The next monthly prune keeps this build even after :latest moves on.

Not in this PR

  • The fixture and gate.yml themselves: canary PRs, next.
  • The docs (CONTRIBUTING's Staged Releases, TESTING, PLAN): a later PR here, once the gate has run on the canary's main.
  • No CHANGELOG entry: nothing an action does changes.

Part of #136.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMazsJ95KLpeAGcWbbp

…#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
Copilot AI balanced review requested due to automatic review settings November 10, 2026 05:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.txt so 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

@mmcky
mmcky merged commit 5ac880b into main Nov 10, 2026
70 checks passed
@mmcky
mmcky deleted the ci/136-gate-image-pin branch November 10, 2026 05:51
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.

2 participants