Caching and artifacts
Encyclopedia home · Search machine-readable catalog
The broken snippets are deliberate negative examples. Use only in an isolated fixture repository or lab.
F055
Artifact name differs in consumer
Symptom. unable to find artifact.
Root cause. Producer publishes artifact wheel.
Broken example
with: {name: python-package}Corrected example
with: {name: wheel}Verification. Check a single canonical name and input path.
Correction validation syntax-validated.
F056
Upload path points to wrong directory
Symptom. no files were found.
Root cause. Build tool outputs files under dist.
Broken example
with: {path: package/*.whl}Corrected example
with: {path: "dist/*.whl", if-no-files-found: error}Verification. Inspect archive contents and fail on empty patterns.
Correction validation syntax-validated.
F057
Matrix jobs upload identical artifact names
Symptom. conflict 409 during upload.
Root cause. Artifact names collide across parallel jobs.
Broken example
with: {name: junit, path: report.xml}Corrected example
with: {name: "junit-${{ matrix.python }}", path: report.xml}Verification. Verify one artifact per runtime.
Correction validation syntax-validated.
F058
Stale dependency cache survives lockfile changes
Symptom. dependency state drifts between runs.
Root cause. Cache key omitted dependency fingerprint.
Broken example
key: python-cacheCorrected example
key: "pip-${{ runner.os }}-${{ hashFiles('requirements.txt') }}"Verification. Modify lock input and confirm new cache key.
Correction validation syntax-validated.
F059
Cache hit mistaken for dependency install
Symptom. expected package absent from environment.
Root cause. Cache only stores downloads.
Broken example
if: steps.cache.outputs.cache-hit != 'true'
run: uv sync --lockedCorrected example
run: uv sync --lockedVerification. Test a clean checkout with warm cache.
Correction validation syntax-validated.
F060
Wrong download extraction path
Symptom. file not found.
Root cause. Download action extracted artifact under received.
Broken example
cat dist/SHA256SUMSCorrected example
cd received
sha256sum --check SHA256SUMSVerification. Print download tree and verify hashes inside its directory.
Correction validation syntax-validated.
F061
Artifact expired before promotion
Symptom. artifact not found during delayed approval.
Root cause. Retention is shorter than review time.
Broken example
retention-days: 1Corrected example
retention-days: 7Verification. Compare policy and promotion SLA. Use a registry for durable release artifacts.
Correction validation syntax-validated.
F062
GitHub artifact action copied to incompatible Gitea
Symptom. artifact runtime reports unsupported service or endpoint.
Root cause. Backend protocol versions differ.
Broken example
uses: actions/upload-artifact@v4Corrected example
uses: actions/upload-artifact@v3Verification. Use a documented compatible action for the installed Gitea release. GitHub.com requires v4 or newer supported protocol.
Correction validation syntax-validated.