Artifact 6811d1180e8ef1b74376dc4746d9214f43ac568dd55bb874e9d2e13f08a609c0:
- File
internal/sync/handler_budget_test.go
-
2026-10-29 01:42:14
— part of check-in
[41102e04af]
on branch main
— fix(sync): name a too-big file only to a reader, never by a private check-in
The budget refusal names the file and check-in only when the requester may read the repository, and phantomName skips private check-ins. HandleOpts, XferHandler and ServeHTTP document that the default handler applies no budget, so a host that needs one serves HandleSyncWithOpts itself.
Tests: an artifact held in full is not refused; a bare phantom is; a path holding card syntax goes out as one encoded error line; a sync round with pull and igot cards is refused whole with FilesReceived 0. Atomicity checks now cover unclustered, phantom, delta and mlink alongside blob. (user: [email protected], size: 15065) [annotate] [blame] [check-ins using]
-
2026-10-29 01:51:38
— part of check-in
[d385bc8746]
on branch main
— Merge pull request #524 from danmestas/feat/receive-size-budget
feat(sync): per-store artifact size budget on the receive path (user: [email protected], size: 15065) [annotate] [blame] [check-ins using]
-
2026-10-29 01:42:14
— part of check-in
[41102e04af]
on branch main
— fix(sync): name a too-big file only to a reader, never by a private check-in