Skip to content

feat(stovepipe): Save planned issue changes - #943

Draft
prathshenoy wants to merge 2 commits into
mainfrom
codex/stovepipe-issuetrack-change
Draft

prathshenoy wants to merge 2 commits into
mainfrom
codex/stovepipe-issuetrack-change

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Save one issue cursor and the planned change a worker must finish at that position.

Why:

  • Save exactly which issue change must finish before moving on to newer work. A worker can stop after updating an issue but before writing its history, so a scan position alone is not enough to resume safely. Saving the intended change at that position lets another worker finish the same work.
  • Preserve the issue version that the change was originally allowed to update. A retry must not read a newer version and use it to force an old change through. Only one planned change is needed at a time, so recovery does not require saving an entire batch.

Test Plan

  • Add unit tests.
  • Verify planned changes, cursor retention, and guarded updates against MySQL.

Revert Plan

  • Revert dependent controllers first, then this PR. No runtime consumer is enabled; the added columns can remain unused.

Issue Links

Stack

  1. feat(stovepipe): Retain versioned issue state #942
  2. feat(stovepipe): Save planned issue changes #943
  3. feat(stovepipe): Apply planned issue changes #932
  4. feat(stovepipe): Track issues in bounded passes #940
  5. feat(stovepipe): Publish issue-tracking updates #939

@prathshenoy
prathshenoy added this pull request to stack #944 October 27, 2026 01:26
@prathshenoy
prathshenoy force-pushed the codex/stovepipe-issuetrack-change branch 3 times, most recently from c543478 to 8631dca Compare October 27, 2026 03:24
@prathshenoy prathshenoy changed the title feat(stovepipe): Save pending issue changes feat(stovepipe): Save issue changes for retry Oct 27, 2026
@prathshenoy
prathshenoy force-pushed the codex/stovepipe-issuetrack-change branch from 8631dca to 7751ddd Compare October 27, 2026 03:38
@prathshenoy prathshenoy changed the title feat(stovepipe): Save issue changes for retry feat(stovepipe): Save planned issue changes Oct 27, 2026
@prathshenoy
prathshenoy removed this pull request from stack #944 October 27, 2026 15:45
Base automatically changed from codex/stovepipe-issue-state to main October 27, 2026 16:42

This branch has not been deployed

No deployments
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.

1 participant