Report correction repair operations and outcomes

This commit is contained in:
2026-11-11 04:31:44 +00:00
parent d927c61199
commit 735dfc1834
10 changed files with 159 additions and 10 deletions

View File

@@ -129,6 +129,15 @@ type WorkUnit struct {
RecoveryCount int
}
// RepairOutcome is a compact correction repair row.
type RepairOutcome struct {
StageIndex int
ChunkIndex int
ProposalIndex int
Attempts int
Outcome string
}
// Snapshot is built once from processing state and shared by presentations.
type Snapshot struct {
RunID string
@@ -139,6 +148,7 @@ type Snapshot struct {
OutputPath string
StageNames []string
WorkUnits []WorkUnit
RepairOutcomes []RepairOutcome
Summary Summary
Errors []ErrorRecord
Recoveries []RecoveryRecord