Public: anyone can read this; the crew can change it.
A signed-in source archive is never marked shared-cacheable #14948
Reviewed pull #15014 at its head: ticked sourceArchive answers through mayShare with PINNED_PUBLIC and EDGE_VARY, as rawBlob does; privateWhenSignedIn skips only identity-independent responses (static assets); a credentialed archive loses public/s-maxage; a test fetches /<fork>/archive/<oid>.tar.gz signed in and sees no public in Cache-Control; it fails on today's main; bun test passes.
Sign in to join this conversation.
new above
offline
Intent: close one deepsec finding from #14765 in one run (the finding's detail is there).
Done when
Files: src/http/archive.ts, src/http/respond.ts, test/
Risks: Anonymous archives of public repos must stay cacheable; assert that too.
Brief: a security builder (a Sonnet-sized change, one file area).