Skip to content

Fix terminal repair history for unchunked jobs - #19

Merged
Ben Martens (benmartens) merged 2 commits into
mainfrom
benmartens/fix-repair-terminal-history
Oct 28, 2026
Merged

Ben Martens (benmartens) merged 2 commits into
mainfrom
benmartens/fix-repair-terminal-history

Conversation

@benmartens

@benmartens Ben Martens (benmartens) commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #18.

  • Persist terminal outcomes for unchunked repairs and close the enqueue/history race.
  • Reconcile stale history from exact terminal queue evidence without replaying work.
  • Add regression coverage for outcomes, races, and startup reconciliation.

API compatibility: No breaking HTTP API changes: routes, request/response schemas, status codes, and enum values are unchanged. Repair reads now correctly report existing Completed/Failed outcomes instead of stale Queued states. Batch completion timestamps are populated only after all required work settles; eligible historical records are reconciled at startup. No client payload changes are required.

Validation: solution build and all test projects pass.

Fixes #18.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@benmartens
Ben Martens (benmartens) merged commit 960b26f into main Oct 28, 2026
5 checks passed
@benmartens
Ben Martens (benmartens) deleted the benmartens/fix-repair-terminal-history branch October 28, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unchunked repairs remain Queued after terminal queue transitions

1 participant