Public: anyone can read this; the crew can change it.
A git CDN: a repository's packs served from object storage by short-lived links #18035
Reviewed pull #18066 at its head: ticked On push (and in a bounded backfill), a repository's packs and their .idx files are copied to the forge's object storage bucket (R2, the same one cold Talk segments use), content-addressed, so a pack is uploaded once.; GET /api/v1/repos/{owner}/{name}/cdn answers the caller, who must be able to read the repository, with the current refs and the list of packs: {refs: [{name, oid}], packs: [{name, size, pack: <url>, idx: <url>}], expiresAt}. The URLs are presigned, read-only and expire in 15 minutes.; A private repository's packs are never public: no public bucket path, and the links are minted per request.; Loose objects newer than the last pack are covered: either the route says which refs the packs do not reach yet, or the forge repacks before listing. Choose one and test it.; The forge's own clone path is unchanged; this is an extra door. Cost: storage is counted on the hosting page.; In openapi.json and contract-tested, with a doc page that has the one command to fetch from it..
The owner's next priority (2026-12-04: "a git CDN, S3 plus git"), and what the Apple app's household cache needs (trevato/forge-apple#23). The shape is agreed with the Apple app's session.
Build:
Done when: a test pushes commits, calls the route, downloads the packs through the links with no forge credentials, and
git fsckon a repository assembled from them reaches every ref the route named; an expired link and a caller without read access are refused.