Skip to content
go-libfossil Check-in [41102e04af]
Login

Check-in [41102e04af]

Overview
Comment: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.

Timelines: family | ancestors | descendants | both | main | trunk | feat/receive-size-budget
Files: files | file ages | folders
SHA3-256: 41102e04afe53aaa571816aa5e28524bcdb25311540158352a1ba9696694b178
User & Date: [email protected] on 2026-10-29 01:42:14.000
Other Links: branch diff | manifest | tags
Context
2026-10-29
01:51
Merge pull request #524 from danmestas/feat/receive-size-budget

feat(sync): per-store artifact size budget on the receive path check-in: d385bc8746 user: [email protected] tags: main, trunk

01:42
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. check-in: 41102e04af user: [email protected] tags: feat/receive-size-budget, main, trunk

01:35
Merge remote-tracking branch 'origin/main' into feat/receive-size-budget check-in: 8426695b6c user: [email protected] tags: feat/receive-size-budget, main, trunk
Changes