You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: upload and download provenance bundles in S3 cache
When building packages with SLSA enabled, provenance bundles are stored
alongside artifacts as <artifact>.provenance.jsonl. These bundles are
needed for dependency provenance collection during local builds.
Previously, only the artifact (.tar.gz) and attestation (.tar.gz.att)
were uploaded/downloaded from S3, causing builds to fail with:
"error accessing provenance bundle: no attestation bundle found"
This fix:
- Uploads .provenance.jsonl files alongside artifacts (non-blocking)
- Downloads .provenance.jsonl files after SLSA verification (best effort)
- Gracefully handles missing provenance for backward compatibility
The provenance download is non-critical and logs a debug message if
missing, allowing older artifacts without provenance to work correctly.
Fixes dependency provenance collection for SLSA L3 compliant builds.
Co-authored-by: Ona <no-reply@ona.com>
0 commit comments