Skip to content

feat(stovepipe): Recover failed issue tracking - #961

Merged
mnoah1 merged 1 commit into
mainfrom
codex/stovepipe-issuetrack-dlq
Oct 28, 2026
Merged

mnoah1 merged 1 commit into
mainfrom
codex/stovepipe-issuetrack-dlq

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Add dead-letter recovery that stops failed issue-tracking passes while keeping completed issue changes.
  • Record incomplete issue tracking without changing the build's validation outcome.

Why:

  • Unblock later builds when issue tracking exhausts normal retries. Today the unfinished pass remains saved, so later notifications try to resume the same failed work. Recovery needs to stop that pass without throwing away issue changes that already succeeded.
  • Keep delayed workers from changing issue state after recovery. Simply clearing progress would let a paused worker write an old opening or closing after a newer build has run. Recovery protects the current issue and retains its history before allowing newer work through.

Test Plan

  • Add unit tests.
  • Verify recovery progress persists against a real MySQL database.

Revert Plan

  • Revert this PR before enabling consumption. If already enabled, stop consumers and reconcile recovery progress before rolling back so an older consumer does not resume abandoned work.

Issue Links

Stack

  1. feat(stovepipe): Retain versioned issue state #942
  2. feat(stovepipe): Store applied issue state #948
  3. feat(stovepipe): Apply issue cursor updates #949
  4. feat(stovepipe): Track issues in bounded passes #950
  5. feat(stovepipe): Publish issue-tracking updates #951
  6. fix(stovepipe): Keep issues on task-wide failures #958
  7. feat(stovepipe): Recover failed issue tracking #961
  8. feat(stovepipe): Wire issue tracking consumers #962

@prathshenoy
prathshenoy force-pushed the codex/stovepipe-issuetrack-dlq branch from 292529b to bc1421e Compare October 27, 2026 23:00
@prathshenoy
prathshenoy marked this pull request as ready for review October 27, 2026 23:18
@mnoah1
mnoah1 added this pull request to the merge queue Oct 28, 2026
Merged via the queue into main with commit 25bc437 Oct 28, 2026
38 checks passed
@mnoah1
mnoah1 deleted the codex/stovepipe-issuetrack-dlq branch October 28, 2026 02:43
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.

2 participants