Repository navigation
Bounded nightly channel policy with pre-write sha verification - #519
Merged
Merged
Conversation
Nightly reuses the verified sha-<commit> image and moves only the nightly alias under an explicit trusted-main dispatch with exact CI. Both edge and nightly writers preflight the shared sha tag before any build/push and reuse a verified image; conflicts and unknown lookups refuse with zero writes. Nightly ancestry is bound to the observed alias digest through a verified sha reference.
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.
Summary
Adds a bounded, explicit
nightlydevelopment channel reusing the existingrelease/developer machinery in
scripts/release.pyandcd.yml. No secondrelease framework, no new immutable image identity, no stable release/Git tag.
nightlypoints to the most recent qualifying build of a pinned main commitwith exact successful CI, reusing the verified
sha-<full-commit>image(linux/amd64 + linux/arm64). No date alias, no new digest, no GHCR nightly.
build or push: absent → build; present and verified against the expected
digest with both platforms → reuse with no redundant push; conflict or
unknown lookup → refuse with zero buildx pushes and zero alias moves.
sha-<previous-commit>reference; an operator string alone is never trusted.Repeated promotions at the same digest are idempotent.
latest, a stable minor tag, oredge. Publication usesthe existing fixed, non-cancellable channel concurrency group; verification
builds remain per-SHA and cancellable. No scheduled write is added.
Reconciliation (read-only, parent-verified 2026-11-18)
Live Docker Hub
atharvnaphade/carbonpanel: 22 tags —latest,1.0,1.0.40(allsha256:ead260ef33c9a9fa…),edgeand 18sha-*tags.No
nightlyornightly-*tag is live.edgepoints atsha-c15b8d7d…/sha256:4c772558cbcf…, which predates current main; it isnot relabelled as a nightly. No in-repo consumer pins a nightly tag. Counts
match
release-tag-strategy/registry-downstream-inventory.mdandgit-tag-inventory.md.Verification
python3 -B -m unittest scripts.test_release -q— 62 tests OK (8 newoffline nightly fixtures: exact-CI/pinned source, missing opt-in, failed CI,
sha reuse/conflict/unknown with zero writes, identity binding, bound stale/
repeated promotion, stable-alias isolation, workflow wiring + verification-only).
cd.yml,release.yml,modules.yml,landing.yml.go test ./cmd/knowledge-lintandgo vet ./cmd/knowledge-lintpass; no Gosource was changed.
knowledge-lint -root . -fixthen final: OK, 38/38 queries.Hard gates respected
No registry image or alias push, no publisher dispatch, no Git tag/release
creation or removal, no deployment, no registry setting change, no credential
output. All fixtures are offline with injected observers/runners.
Next action (separately authorized)
After review/CI: from a qualifying main commit with green exact-commit CI,
dispatch
Docker Hub CDonrefs/heads/mainwithnightly=true(andexpected_sha_digestif the sha tag already exists). This publishes theverified
sha-<commit>image and moves onlynightly. The same-account DockerHub PAT already needs push access to
atharvnaphade/carbonpanel(the CDcredential probe enforces this); no new registry surface or infrastructure
setting is requested. No edge/latest/stable alias is moved.
Do not merge until independent review and release-free CI are green.