Repository navigation
Harden nightly sha reuse, pinned provenance and edge promotion - #520
Merged
Merged
Conversation
Strict lookup classification refuses ambiguous registry errors. Sha reuse now requires exact-commit CI, both platform manifests and matching OCI revisions; a bare expected digest is not evidence. Edge is moved by an explicit digest-based step so it survives sha reuse in either publication order.
Use real Buildx .Manifest index digests and digest-addressed .Image config labels on both platforms; descriptor annotations are not evidence. Separate previous edge binding avoids rejecting an existing edge. Resolve independent candidate and previous evidence, accept definitive Buildx missing-tag output for first publish, and add recorded real-shape and workflow CLI argument fixtures.
Evidence indexes and child configs are fetched by digest (repo@digest), never by re-reading the mutable tag; the reported index digest must match the observed digest. Strict not-found classification now matches the queried reference only.
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.
Focused follow-up to PR519 (merged as 3ad93e8)
No revert and no rewrite of the merged branch. Three correctness fixes only.
sha-<commit>reference;
edgeis moved by an explicitly gated, digest-basededge-promotestep after immutable verification. Fixtures simulate bothorders (nightly-then-edge and edge-then-nightly) at the same main commit and
assert both aliases end at the verified digest, with repeat runs writing
nothing.
pinned-build evidence: exact successful CI for the pinned commit, the observed
index digest matching the recorded digest, both
linux/amd64andlinux/arm64platform manifests, and a matching OCI revision on each. A bareexpected digest is not evidence. Previous nightly identity is bound to the
same evidence before the ancestry check.
is absent; unauthorized/network/transient/generic 404 failures are unknown.
An expected digest with a missing tag refuses, as stable releases do.
Verification
python3 -B -m unittest scripts.test_release -q— 64 tests OKedge/nightly tag in buildx metadata.
go test ./cmd/knowledge-lintandgo vet ./cmd/knowledge-lintpass.knowledge-lint -root . -fixthen final: OK, 38/38 queries. ADR 0033 alreadyindexed; no new ADR introduced (orchestrator owns any future row).
Hard gates / scope
No registry image or alias push, workflow dispatch, Git tag/release, deployment,
infra setting or credential output. No change to
latest, SemVer/minor/prereleaseor module semantics; amd64+arm64 preserved; defaults remain publication-free.
Actual live registry tags (parent re-verified 2026-11-18)
22 tags on
atharvnaphade/carbonpanel:latest,1.0,1.0.40(
sha256:ead260ef33c9a9fa…),edge(sha256:4c772558cbcf…), and 18sha-*tags. Zero
nightly/nightly-*tags.Do not merge until independent exact-head review and release-free CI are green.