`Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run`
BeginnerTroubleshootingCaching, Artifacts, Builds & Scans
Answer
Likely causes → artifacts v4 are immutable; multiple matrix legs or a re-uploaded step use the same name.
Diagnose → Find all upload-artifact steps with that name.
Fix → Unique names per leg (name: results-${{ matrix.os }}-${{ matrix.node }}), merge downstream:
- uses: actions/download-artifact@v4
with:
pattern: results-*
merge-multiple: true
path: results
Or overwrite: true when re-uploading in the same job is intentional.
Prevent → Template artifact names with matrix values.
More on Caching, Artifacts, Builds & Scans
`Cache not found for input keys: npm-Linux-3f9a...` on every single run.Beginner`Failed to save: Unable to reserve cache with key npm-Linux-3f9a..., another job may be creating this cache.`BeginnerA cache restores but the build is still slow and reinstalls everything.Intermediate`Error: Unable to download artifact(s): Artifact not found for name: build`Beginner`Warning: No files were found with the provided path: coverage/. No artifacts will be uploaded.` but tests ran.Beginner`ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref ...: "/package-lock.json": not found`Intermediate