Repository navigation
chore(publish-verify): drop the unreachable proxy signing cut-over (#1191) - #1197
Merged
Merged
Conversation
…1191) PROXY_SIGNING_CUTOVER, proxy_pin_verdict and proxy_pin_introduced_by only ever skipped pre-signing pins, and every one of those named ghcr. Since #1184 the pin reader accepts only image_reference("proxy"), and since #1186 the sweep refuses pre-cut-over heads, so the skip can no longer be reached. Every digest ever pinned under the quay reference was introduced after the cut-over. Remove the constant, both functions, the sweep's skip branch (and the tag listing that only fed it), and the 9 harness cases that exercised them (check-proxy-pin.sh: 27 -> 18). The #999 token mutation in check-registry-lookup.sh now passes the pin reference, because the tag list it used to pass is gone. publish-verify.yaml now treats an empty proxy-signed-refs.txt after a passing check as a vacuous gate, not as 'every pin was skipped'. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
force-pushed
the
chore/1191-drop-signing-cutover
branch
from
October 4, 2026 12:48
f1721e1 to
2dafe71
Compare
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.
Removes
PROXY_SIGNING_CUTOVER,proxy_pin_verdictandproxy_pin_introduced_by(scripts/proxy-pin-lib.sh), the sweep'sskipbranch, and the harness cases that exercised them. After #1184 and #1186, nothing can reach them.Proof that the skip is unreachable
proxy_pin_verdictprintedskiponly when both of these held:PROXY_SIGNING_CUTOVER(857e659, chore(proxy): pin aether chart to aether-proxy:dc29caef904144ae3a3f3bb5ae0ad0793a9b86de #988);Three facts on main after #1186 rule out (a):
The sweep refuses pre-cut-over heads (chore(publish-verify): decommission the sweep's ghcr.io branch (proposal 040 phase 4, 4/4) #1186). Any commit whose
bazel/img/registry.bzlhas noSIGNATURE_LAYOUTexits 2 before step 5.The reader accepts only
image_reference("proxy")(chore(registry): remove PROXY_PIN_LEGACY_REFERENCES; the proxy pin names image_reference("proxy") only (proposal 040 phase 4, 3/4) #1184).proxy_pinned_refreturns nothing for any other repository, and the sweep then exits 2. So every pin that reaches the verdict namesquay.io/aethermesh/proxy.Every quay pin was introduced after the cut-over.
charts/aether/values.yamlata3460e9(chore(proxy): pin aether chart to aether-proxy:516d79eada331ec5c91d9e8634556bafaade0652 #1027):git log --reverse -S quay.io/aethermesh/proxy -- charts/aether/values.yaml.857e659is an ancestor ofa3460e9.origin/mainwithproxy_pinned_refandproxy_pin_introduced_by: 98 commits carry a readable quay pin, across 9 distinct digests. For each digest the introducing commit is the commit that first pinned it, andgit merge-base --is-ancestor <intro> 857e659is false for all 9.So (a) never held for any pin the sweep can read, and no verdict on main was ever
skip.Nothing outside the removed code referenced it:
Before this PR, the only hits were
proxy-pin-lib.sh,verify-published-artifacts.sh,check-proxy-pin.sh, thePROXY_SIGNING_CUTOVER=overrides incheck-registry-lookup.sh(case 6g) andcheck-publish-verify-control.sh(case 7), theregistry-lib.shcomment, anddocs/runbook.md. All of them are updated here. After it, the only hits are the two notes that explain the removal (runbook andproxy-pin-lib.sh).bazel query 'kind("sh_.*", //scripts/...)'returns only//scripts:scripts_shell; no Bazel target depends on these functions.Changes
scripts/proxy-pin-lib.sh: removes the constant, the cut-over doc,proxy_pin_introduced_by(its only callers were the verdict and the lookup harness's cut-over override) andproxy_pin_verdict. The file no longer mentions ghcr.io.scripts/verify-published-artifacts.sh(step 5): every pin is checked, and theregistry_all_tagslisting that only fed the verdict is gone. The sweep now reads no tag list at all, which matches its own "no tag listing" summary line. The check count is unchanged.scripts/check-proxy-pin.sh: removes the 6 verdict cases, the 2 "cannot decide" refusals and the committed-full-sha check. The count goes from 27 to 18, not 19: the issue's "8 cases" did not count the 9th, which checked the committedPROXY_SIGNING_CUTOVERconstant and has nothing left to check. The pinned-digest, pinned-ref and rewrite cases are untouched.scripts/check-registry-lookup.sh(6g): drops the cut-over override. The publish-verify: the proxy-pin step passes the tag list as the bearer token — every sweep since the #997 cut-over exits 2 (inconclusive) #999 mutation used to pass$tagsas the token. The step no longer has a tag list, so the mutation now passes$pin_ref. The fake still answers 401, and the run is still exit 2.scripts/check-publish-verify-control.sh(7): drops thePROXY_SIGNING_CUTOVER=HEAD~1override and the "post-cut-over" wording..github/workflows/publish-verify.yaml: an emptyproxy-signed-refs.txtused to be accepted as "every pin was skipped". That cannot happen now. Empty after a failed artifact check is still fine (it is already red); empty after a passing check is now an error, because the gate checked nothing (No shell script in the root workspace is linted: the shellcheck aspect has no sh_* target to visit #853). This matches thesigned-refs.txthandling above it..github/workflows/ci.yaml,docs/runbook.md,scripts/publish-verify-control.sh,scripts/registry-lib.sh: comment and doc updates.Validation (local)
scripts/check-proxy-pin.sh: 18/18scripts/check-registry-lookup.sh: 42/42, including 6g: the signed pin passes on the issued token, and the mutated copy is refused 401 with exit 2scripts/check-publish-verify-control.sh: 20/20scripts/check-registry-config.shandscripts/check-signature-layout.sh: passmake format-check: cleanbazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...: greenpublish-verify.yamlis clean.ci.yamlreports only fourgithub.head_reffindings, at lines 581, 742, 751 and 807, outside this change.Fixes #1191
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr