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
{{ message }}
Repository navigation
Artifact-retention check rejects an upload sealed and scanned in an upstream job #16809
The implement lane's agent legs (.github/workflows/pr-run-activity-read.yml, job run) upload no transcript: an upload there would run after code the model can rewrite while holding the runtime token. The owner decided on 2026-11-17 to keep that job from uploading and instead seal each leg's transcript inside it with the verified sealer, carry the sealed bytes out through job outputs, and upload them from a separate job that holds no permissions, checkout or secret.
scripts/check-artifact-retention.mjs fails any upload of a scan: plaintext artifact family from a job with no scan step before it. The clean upload job has no scan step of its own, since the scan and seal ran upstream in the run job, so the check rejects the decided design.
Done when
check-artifact-retention accepts a scan: plaintext upload from a job only when that job is listed as sealed upstream (sealed-upstream in .github/artifact-retention.json), and every listed job holds no checkout, no secret and permissions: {}.
Every job not listed is checked as before: an unscanned plaintext upload still fails.
Tests cover a listed job passing, an unlisted job failing, and a listed job with a checkout or secret failing.
Reason: the scan still runs, upstream, on the same bytes; the exemption only moves where the check looks for it.
Activity
fix(ci): seal the leg transcript only with base-pinned code and key
fix(ci): count every secrets reference against a sealed-upstream job