Preserve completed diagnostics when pipeline lanes fail
This commit is contained in:
@@ -169,6 +169,11 @@ the [evidence contract](../integrations/evidence-context.md) define those owners
|
||||
Diagnostic aggregation retains every valid origin-aware group in stable order,
|
||||
checks occurrence-count overflow, and keeps up to three representative samples
|
||||
per group with an omitted-sample count.
|
||||
The coordinator retains completed extraction diagnostics independently of lane
|
||||
continuation and, after dispatched work drains, assembles them in lane and chunk
|
||||
order before merge and normalize diagnostics. Available operation diagnostics
|
||||
are retained on failure or cancellation; an incomplete lane still publishes no
|
||||
artifact or generated handoff.
|
||||
|
||||
The encoder receives owned normalized/auxiliary values and returns logical files.
|
||||
It does not choose a directory, publish a report, or serialize execution ledgers.
|
||||
|
||||
@@ -219,6 +219,12 @@ semantic retries or enlarge native repair budgets.
|
||||
|
||||
### CAT-008 — Completed Chunk Diagnostics Disappear On Later Lane Failure
|
||||
|
||||
**Status:** Resolved. Coordinator-owned completed groups survive lane failure
|
||||
and cancellation, including sparse out-of-order results and available diagnostics
|
||||
returned with errors. Ordered assembly avoids duplicate extraction publication;
|
||||
regressions also cover merge diagnostics on normalize failure and incomplete-lane
|
||||
publication boundaries. Focused pipeline and race checks pass.
|
||||
|
||||
**Assessment:** Static composed failure-path defect; original P3.
|
||||
|
||||
**Sources:** [ERR-002](06-error-handling.md#err-002--successful-extraction-diagnostics-disappear-when-the-lane-never-continues),
|
||||
|
||||
@@ -496,6 +496,14 @@ where buildable. Update internal terminology, not public contracts.
|
||||
|
||||
## Stage 16 — Preserve Completed Diagnostics Independently Of Lanes
|
||||
|
||||
**Completed.** The coordinator retains completed extraction groups independently
|
||||
of lane eligibility and assembles them in lane/chunk order after draining work.
|
||||
Available diagnostics from failed operations and completed merge/normalize work
|
||||
are preserved without duplicate extraction publication. Regressions cover
|
||||
same-lane failure, sparse reverse completion, cancellation, and normalize failure;
|
||||
the focused and pipeline race checks pass. Finalization failures remain for the
|
||||
following stage.
|
||||
|
||||
**Coverage:** CAT-008. **Prerequisites:** Stages 10, 15.
|
||||
|
||||
Retain operation groups separately from extraction values/completion eligibility.
|
||||
|
||||
Reference in New Issue
Block a user