Skip to content

Retry downloads of artifacts uploaded in the same run - #54

Merged
ViktorJannicke merged 1 commit into
mainfrom
ci/retry-artifact-download
Nov 26, 2026
Merged

ViktorJannicke merged 1 commit into
mainfrom
ci/retry-artifact-download

Conversation

@ViktorJannicke

Copy link
Copy Markdown

Fixes #53

CI failed on 2026-11-26 while downloading a package artifact the same job had uploaded moments earlier. ReactiveUI.Validation run 45829714777 failed this way on both attempts. The log listed packages-windows-latest (ID: 15123730344) and, 0.16 s later, reported No artifacts found for ID. DynamicData run 45829694029 failed with Artifact not found for name: dynamicdata-ubuntu-latest-9.0.0. The .github/ history has no change since the green runs of 2026-11-19 (the last was the SDK root pin). So this is the artifact service failing to serve an artifact right after upload, not a change on our side.

Change

  • .github/actions/download-artifact is a composite action adopted from runic-sdk's action of the same name. It wraps the pinned actions/download-artifact v8.0.1 (same SHA) and passes name or artifact-ids, path and digest-mismatch (default error) through.
  • It makes three attempts, after pauses of 30 s and then 90 s. runic-sdk makes two. Here one failure came back on a re-run that had its own fresh upload, so a single 30 s retry may not outlast the service's lag. The extra wait costs nothing on a green run.
  • Every CI download of an artifact from the same run now uses the action: the build round-trip check and both acceptance jobs. The release workflow is unchanged.
  • actionlint passes locally. Neither fork has a workflow-lint step in CI.

🤖 Generated with Claude Code

The artifact service sometimes lists an artifact that a job uploaded
moments before and then fails to serve it (run 45829714777 failed this
way on both attempts, run 45829694029 by name). A composite action,
adopted from runic-sdk, wraps the pinned actions/download-artifact and
tries twice more after 30 s and 90 s. Every in-run download in CI uses
it; the release workflow is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ViktorJannicke
ViktorJannicke merged commit d83387d into main Nov 26, 2026
7 checks passed
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.

CI: downloading the package artifact this run just uploaded fails now and then

1 participant