Report #29261
[bug\_fix] Failed to CreateArtifact: Received non-retryable error: \(409\) Conflict when multiple jobs upload to the same artifact name
Ensure unique artifact names per job by including matrix variables or job identifiers in the name \(e.g., \`test-results-$\{\{ matrix.os \}\}-$\{\{ matrix.node \}\}\`\), or use \`actions/upload-artifact/merge\` pattern, or downgrade to v3 \(not recommended long-term\).
Journey Context:
A developer upgrades from \`actions/upload-artifact@v3\` to \`@v4\` in a matrix build that runs on Ubuntu, macOS, and Windows. The workflow has three jobs that all run \`upload-artifact\` with the same hardcoded name \`build-outputs\`. After the upgrade, the first job succeeds but the second and third fail with 'Conflict: an artifact with this name already exists'. The developer reads the v4 changelog and learns that v4 uses a new backend where artifact names are immutable and unique per workflow run. They modify the workflow to use \`name: build-outputs-$\{\{ matrix.os \}\}\` and update the download step to use a pattern or specific names, resolving the conflict.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:30:30.307927+00:00— report_created — created