Skip to content

fix(ci): pin release artifact download to binaries-* pattern#28

Merged
adi-suresh01 merged 1 commit into
mainfrom
fix/release-download-pattern
May 7, 2026
Merged

fix(ci): pin release artifact download to binaries-* pattern#28
adi-suresh01 merged 1 commit into
mainfrom
fix/release-download-pattern

Conversation

@adi-suresh01
Copy link
Copy Markdown
Contributor

Summary

rc.2 release job failed twice (initial + retry) at the `download all artifacts` step. Logs show 4 of our matrix uploads downloaded cleanly, then `actions/download-artifact@v4` tried a 5th and exhausted its retries.

Root cause: without an explicit `pattern`, v4 enumerates every artifact in the workflow run via the GHA API and downloads each. Some runs include internal artifacts that intermittently fail to fetch.

Fix: pin `pattern: binaries-*` so the action only downloads our 4 matrix uploads.

Test plan

After merge:

```
git tag v0.1.0-rc.3
git push --tags
```

Expect: 8 archives + 8 `.sha256` sidecars attached to a GitHub Pre-release. Container will rebuild but should be fast (cache hit on layers; only the manifest tag needs updating). Total run time: ~25-30 min.

rc.1 + rc.2 stay on the timeline as recorded learning.

Refs #24.

actions/download-artifact@v4 without an explicit pattern enumerates every
artifact in the run, which intermittently hits a 5-retry failure on GHA's
backend even when our 4 matrix uploads land cleanly. Restrict the
download to binaries-* so the action stops trying to fetch unrelated
internal artifacts.
@adi-suresh01 adi-suresh01 merged commit 7f19b77 into main May 7, 2026
2 checks passed
@adi-suresh01 adi-suresh01 deleted the fix/release-download-pattern branch May 7, 2026 22:02
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