Design atomic and item-level batch semantics

26 August 2026

A laptop, stacked books and papers sit beneath a desk lamp.
Illustrative photograph: paper documents and a laptop at a work desk. Cropped and resized. Photo: “Laptop on desk book stacks (Unsplash).jpg” — freddie marriage fredmarriage / Wikimedia Commons. · CC0 1.0

Four signed packet components must reach the recipient together. Four unrelated thumbnails may each be useful on their own. Decide what the client is allowed to receive if one item fails. The internal workers can process the files independently even where the final delivery must be atomic.

Publish the signed packet as one unit

Keep all four signed sources unchanged. Give the packet a manifest listing its required components and versions. Stage any derived results privately. Do not issue a delivery link, completion callback or downstream notification for a three-file subset. When all four pass the agreed checks, commit one release record or pointer that makes the complete packet available.

If component four fails, record its error and the status of the other three. The UI can say “Packet unavailable. Component four failed, while three components passed staging.” That does not mean three signed originals must be discarded or that the legal status of the source files has changed. Retain or clean up intermediate work according to policy. A corrected retry should use the same intended packet reference and avoid delivering an earlier partial attempt.

Let independent thumbnails finish separately

For a second batch of four independent thumbnails, the same one-file failure can leave three usable outputs. Give each input its own identifier, status and result. Show the client which three completed, the specific reason the fourth failed and whether a retry is safe. Do not require the user to regenerate the three already committed thumbnails.

QuestionSigned packetIndependent thumbnails
Can a successful item be delivered immediately?Only after the whole packet is ready.Yes, if authorised and that item’s output has committed.
What does one permanent input failure mean?No partial packet is exposed and the responsible item is identified.The other successful items can remain available.
What does a retry target?A new complete packet attempt using the agreed source set.The failed item, with an identity that prevents duplicate effects.

Test a failure before publication, a retry and interruption during the final commit. Reconcile what the client can actually retrieve, along with callbacks and counts. The synthetic batch contract and item results illustrate per-item recording. They do not prove that a separate signed-packet implementation publishes atomically.

Part of the Reconcile partial failures in a batch PDF job guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).