Skip to content

fix(imagebump): policy entries for auth-v14, hasura-v14 and valkey (D-1486) - #967

Merged
acamarata merged 1 commit into
mainfrom
dw3-cli-3
Oct 26, 2026
Merged

acamarata merged 1 commit into
mainfrom
dw3-cli-3

Conversation

@acamarata

Copy link
Copy Markdown
Collaborator

What

The weekly "Image pin bump" workflow fails on main (run 40320509149) with imagebump: auth-v14|hasura-v14|valkey: no entry in the bump policy. Those three pins exist in internal/compose/images.yaml but not in .github/image-bump-policy.yaml.

Policy choices (conservative, patch-only)

image pin rule
auth-v14 0.36.0 ^(\d+)\.(\d+)\.(\d+)$, patch. Stays on 0.36.x; 0.43+ needs AUTH_ENCRYPTION_KEY, so no minor moves.
hasura-v14 v2.44.0 ^v(\d+)\.(\d+)\.(\d+)$, patch. Stays on v2.44.x.
valkey 8.1-alpine ^(\d+)\.(\d+)-alpine$, patch. Two fixed groups, so the tag never moves and only the digest refreshes, same as redis and python.

Test

TestRepoPoliciesCoverEveryPin reads the real images.yaml and the real policy. It fails when a non-plugin pin has no entry, or when its version does not match its entry's regex.

Commands and results

  • go test -count=1 ./tools/imagebump: ok
  • go vet ./tools/imagebump: clean; gofmt -l tools/imagebump: clean
  • With the policy change stashed, the new test fails and names exactly auth-v14, hasura-v14 and valkey.
  • Not run: a fixture-tags dry run against the real list. Its scratch dir under /Volumes/D5/tmp was unavailable because /Volumes/D5 is not mounted. The existing TestGoldenFixture and TestDryRunWritesNothing cover dry-run behaviour.
  • Nothing was run that opens a PR or pushes chore/image-pins. The workflow itself still needs a re-run after merge to confirm.

🤖 Generated with Claude Code

…-1486)

The weekly image pin bump exits 1 because three pins in
internal/compose/images.yaml had no entry in the bump policy.

- auth-v14 and hasura-v14: patch track on their own minor (auth 0.36.x,
  hasura v2.44.x), same regex shape as auth and hasura.
- valkey: patch track on ^(\d+).(\d+)-alpine$, so the tag is fixed at 8.1
  and only the digest refreshes (matches redis and python).

Add TestRepoPoliciesCoverEveryPin, which reads the real images.yaml and
policy and fails when a non-plugin pin has no entry or its version does
not match the entry's regex.
@acamarata
acamarata merged commit a9f9dff into main Oct 26, 2026
30 of 33 checks passed
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