Count repeated report write failures once

This commit is contained in:
2026-11-17 12:52:34 +00:00
parent cc0a420722
commit b3ed91d593
3 changed files with 48 additions and 1 deletions

View File

@@ -53,6 +53,10 @@ One best-effort pass updates earlier reports with stale evidence. Diagnostics
tests cover both initially failed runs and failures that arise during
publication of a completed run.
The follow-up fix counts repeated write failures for one report as one
delivery failure and retains both causes. The regression makes both writes to
`recoveries.yml` fail and verifies that the surviving reports agree on the count.
**Affected plan:** Stage 4, item 3, and Stage 17, item 1.
**Evidence:** [Report publication](../../internal/core/diagnostics/output_session.go#L311)