Repository navigation
chore(scripts): remove the 11 ghcr_* aliases from registry-lib.sh (proposal 040 phase 4, 2/4) - #1181
Merged
Merged
Conversation
…oposal 040 phase 4) registry-lib.sh kept every pre-040 name as an alias of its registry_* twin (ghcr_registry_token, ghcr_all_tags, ghcr_tag_exists, ghcr_any_tag, ghcr_manifest_digest, ghcr_index_children, ghcr_signature_tag_legacy, ghcr_signature_tag_bundle, ghcr_signature_layout, ghcr_signature_layout_direct, ghcr__json_children) plus the GHCR_IMAGE_REPOS, GHCR_CHARTS and GHCR_MANIFEST_ACCEPT variables. Nothing calls any of them: the only user was check-registry-lookup.sh's shim case, removed here too (byte-identical to the shim-removal PR, so the second to merge rebases clean; case count 43 -> 42). REGISTRY_CHARTS gains the same SC2034 disable its sibling constants carry: GHCR_CHARTS was the only in-file reference shellcheck could see. Part of #1167. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Oct 4, 2026
… in #1179, #1181, #1184, #1186 Fixes #1167 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
Merged
5 tasks done
bpalermo
added a commit
that referenced
this pull request
Oct 4, 2026
… in #1179, #1181, #1184, #1186 Fixes #1167 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Oct 4, 2026
…sal 040 phase 4, 4/4) (#1186) * chore(publish-verify): decommission the sweep's ghcr.io branch (proposal 040 phase 4) The publish-verify sweep read bazel/img/registry.bzl as of each push head and, for heads from before the Quay cut-over, checked ghcr.io: a commit older than the file borrowed its first version, a file without SIGNATURE_LAYOUT defaulted to the `tag` layout, and GHCR_TOKEN was sent to ghcr.io for those reads. The sweep's one-day window has held only post-cut-over heads since 2026-09-28, and nothing on talos-main runs a ghcr image. Removed: - setting_bzl_at's first-version fallback (no registry.bzl -> exit 2) - registry_setting_signature_layout's `tag` default (no SIGNATURE_LAYOUT -> rc 3, which the verifier reports as "decommissioned", exit 2) - GHCR_TOKEN: registry-lib.sh's ghcr.io-only token branch, and the three env entries in publish-verify.yaml - ghcr.io as a sweep target in the verifier, publish.yaml, publish-verify.yaml and the two signature verifiers' docs; those four files leave check-registry-config.sh's legacy allow-list A pre-cut-over head is now exit 2 (inconclusive), never a pass and never MISSING, and not one request reaches any registry for it. Harnesses: check-registry-lookup.sh's pre-cut-over cases (complete registry, unsigned child, 503, absent image with witness, 404-everything) now run on the post-cut-over head on the fake quay.io (a new `unsigned` knob serves an empty referrers index for a digest); the "both heads in one run" case becomes two refusal cases, a PRE head and an ANCIENT head with no registry.bzl, each exit 2 with zero token requests even with a complete ghcr.io behind the fake (re-adding the `tag` default turns it red: 13 token requests, rc 0). check-publish-verify-control.sh: a control on a PRE tree is inconclusive with no MISSING line. check-signature-layout.sh: the pre-cut-over setting is rc 3. Case counts unchanged (43, 20, 28, 10). Docs: README, charts/README, getting-started, configuration and the runbook stop presenting ghcr.io as a source; profiling-symbols.md points the debuginfo sync at quay.io/aethermesh/* (what the GitOps job already uses). The ghcr.io packages themselves are not touched: their retention is a separate maintainer decision. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr * docs(proposals): 040 is Implemented; phase 4 (decommission ghcr) done in #1179, #1181, #1184, #1186 Fixes #1167 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
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.
Proposal 040 Phase 4 (decommission ghcr), item 2 of 4 from #1167.
What
ghcr_*function aliases fromscripts/registry-lib.sh(ghcr_registry_token,ghcr_all_tags,ghcr_tag_exists,ghcr_any_tag,ghcr_manifest_digest,ghcr_index_children,ghcr_signature_tag_legacy,ghcr_signature_tag_bundle,ghcr_signature_layout,ghcr_signature_layout_direct,ghcr__json_children) and the three pre-040 variables (GHCR_IMAGE_REPOS,GHCR_CHARTS,GHCR_MANIFEST_ACCEPT).grepover scripts, tools, workflows, e2e, proxy, bazel and docs finds no caller.scripts/check-registry-lookup.sh; it is removed here too. That hunk, the case-count change (43 -> 42), theregistry-lib.shheader lines and the runbook line are byte-identical to chore(scripts): remove the ghcr-lib.sh shim and its regression check (proposal 040 phase 4, 1/4) #1179 (the shim removal), so whichever of the two merges second rebases clean. Until chore(scripts): remove the ghcr-lib.sh shim and its regression check (proposal 040 phase 4, 1/4) #1179 merges,scripts/ghcr-lib.shstill exists and still sources the library; only its comment ("also defines every ghcr_* name") goes stale, and chore(scripts): remove the ghcr-lib.sh shim and its regression check (proposal 040 phase 4, 1/4) #1179 deletes the file.REGISTRY_CHARTSgets the sameSC2034disable its sibling constants carry:GHCR_CHARTSwas the only in-file read shellcheck could see, so lint flagged it once the alias went.The ghcr.io packages themselves are NOT touched; their retention is the maintainer's separate decision. Pre-check results (no talos-main chart or pod references a ghcr aether image) are in #1179.
Test plan
scripts/check-registry-lookup.sh: 42/42check-signature-layout,check-index-children,check-publish-verify-control,check-proxy-pin,check-registry-config,check-shell-lint: all exit 0bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...(exit 0)make format-check(exit 0)Part of #1167.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr