Repository navigation
Description
What happened?
A completed upload can briefly be absent from the artifact service when download-artifact looks it up. A successful lookup also does not guarantee that the following download request can find the same ID. These paths currently fail immediately rather than retrying artifact availability.
Two public examples on November 24, 2026:
-
An artifact is visible immediately before download, then disappears from the next listing:
15:57:21.677Z Artifacts are available: 14937324621 15:57:21.823Z Downloading artifacts by ID 15:57:22.088Z Found 0 artifact(s) 15:57:22.090Z Unable to download artifact(s): None of the provided artifact IDs were found -
The action lists the artifact, but its download lookup cannot find it: artifact
14938649669was finalized at16:00:55.709Z, selected for download at16:00:56.634Z, then failed at16:00:56.936ZwithNo artifacts found for ID: 14938649669.
Both uploads and downloads are in the same job and workflow run. The artifacts are not expired. Adding a separate readiness check did not prevent the first failure.
What did you expect to happen?
Brief artifact-availability failures should receive bounded retries at discovery and download time. Invalid inputs, authorization failures, extraction errors and digest mismatches should retain their existing failure behavior. Persistently missing artifacts should still fail after retries.
How can we reproduce it?
The service failure is intermittent, so this workflow may succeed on any individual run. The linked logs demonstrate the failure; deterministic tests can model an empty-then-populated listing and an ArtifactNotFoundError from download after successful discovery.
name: Artifact availability reproduction
on: workflow_dispatch
permissions:
contents: read
jobs:
reproduce:
runs-on: ubuntu-latest
steps:
- run: printf '%s' 'artifact availability' > source.txt
- id: upload
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: availability-${{ github.run_id }}-${{ github.run_attempt }}
path: source.txt
if-no-files-found: error
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
artifact-ids: ${{ steps.upload.outputs.artifact-id }}
path: downloaded
- run: cmp source.txt downloaded/source.txtAnything else we need to know?
I checked existing reports before filing. #63 concerns HTTP 404s from the legacy file-container download API. #491 concerns overwritten/same-named artifact selection; these examples use newly uploaded IDs without overwrites. #281 was closed after a missing job dependency was found; these failures occur between sequential steps in one job. Related Pages discovery report: actions/deploy-pages#451.
The evidence establishes inconsistent artifact visibility between requests. It does not establish which server-side change caused it.
What version of the action are you using?
actions/download-artifact@v8.0.2 with actions/upload-artifact@v7.0.2.
What are your runner environments?
GitHub-hosted Linux runners (ubuntu-latest).
Are you on GitHub Enterprise Server? If so, what version?
No, GitHub.com.
Activity
tucker-pw commentedon Nov 25, 2026
Confirming this on a different runner type, with a third variant of the failure.
Environment
actions/upload-artifact@v6andactions/download-artifact@v7.name:(noartifact-ids).compression-level: 0andretention-days: 1.Failure (2026-11-25, UTC)
The download lookup fails about 0.2 s after the upload is finalized.
Frequency: about one in three runs of this workflow has failed this way since roughly 2026-11-20. Failures and successes alternate on the same branch. The workflow and the action versions had been unchanged for about 7 months before that.
The upload did persist: a final cleanup job in the same run deletes the artifact once the run completes, since the minimum retention is 1 day and we don't need it kept. That job found and deleted the artifact seconds after the failed download. So the artifact existed. The lookup returned not-found.
This is the named-lookup path (
Artifact not found for name). The reproduction in the issue uses artifact IDs. So the availability gap is not specific to the ID path. It also shows up on v6/v7, not only v7.0.2/v8.0.2. It also affects self-hosted runners, not onlyubuntu-latest.PR #506 (retry with backoff) would cover this path.
fix(ci): split website build and deploy jobs and retry artifact lookup (
m1m0sin commentedon Nov 25, 2026
I can confirm that we have been experiencing the same intermittent issue across multiple workflows running on GitHub-hosted runners in a GitHub Enterprise Cloud environment.
These workflows were previously working reliably, and the issue started occurring without any changes to their configuration.
Artifacts were successfully uploaded and assigned valid artifact IDs, but subsequent executions of actions/download-artifact@v8 intermittently failed with the following error:
Working workaround
We were able to overcome this issue by combining two changes:
Both changes were necessary for the workaround to be effective in our environment.
Since implementing this combination, we have not observed any further occurrences of the original download failures.
It is worth noting that:
These observations suggest a potential transient artifact availability or eventual consistency issue, possibly involving differences between the internal artifact service API and the GitHub REST API. However, we cannot confirm the underlying root cause.
While this workaround has been effective in our environment, native retry handling with exponential backoff, as proposed in #506, would be preferable to introducing additional actions and configuration across multiple workflows.
Hopefully, these findings help with the investigation and resolution of this issue.
Jiri-Stary commentedon Nov 26, 2026
Confirming on GitHub.com with GitHub-hosted Linux runners (larger runners),
actions/upload-artifact@v7.0.2andactions/download-artifact@v8.0.2, since 2026-11-24. The workflows had been unchanged for weeks before that. Two observations that may help, plus one gap in #506.1. By name, same job, 0.9 s after the upload was finalized
2. The listing itself lags, not only the download lookup
The same job then uploaded three more artifacts and listed them with
actions/upload-artifact/merge@v7.0.2(patternsummary-*_(586a01)). The listing returned six artifacts of the run, but none of the three that had been finalized 0.4 to 2.8 s earlier:We also see
No artifacts found for ID: ...on downloads byartifact-ids, and the same failures between jobs (a job downloading what aneedsjob uploaded), not only between steps of one job.3. Pattern downloads are not covered by #506
#506 keeps the empty result of pattern discovery as is. When the lag hits a pattern download, it does not fail. It logs
Total of 0 artifact(s) downloadedand succeeds, so the next steps silently work on nothing. In our case a reporting job that downloadspattern: scan-results_*would upload an empty report.Would an opt-in input be acceptable to cover it, for example
fail-if-no-artifacts: trueor a minimum count? It would give pattern discovery an expected count, so it could share the retries of #506. Without it, callers have to check the download directory themselves.Our workaround, in case it helps others: we stopped listing artifacts that the same job uploaded, and read those files from disk instead. Downloads between jobs go through a wrapper that tries up to three times, 10 and 30 seconds apart. An attempt counts only when the step succeeded and at least one file arrived.
CI: Retry the artifact download in the self-test
CI: Retry the image-mode artifact download