Repository navigation
ci(helm): retry chart pushes when GHCR briefly misses a new manifest - #4578
Merged
matthewgrossman merged 1 commit intoOct 19, 2026
Merged
Conversation
helm push uploads the chart manifest by digest, then fetches it back to apply the version tag. GHCR sometimes returns 404 for a manifest it just accepted, failing the push with 'failed to perform "Tag" on destination: <digest>: not found'. This failed Release Dev on Oct 5 and the v0.1.5-pre.2 Release Tag run after qualification passed. Retry each chart push up to four times with a short backoff. A retry finds the blobs and manifest already present and only applies the tag. Closes #4577 Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
TaylorMutch
approved these changes
Oct 15, 2026
matthewgrossman
marked this pull request as ready for review
October 19, 2026 17:30
matthewgrossman
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
October 19, 2026 17:30
matthewgrossman
enabled auto-merge
October 19, 2026 17:30
matthewgrossman
deleted the
fix/4577-helm-oci-push-retry/matthewgrossman
branch
October 19, 2026 17:54
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.
Summary
Retry Helm chart pushes to GHCR.
helm pushuploads the manifest by digest and then fetches it back to apply the version tag. GHCR sometimes returns 404 for a manifest it just accepted, so the single push fails. That failed thev0.1.5-pre.2Release Tag run after Release Qualification passed, and failed Release Dev on Oct 5.Related Issue
Closes #4577
Changes
.github/actions/release-helm-oci/action.yml(versioned and SHA-pinned charts) push through a smallpush_chartfunction. It tries up to four times, waiting 10, 20, then 30 seconds between attempts.::warning::, so we can see how often GHCR does this.Testing
shellcheckpasses on both extracted run scripts.helm: no failures (2 calls, exit 0); two transient failures (4 calls, 2 warnings, exit 0); four consecutive failures (fails after 4 attempts, exit 1).mainwill use it.Evidence that the failure is transient: rerunning the failed job (attempt 3) succeeded with no changes and tagged both charts
0.1.5-pre.2. That rerun repackaged the charts, so it pushed a new manifest (helm-chart@sha256:b4d88075…) and left attempt 2's manifest (sha256:01fe3bb5…) untagged. The in-step retry here re-pushes the same archive, so GHCR already has the blobs and manifest and only the tag is applied.Checklist