One process recorded ten passing ingestion cases and exited successfully. Later, the process preparing the report terminated with exit 143. Calling the whole thing a success would erase a real operational failure. Calling the tests failed would discard the result they had already written.

Reconstruct the sequence

The surviving runner output recorded ten passes, zero skips and exit 0. In a subsequent documentation review, the reviewer checked the recorded product revision and matched hashes for 23 job logs and 27 private artifacts. That tied the test summary to a particular run closely enough to report its result. The interrupted reporting step had its own outcome. The available records left the cause of the interruption unresolved.

A matching hash answers a modest question: are these the bytes named in the record? It cannot explain why a process stopped or demonstrate that the test assertions were sufficient. The reviewer needed the runtime record, the test output and their association with the source revision to interpret those bytes.

Give each stage its own receipt

For a small test pipeline, write the suite name, source revision, counts and runner exit status when the runner finishes. Have the reporting process reference that receipt and write its own completion status. Make a missing receipt an explicit state. Otherwise an empty field can mean either that the tests never started or that the report writer disappeared.

On recovery, locate the last completed stage and inspect the evidence required for the next one. In this case a reviewer could assess the preserved output without repeating the test run. The accurate disposition fit in two lines: ten ingestion cases passed on the recorded revision. The reporting process was interrupted; its cause remained open. That gives the test owner and the pipeline owner different, actionable information.

← All engineering articles