Skip to content

feat(tanstack-migrator): Reset button to rewind a migration to triage#514

Merged
JonasJesus42 merged 1 commit into
add-decofile-sync-workflow-toolfrom
feat/site-reset-button
Jul 7, 2026
Merged

feat(tanstack-migrator): Reset button to rewind a migration to triage#514
JonasJesus42 merged 1 commit into
add-decofile-sync-workflow-toolfrom
feat/site-reset-button

Conversation

@JonasJesus42

@JonasJesus42 JonasJesus42 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Adds SITE_RESET + a two-click Reset button in the site detail drawer that rewinds a migration 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 (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 on add-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.

  • New Features
    • Backend: SITE_RESET tool rewinds to triaging (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.
    • UI: Reset button in the site detail drawer for started, non-archived sites with a two-click confirm and busy state.

Written for commit 1c3bb5c. Summary will update on new commits.

Review in cubic

…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>
@JonasJesus42
JonasJesus42 merged commit ae803c2 into add-decofile-sync-workflow-tool Jul 7, 2026
2 checks passed
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