Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-11-09 15:49:16 -05:00
pkg-proxy/internal/storage
Repository files (latest commit first)
Filename Latest commit message Latest commit date
simon chrzanowski d7a6a891e3
Abort blob writes when the download fails
gocloud commits whatever a writer received when it is closed, unless its
context was cancelled first. Store closed the writer after a failed copy,
so every download that broke off midway left a partial object under its
fetch path. No database row points at it, so it was never served, but
nothing deleted it either and the orphans kept taking disk space.

- Cancel the writer's context before closing it when the copy fails
- Add a test storing from a reader that errors midway
2026-10-14 08:36:21 +02:00
..
blob.go Abort blob writes when the download fails 2026-10-14 08:36:21 +02:00
blob_test.go Abort blob writes when the download fails 2026-10-14 08:36:21 +02:00
gcs.go Add GCS storage backend with lighter dependencies (#179) 2026-08-29 11:23:07 +01:00
gcs_test.go Test that GCS Delete of a missing object returns nil 2026-09-23 17:26:42 +01:00
storage.go Support HTTP byte-range requests for local file cached artifact downloads (#404) 2026-10-04 17:48:41 +01:00
storage_test.go Give each fetch its own storage path 2026-09-23 16:14:43 -07:00