What this thread does
The problem
Match the exact GitHub Actions validation or artifact error before changing YAML, billing or pins. This guide targets GitHub.com.
Versions and service boundary — checked 2026-10-20
| Component | Official reference | Scope |
|---|---|---|
| upload-artifact | v7.0.2, v4.0.0 docs | Current versus historical conflict |
| download-artifact | v8.0.2 | Timeout report used v4 |
| cache | v6.1.0 | Retired-version message is historical |
Official examples use upload @v7, download @v8, cache @v6. Resolve reviewed commit pins and runner requirements before upgrading. Artifact READMEs exclude v4+ on GHES. No prices are compared.
When to pick which
| Observation | Fix to investigate | Do not confuse with |
|---|---|---|
| YAML rejected before jobs start | Allowed expression contexts | Missing runner environment variable |
| 409 creating artifact | Unique name for every producer | Storage quota |
| CreateArtifact quota refusal | Owner storage, billing and retention | Cache miss |
| Blob download timeout | Transfer/network diagnosis | Artifact-not-found |
| Deprecated action auto-failed | Direct and transitive action upgrades | Random retryable outage |
Unrecognized named-value env
Exact message fragment Unrecognized named-value: 'env'.
The expression uses env in a field whose allowed contexts exclude it. Locate the key with rg -n 'env\.|container|uses:|with:' .github/workflows. For container images, set repository variable BUILD_IMAGE to the full image reference and use ${{ vars.BUILD_IMAGE }}. For reusable workflows, pass an allowed expression or literal to a declared workflow_call input.
Do NOT use shell $BUILD_IMAGE or GITHUB_ENV to influence job creation. Source official contexts table, checked 2026-10-20; reusable-workflow diagnostic report, checked 2026-11-15.
Artifact name conflict 409
Exact message Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Multiple producers attempt to create one immutable artifact name. Different filenames inside one archive do not avoid the conflict. Inspect rg -n 'upload-artifact|name:|matrix:' .github/workflows. Use unique names like build-${{ matrix.os }}-${{ matrix.shard }} with declared matrix dimensions. Download via pattern and optionally merge-multiple in a job that needs the producers; keep extracted filenames distinct.
Do NOT apply overwrite to concurrent shards as a merge strategy; it replaces an artifact rather than appending. Sources official v4 migration guide, upload naming and overwrite rules, checked 2026-10-20; DanTup's #478 verifies the exact error.
Artifact storage quota hit
Exact message Error: Failed to CreateArtifact: Artifact storage quota has been hit.
Inspect owner storage, payment and budgets; artifacts and Packages share a pool. Inventory with gh api --paginate repos/OWNER/REPO/actions/artifacts across the owner’s repos. With approval, delete expendable artifacts; narrow paths and future retention-days. Retention changes apply only to new artifacts. Reporting updates within 6–12 hours; deletion frees current storage without erasing accrued charges. Persistent inconsistencies need Support.
Do NOT retry uploads blindly, delete caches as an artifact fix or raise spending without authorization. Source GitHub Actions billing, checked 2026-10-20; retention changes, checked 2026-10-20.
Failed to download artifact — request timeout
Exact message fragment Unable to download artifact(s): Unable to download and extract artifact: Request timeout
The transfer timed out; the root cause is unproven. Inspect gh run view RUN_ID --repo OWNER/REPO --log-failed and gh api repos/OWNER/REPO/actions/runs/RUN_ID/artifacts. Redact signed URLs before sharing logs. Verify producer completion, expiry, name/run/repository and job ordering. Cross-run downloads need documented run/repository inputs and token access.
Check self-hosted proxy/firewall access to results-receiver.actions.githubusercontent.com and *.blob.core.windows.net. Correct confirmed blocking; compare a small artifact on that runner. Reruns/upgrades are not universal fixes.
Do NOT treat job timeout-minutes or cache segment-timeout settings as artifact request-timeout controls. Sources download inputs and official runner network requirements, checked 2026-10-20; jijiechen's reproduced timeout, checked 2026-10-20.
Deprecated action version automatically failed
Exact observed message 'This request has been automatically failed because it uses a deprecated version of actions/cache: v2.1.6.'
A direct or nested action invokes a retired cache client. Search rg -n 'actions/(cache|upload-artifact|download-artifact)@|uses:' .github and inspect referenced actions and setup logs. Update the action that embeds the old client, not just the visible cache line. Check current cache release/runner requirements before pinning a replacement.
Do NOT downgrade to dodge immutability or give every action the same major. GitHub's notice puts artifact v3 retirement on January 30, 2025 and cache legacy retirement on March 1, 2025, with a GHES exception. Source official retirement notice and cache README, checked 2026-10-20.
What the community says
- DanTup's #478 reproduces the conflict and acknowledges documented immutability. Reactions were unavailable; the supplied engagement is unverified.
- teknosysGit's quota discussion includes continuing failures after deletion; it proves no universal reset time.
- jijiechen's timeout discussion establishes recurrence, not one fix.
- In #151729, lilly-Mohan reproduces the cache diagnostic; get-itips later reports finding a nested obsolete caller. Checked 2026-10-20.
Recommendation by constraint
Use the table before retrying.
A prompt to give your agent
Read the linked official source rather than guessing. Classify my redacted error; inspect workflow and nested action sources, ordering and runner requirements. Draft a minimal patch with reviewed pins and a verification run. Do not delete artifacts or raise budgets without approval. Label timeout hypotheses.
Limits
No workflow ran. Supplied fragments verified; a separate deprecated upload-artifact auto-failure string is unverified and omitted. Cache v2.1.6 tag metadata fetch failed; retained only as a verified historical diagnostic. Timeout/quota fixes remain conditional. Not for uses published-snapshot neighbours.
Started from a post by @DanTup, packaged by the editor. Original post