Repository navigation
revert(release): restore the chart publish existence check from #2221 - #2347
apartha-nv wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review. 📝 WalkthroughWalkthroughThe release script now recognizes additional Helm output for an absent chart. It checks the output against the requested chart reference. Tests cover absent-chart responses, unrelated not-found messages, and registry access failures. ChangesChart absence detection
Priority: ⬆️ High Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: High Merge Risk: ⚪ Minimal · up to This change restores detection of absent Helm chart versions so chart publishes can proceed, while access and authentication failures still stop the run. No merge-blocking risk is evident. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Closing without merging - confirmed nvcf-internal's dispatcher-triggered pipeline already publishes these charts successfully and independently (per the GitHub First POR, this is its intended job, not GitHub Actions'). The real fix here is removing the redundant GitHub-side chart publish path entirely, which Rohith is already actively working on. Leaving #2218 open for them to close via that work. |
Why
Every Helm chart publish has failed since #2272 reverted #2221 on 2026-10-05. #2221 had correctly fixed the chart-existence probe (
missing_helm_chart_output) to recognize the oras-go v2 "FetchReference ... not found" wording that Helm 3.21.4 actually emits for a missing OCI artifact, anchored to the specific requestedchart:versionreference. #2272 reverted that fix back to the original, never-correct two-phrase match ("manifest unknown","status code: 404"), which Helm 3.21.4 has never emitted for this case.CodeRabbit's own review on #2272 flagged this exact risk before merge: "A new chart version may fail to publish when Helm reports that it is missing. Restore the requested-reference check before merging." It was merged anyway.
Confirmed impact since the revert: every real first-time chart publish has failed with the identical error (
nvca-operator v1.29.3,v1.29.4,v1.29.5x2,vanity-gateway v0.6.0,event-ledger v0.4.0,openbao v0.33.0). The only run that succeeded in this period (event-ledger v0.5.0) did so by coincidentally matching an already-published, unchanged version, bypassing the broken check entirely.See #2218 for the original, more detailed root-cause writeup (including that roughly 49 chart versions across the repo need republishing once this is fixed).
What changed
git revertof #2272, restoring #2221's implementation ofmissing_helm_chart_outputverbatim: it now takes the requestedchart:versionreference, matches on a line ending in<reference>: not found(the oras-go v2 wording, deliberately not anchored to a specific operation name since oras uses "FetchReference" or "Resolve" depending on source), plus the legacy"manifest unknown"/"status code: 404"/"response status code 404"phrases, and still refuses anything else (including auth failures) so an existing chart is never silently treated as absent.Customer Release Notes
Not customer visible.
Plan Summary
Not applicable.
Usage
Not applicable.
Testing
python3 -m unittest tools/ci/test-github-release.py(130 tests, all pass)openbao v0.33.0,nvca-operator v1.29.3/1.29.4/1.29.5,vanity-gateway v0.6.0, andevent-ledger v0.4.0CI run failuresNotes
Once this merges, the roughly 49 chart versions tagged and released since the Sep 11 regression (per #2218) that are missing from the registry still need republishing. That is a separate operational follow-up, not part of this code fix.
References
Closes #2218
Related Pull Requests
Reverts #2272. Restores #2221.
Dependencies
None.
Summary by CodeRabbit