Repository navigation
fix(chart): point the image tag at the published v1.1.0-dcb76167 - #6278
Conversation
The chart references the images by their CI tag, v<release>-<short SHA>. Since dcb7616, 'git rev-parse --short' prints 9 characters - the 8-char prefix is ambiguous in this repository - so fluid-cloudnative#6268 recorded v1.1.0-dcb76167b. The images were published under the 8-char tag v1.1.0-dcb76167 though: on Docker Hub every component image (dataset-controller, the runtime controllers, fluid-csi, fluid-webhook, fluid-crd-upgrader) carries v1.1.0-dcb76167, and no v1.1.0-dcb76167b tag exists. A fresh helm install therefore pulls a tag that was never pushed and the pods stay in ImagePullBackOff. Point appVersion and the default image tag at the published v1.1.0-dcb76167. Signed-off-by: cheyang <cheyang.cy@alibaba-inc.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6278 +/- ##
=======================================
Coverage 66.13% 66.13%
=======================================
Files 486 486
Lines 34616 34616
=======================================
Hits 22894 22894
Misses 9964 9964
Partials 1758 1758 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the image-tag and chart-version update.
No open issues 🎉
What changed in this PR
Corrects the Fluid Helm chart’s image version to use the published tag, resolving the ImagePullBackOff issue introduced by #6268.
Changes:
- Changes the default image tag from
v1.1.0-dcb76167btov1.1.0-dcb76167. - Aligns the chart’s
appVersionwith the corrected image version.
| File | Description |
|---|---|
| charts/fluid/fluid/values.yaml | Points the default image tag at the published images. |
| charts/fluid/fluid/Chart.yaml | Updates appVersion to match the corrected version. |
Review effort: Balanced
cheyang
left a comment
There was a problem hiding this comment.
Both reviewers reproduced the premise independently and confirmed the fix end-to-end: on the merge-base the chart renders 12 default-tagged fluid image refs at v1.1.0-dcb76167b, which 404 on Docker Hub — a fresh helm install would sit in ImagePullBackOff on every system pod, and the pre-upgrade CRD hook was equally unpullable. This PR retargets appVersion and the values.yaml version anchor at v1.1.0-dcb76167, which resolves 200 for all 12 images, including application-controller and the other refs the PR description's 6-image table left unchecked. The rendered diff vs base is exactly the tag/appVersion-derived strings (52 lines) and nothing else, no stale 9-char reference remains, and the source chart now matches the already-corrected published artifact (fluid-cloudnative/charts#122). No blockers, no majors; Copilot raised no findings on this head either. Two non-blocking process notes survived cross-critique, both pre-existing: the chart-bump and image-build sides still disagree on short-SHA length — Makefile:7 plus two .github/scripts/ sites use unpinned git rev-parse --short, and the #6232 round published 9-char tags while this round published 8-char — and no CI check verifies chart default tags against the registry, which is exactly how #6268's bad tag sailed through a green matrix. The one disagreement between the reviewers (whether the un-bumped chart version merits even a nit) is a convention call recorded below, not a defect. Re-runnable evidence: verify/chart-tag-dcb76167-claude and verify/pr6278-chart-image-tag-codex.
Next round
[MUST] none — merge is not gated on any finding; the fix is verified complete for every default-tagged image.
[SHOULD] Pin the short-SHA length (git rev-parse --short=8 or ${GITHUB_SHA::8}) at Makefile:7, .github/scripts/build-all-images.sh:8, and .github/scripts/deploy-fluid-to-kind.sh:10, and match it in the chart-bump tooling (F1).
[SHOULD] Wire the demonstrated render + registry-resolution check into CI for chart-bump PRs (F2) — both harnesses contain a working, red-on-base/green-on-head implementation.
[SHOULD] Maintainer convention call: consider a chart patch-version bump so consumers can distinguish fixed from broken 1.1.0 (F3), and correct the PR body's 'ambiguous prefix' narrative to git's auto-abbreviation scaling (F4) so root-cause hunting aims at the right mechanism.
[Filed] none.
Non-blocking observations (5) — not part of this round's ask; fix now, follow up, or file an issue as you see fit
- Makefile:7 [minor] — pre-existing, not introduced by this PR — Chart-bump vs image-publish short-SHA length disagreement can recur (three unpinned in-repo call sites)
F1 (consensus, Claude + Codex, both CONFIRMed in cross-critique): the recurrence trap stays armed after this fix. Image tags are built fromGIT_SHA := $(shell git rev-parse --short HEAD ...)(Makefile:7, consumed by Makefile:8'sGIT_VERSION) with auto abbreviation length, and the same unpinned pattern appears at .github/scripts/build-all-images.sh:8 and .github/scripts/deploy-fluid-to-kind.sh:10 — three in-repo arms. Chart bumps (#6268 et al.) record whatevergit rev-parse --shortprints on the bumper's full clone (9 chars here; git's auto length scales with object count). The two publish rounds demonstrably disagree on length in both directions: #6232 published 9-char tags while this round published 8-char. The next bump can recreate exactly this breakage. Hardening: pin the length (git rev-parse --short=8 HEADor${GITHUB_SHA::8}) in the Makefile and bump tooling, or derive/verify the chart tag against the registry (see F2). Pre-existing, not introduced by this PR (base renders the bad tag; this PR removes it); the durable fix is tooling hardening, so it must not gate this two-line repair of a currently-uninstallable chart. Adjudication note: Codex located the cause at Makefile:7 (cause site) over Claude's values.yaml:16 (symptom site); Claude's critique conceded and widened to three call sites. Recurrence is a well-evidenced hypothesis, not a reproduced event — minor is the settled ceiling. - [minor] — pre-existing, not introduced by this PR — Which release automation invokes the Makefile tag, and in what clone state?
Q1 (open question, partially answered in cross-critique): the only in-repo definition of the published tag format is Makefile:7-8 (v1.1.0-, matching the published tags exactly); no image-publish workflow exists under .github/workflows/, so which automation invokes it — and in what clone state — remains unknown. Codex's critique partially answers Claude's phase-1 question. Pinning both sides to the same truncation (or verifying against the registry per F2) closes the F1 recurrence class regardless of the answer. - charts/fluid/fluid/values.yaml:16 [minor] — pre-existing, not introduced by this PR — No automated check that chart default image tags resolve on the registry
F2 (consensus, Claude + Codex, both CONFIRMed in cross-critique): nothing in CI or the chart-bump flow verifies that the chart's default image tags exist on the registry. The incident is the proof: #6268 pointed the chart at a never-published tag and passed the full green CI matrix, because the e2e lanes build and load images locally (deploy-fluid-to-kind.sh:10 tags and pushes to the kind registry) rather than pulling the chart's default tags from Docker Hub — the blindness is structural, verified by enumerating all six workflows at head. A cheap guard is demonstrated twice independently: render the chart with default values and assert every default-tagged fluidcloudnative/* image exists on the Docker Hub tags API (check_chart_images.py and TestDefaultTaggedImagesExistInRegistry — same contract, red on base 12x404, green on head 12x200). Worth wiring into CI for chart-bump PRs. Pre-existing process gap, not a defect in this diff; non-blocking. - charts/fluid/fluid/Chart.yaml:21 [nit] — pre-existing, not introduced by this PR — Chart version stays 1.1.0, so fixed and broken charts are version-indistinguishable
F3 (disputed disposition, non-blocking either way): the chart version remains 1.1.0, so helm consumers who installed the broken 1.1.0 get no version signal that a fixed one exists. Claude filed it as a nit; Codex confirmed the facts but would keep it below finding threshold (its round had the same point under 'considered and dismissed'). Adjudicated: retained as a nit for the maintainer-convention discussion only — every prior image-tag bump PR (#6268, #6232, #6142) leftversionuntouched, and the published artifact lives in fluid-cloudnative/charts where the fix already landed (charts#122). Convention question, not a defect; cannot gate anything. - [nit] — PR body's 'ambiguous 8-char prefix' mechanism is not the actual mechanism
F4 (consensus, Claude + Codex derived the identical correction; nit on the PR narrative, not the fix): the PR body says the 8-char prefix is ambiguous in this repository;git rev-parse --disambiguate=dcb76167resolves exactly one object (dcb7616...). The 9-char form comes from git's repo-size-scaled auto abbreviation length (git -c core.abbrev=8 rev-parse --short dcb76167b0...-> dcb7616). Worth a one-line correction in the record so whoever fixes F1 hunts for an abbreviation-length mismatch between build environments (e.g. full clone vs shallow), not a hash-prefix collision. The PR's observable claim and the fix itself are correct.
Verified review delta
- F1-tag-length-recurrence: open (preexisting)
- Q1-publish-pipeline-tag-source: open (preexisting)
- F2-registry-resolution-guard: open (preexisting)
- F3-chart-version-unchanged: open (preexisting)
- F4-ambiguity-narrative: open (initial-pr)
Code: clear. CI: success; attribution: unknown. Required CI checks still apply.



What this PR does / why we need it:
The chart references the fluid images by their CI tag,
v<release>-<short SHA>. Sincedcb76167,git rev-parse --shortprints 9 characters for that commit (the 8-char prefix is ambiguous in this repository), so #6268 recordedv1.1.0-dcb76167b. The images were published under the 8-char tagv1.1.0-dcb76167though. Verified on Docker Hub:v1.1.0-dcb76167v1.1.0-dcb76167bA fresh
helm installwith the current chart therefore pulls a tag that was never pushed and every pod stays inImagePullBackOff.This PR points
appVersionand the default image tag at the publishedv1.1.0-dcb76167.Which issue(s) this PR fixes:
Special notes for your reviewer:
The same correction was applied to the published chart in fluid-cloudnative/charts#122.