feat(tanstack-migrator): Reset button to rewind a migration to triage#514
Merged
JonasJesus42 merged 1 commit intoJul 7, 2026
Merged
Conversation
…triage SITE_RESET rewinds a site to the start of the loop (default: triaging) WITHOUT redoing the irreversible prefix — it never re-runs the migration script nor re-opens the PR (branch/PR and CF deploy URL are kept). It clears the parity score, iteration/fix-session/no-improve counters and session state so the triage → fix → review → merge → deploy → parity loop restarts clean. Unsticks sites — e.g. a legacy one trying to measure parity with an open PR from before the incremental-merge flow. Adds a two-click "Reset" button in the site detail drawer for any started, non-archived migration. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
SITE_RESET+ a two-click Reset button in the site detail drawer that rewinds a migration to the start of the loop (defaulttriaging) without redoing the irreversible prefix — it never re-runs the migration script nor re-opens the PR (the branch/PR and CF deploy URL are kept), and it clears the parity score, iteration/fix-session/no-improve counters and session state so the triage → fix → review → merge → deploy → parity loop restarts clean. This unsticks sites — e.g. a legacy one trying to measure parity with an open PR from before the incremental-merge flow. The button shows for any started, non-archived migration. Stacked onadd-decofile-sync-workflow-tool(uses its new statuses); typecheck + tests green.🤖 Generated with Claude Code
Summary by cubic
Add a two-click Reset that rewinds a site migration to the start of the loop (default: triaging) without re-running the migration script or reopening the PR. It keeps the branch/PR and deploy URL, clears scores and counters, and restarts the loop clean to unstick stalled sites.
SITE_RESETtool rewinds totriaging(or a chosen phase) while preserving repo/branch, PR, and deploy URL; clears parity score, counters, issue cache, and session state; adds an audit event.Written for commit 1c3bb5c. Summary will update on new commits.