Skip to content

ci: bump release-oci's chart-images pin to main b963a32 (adopts #143 --api-versions) - #156

Merged
braghettos merged 1 commit into
mainfrom
chore/release-oci-chart-images-pin-8fc556aa
Dec 2, 2026
Merged

braghettos merged 1 commit into
mainfrom
chore/release-oci-chart-images-pin-8fc556aa

Conversation

@braghettos

Copy link
Copy Markdown
Contributor

Bumps the one chart-images.yaml pin in release-oci.yaml (the only reference; line 714) from 8f478892 to main b963a32a, # main 2026-12-02. Activates #143 (8fc556aa), the self-configuring --api-versions extraction, which no real release has run.

Proof (measured, not asserted)

  1. Containment, with controls. Compare API: 8fc556aa...b963a32a is ahead 12 / behind 0 (contained). 8fc556aa...8f478892 is behind 27 (not contained). Controls: 9.9.9 and an arbitrary 40-hex ref both return 404 and a non-zero exit.
  2. The feature's suite, in a Linux container (Ubuntu 24.04, helm 3.19.0, yq 4.44.3): chart_images_test.py 34 of 34 arms pass, 0 FAIL. On macOS the same suite fails 20 arms, because the step's sed -i is GNU-only (an environment failure, not a finding). The control: the old tree's suite also passes in the container.
  3. The 5 fixtures are all exercised by that suite, so they are not duplicated: caps-guarded (4 guarded images, 4 spellings, declared once each), caps-subchart (guard in a subchart dir and in a .tgz), caps-none (no guard: no flag, no output), caps-dynamic (computed argument: warned, not passed off as covered), caps-piped ("x" | ...Has).
  4. Behaviour difference. The step lifted from each SHA's chart-images.yaml and run over the same fixtures with a docker manifest inspect shim (no registry touched). Images checked, old to new: caps-guarded 0 to 4, caps-subchart 0 to 1, caps-piped 0 to 1, caps-dynamic 0 to 0 (+1 warning), caps-none 1 to 1 (unchanged, no declaring line).
  5. Interface. The on: block is byte-identical at both SHAs (inputs: chart_version, app_version, chart_root, ref, vendored_dependencies; secrets: none; outputs: none; no name in two blocks). With the step's run deleted, the whole job is identical (env too). Only the step's script changed (+77/-1).

Callers and the release-notes path

A chart with no .Capabilities.APIVersions.Has gets no --api-versions flag, so its render is unchanged (caps-none is the measured case). Only charts that gate on an API version change: they now check the images behind the guard, so a missing image fails where it was silently skipped. The step also now runs under LC_ALL=C. Nothing here touches the release-notes path: release-notes.yaml does not mention chart-images, and verify-images has no outputs.

Not verified locally

release_oci_*_test.py need jq and other things my container lacks, so those reported VOID or failed on missing tools. mode and stamp pass, and sed_inplace_lint.py and internal_pins.py pass. CI is the witness for the rest.

🤖 Generated with Claude Code

https://claude.ai/code/session_016RAxvm1BwZAfutHQTPZGJE

… the self-configuring --api-versions)

release-oci pinned chart-images.yaml at 8f47889, 27 commits before 8fc556a (#143), so the
feature that declares the API versions a chart asks about via
.Capabilities.APIVersions.Has has never run in a real release. A guarded block rendered as
absent and its images were never checked.

One line, one SHA. chart-images.yaml's workflow_call block (inputs, secrets, outputs) is
byte-identical at both SHAs, and everything in the job except that step's run script is
identical. A chart that asks about no API version gets no flag and an unchanged render.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RAxvm1BwZAfutHQTPZGJE
@braghettos
braghettos requested a review from a team as a code owner December 2, 2026 22:15
@braghettos
braghettos requested review from fedepini and removed request for a team December 2, 2026 22:15
@braghettos
braghettos merged commit 7cd0074 into main Dec 2, 2026
40 checks passed
@braghettos
braghettos deleted the chore/release-oci-chart-images-pin-8fc556aa branch December 2, 2026 22:22
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.

1 participant