Large files
A blob over the policy size (10 MB; set FORGE_LARGE_BLOB_BYTES to a whole number of bytes, 1024 or more; off stops the offload) is copied to the BlobStore after a push, under large/<owner>/<name>/<oid>. Git keeps its own copy, so a clone, a fetch and history are unchanged. The store is the bucket when S3_* is set, else a directory under the forge's data.
See them
- Page:
/<owner>/<name>/largereads the list the offload job saved after the last push (no scan on a request) and lists each blob, largest first: its path on the default branch, its size, its object id, and where it lives (git, orgit and store). - Terminal: open a repository, then the palette's "Large files" (
src/tui/screens/largefiles.ts);greads again.
Download one
/<owner>/<name>/large/<oid> (saved as the file's own name, else the oid) redirects to a presigned bucket address valid for 5 minutes, or streams the bytes when the store is a directory. Only an oid the store holds is served, and only to someone who can read the repository; anything else is a 404.
Not done
Handing a clone the blob from the store (packfile-uris or an HTTPS promisor remote) is not here: git has no setting for it that fits a repository served by upload-pack as is. Deleting a repository retracts its blobs from the store (after any offload still running has stopped). Renaming a repository or making it private does not: the blobs stay under the old name, and the page and download still check who may read.
Code: src/blob/large.ts, src/web/pages/large_files.ts.