Skip to content

A held manifest's files stay with their keeper - #15

Merged
adammharris merged 1 commit into
mainfrom
held-manifest-ships-nothing
Oct 28, 2026
Merged

adammharris merged 1 commit into
mainfrom
held-manifest-ships-nothing

Conversation

@adammharris

Copy link
Copy Markdown
Member

A manifest node published every file its manifest covers. That is right for a web app's bundle, and wrong for a held manifest (prov's held: {by, at}), whose archive is kept on another machine.

Found on the Harris family's photo library: 80,857 photos, 1.66 TB, behind a link on a NAS. With the album marked for the Harris Family space, diaryx publish --dry-run read and weighed every photo, reached 753 MB, and was killed by the NAS's out-of-memory killer. A real publish would have tried to upload them.

A held manifest now ships none of its files. Its collected copy carries held but no rows, so the listing is empty rather than 80,000 links to nothing. Showing the photos from the keeper is later work (the reader shell asking it by hash).

Test: a_held_manifest_node_ships_none_of_its_files. Workspace tests pass, and clippy and fmt are clean. The lock takes prov main, which has held.

A manifest node published every file its manifest covers, which is how a
web app's bundle ships. A held manifest (prov's held: {by, at}) covers
an archive kept on another machine: the Harris family's 80,857
photographs, 1.66 TB, behind a link on a NAS. Marking its node for an
audience made the publish plan read and weigh every one of them, which
ran a 2 GB NAS out of memory, and a publish would have uploaded them.

A held manifest now ships none of its files, and its collected copy
carries held but no rows, so the listing is empty rather than eighty
thousand links to nothing. A reader asks the keeper for a photograph.
@adammharris
adammharris merged commit fce766e into main Oct 28, 2026
8 checks passed
@adammharris
adammharris deleted the held-manifest-ships-nothing branch October 30, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant