Skip to content

fix(ci): retry release artifact fetches while the API catches up - #1576

Merged
Jeppe Fredsgaard Blaabjerg (jfblaa) merged 1 commit into
v1.xfrom
jfblaa/release-artifact-retry
Oct 5, 2026
Merged

Jeppe Fredsgaard Blaabjerg (jfblaa) merged 1 commit into
v1.xfrom
jfblaa/release-artifact-retry

Conversation

@jfblaa

@jfblaa Jeppe Fredsgaard Blaabjerg (jfblaa) commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

LLM Description written by Claude Code:claude-opus-5-5

The 1.4.2 publish run failed its first attempt at "Verify artifact transfer" with gh: Not Found (HTTP 404). The step looked up the artifact about half a second after uploading it; the artifact exists with the expected ID and digest, the REST API just hadn't caught up yet.

The shared verify/download script now retries the artifact lookups on HTTP 404 (6 attempts, 5s apart). Any other error still fails immediately, and the metadata and digest checks are unchanged.

🤖 Generated with Claude Code


Note

Low Risk
CI-only change to artifact download retries; no application or publish credential logic is modified.

Overview
Fixes flaky Verify artifact transfer / Download verified tarballs failures when gh api returns HTTP 404 right after an artifact upload.

The shared download-verified-tarballs script now uses a fetch_artifact helper that retries artifact metadata and zip downloads up to 6 times with 5s backoff, but only when stderr indicates HTTP 404. Any other API error still fails immediately; the existing metadata, digest, and tarball validation logic is unchanged.

Because the step is YAML-anchored, both the verify and publish jobs get the same retry behavior.

Reviewed by Cursor Bugbot for commit 2efd6ee. Configure here.

The verify step queries the artifact it just uploaded, and the REST API
can return 404 for a few seconds after the upload finalizes. Retry the
artifact lookups on 404 only, so other errors still fail immediately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jfblaa
Jeppe Fredsgaard Blaabjerg (jfblaa) merged commit 55ade20 into v1.x Oct 5, 2026
16 checks passed
@jfblaa
Jeppe Fredsgaard Blaabjerg (jfblaa) deleted the jfblaa/release-artifact-retry branch October 5, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants