Design progress reporting for large PDF batches
20 October 2026
“9 of 10 files finished” is a useful fact. “90 per cent of the work is done” is a different assertion. A single remaining PDF can contain most of the rendering or recognition work, so show the file count and what the worker is actually doing.
Report the ten-file example honestly
Suppose nine small PDFs have completed and the tenth is being processed. The system has an event showing that the worker began the last item but no reliable estimate for its remaining time.
| Display field | Current value | Meaning |
|---|---|---|
| Finished files | 9 of 10 | Nine items have reached their reported terminal outcome. |
| Active | 1 | The tenth item is running. |
| Queued | 0 | No item is still waiting for a worker. |
| Current activity | Processing the final file | Use a more specific phase only if an actual event supports it. |
| Time remaining | Not yet known | Nine short runtimes do not give a reliable time for this outlier. |
If the nine finished files succeeded, say so. If one failed permanently, show eight successes and one failure instead of calling all nine ready for download. A batch contract should define the item states and how their totals relate to the batch. Example PDF batch contract
Define when the job is finished
A batch is terminal under this example's contract when every admitted item has a terminal result and the final receipt has been recorded. That need not mean that all outputs succeeded. Count each item once in its current state, keeping queued, running, failed, cancelled and successfully delivered outcomes distinct.
When the last worker stops reporting, show the last observed activity with its time and check the authoritative job state. Do not advance a progress bar simply because time elapsed. If a later pipeline stage still needs to commit the output, report that stage rather than announcing completion early.
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).
