GitHub Actions / Editorial solution guide
A workflow artifact is missing or from the wrong run
Trace artifact creation, retention and run identity before using a downloaded candidate.
Read-only knowledge base · No public comments
Recognize the symptoms
A downstream job cannot find an expected artifact, or retrieves a file whose contents do not match the intended source revision. The producing workflow may still show a successful job.
Understand the likely causes
- The upload step may have matched no intended files, used a different name or run, been skipped, or produced an artifact that expired. Permissions, repository boundaries and action versions can also affect retrieval.
Identify producer, consumer and artifact
Record the repository, workflow run and attempt, producer job, source revision, artifact name, upload path and consumer job from sanitized logs. Compare the exact run and repository used by the downloader with those that produced the candidate. A familiar filename or a successful unrelated job is not proof of identity. Check the deployed action versions and their documented behavior before interpreting an upload or download result.
Inspect the producing workspace and upload
In an authorized test run, inspect whether the build created the expected file in the producer workspace before the upload step, and whether its path and name matched the upload configuration. Check step conditions and the action’s handling of missing files for the selected version. Record the artifact identifier and retention information without exposing secrets. A file created in one job is not automatically present in a separate job’s workspace.
Inspect retrieval and access boundaries
Compare the requested artifact name, run identifier, repository and credentials with the authorized producer. Check whether the artifact is still retained and whether the consumer has the required access under repository policy. Do not grant broad write privileges to solve a read or identity mismatch. If the wrong run was selected, correct the reference in source and review how a rerun or new candidate changes that reference.
Verify a bounded end-to-end transfer
In a disposable repository, build a synthetic candidate containing a known revision marker, upload it and download it in the intended consumer job. Compare the marker and a recorded digest with the producing run, then test a missing artifact name and confirm that the release gate fails as intended. Record the action versions and exact run evidence. A successful download proves transfer of an artifact, not that its build or provenance is trusted.
Verify the fix
For the actual candidate, compare source revision, producing run, artifact identity and destination before promotion. Confirm that the consumer used the intended file and that missing or expired artifacts cannot silently fall back to another run.
Keep it from recurring
- Use explicit artifact names and run identities, preserve build provenance and verify immutable candidate identity at promotion. Test missing-file behavior and retain artifacts for the documented recovery period.