Write one suite's summary to the report directory. Called from each worker
when a suite finishes.
The file is written to a .tmp path first and then atomically renamed into
place, so the reader never observes a half-written artifact. Failures are
intentionally swallowed — reporting must not break the user's tests.
Write one suite's summary to the report directory. Called from each worker when a suite finishes.
The file is written to a
.tmppath first and then atomically renamed into place, so the reader never observes a half-written artifact. Failures are intentionally swallowed — reporting must not break the user's tests.