Skip to content

fix: reject split-root state in setup migration previews - #147

Merged
PatrickSys merged 1 commit into
mainfrom
fix/setup-migration-preview-20261205b
Dec 5, 2026
Merged

PatrickSys merged 1 commit into
mainfrom
fix/setup-migration-preview-20261205b

Conversation

@PatrickSys

Copy link
Copy Markdown
Owner

In a workspace with both .work/ and .planning/, run node <checkout>/bin/gsdd.mjs setup --migrate --dry-run. It exits 0 and prints a setup preview even though the workspace has conflicting state roots.

Use the existing state check before showing the preview. --migrate now overrides that check only for a supported legacy workspace. The regression test checks that the command exits 1, reports the conflict, and preserves both trees byte for byte.

Tests on Windows (Node 24.14.1)

  • Full suite passed across 38 files. 2,155 passed, 0 failed, 4 skipped by existing fixture guards.
  • Proof staleness check passed for all 11 runners. Syntax and whitespace checks passed.

@vercel

vercel Bot commented Dec 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
workspine Ready Ready Preview Dec 5, 2026 5:19am UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T05:19:51.021412Z 019ba73 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@PatrickSys
PatrickSys merged commit e04832c into main Dec 5, 2026
4 checks passed
@PatrickSys
PatrickSys deleted the fix/setup-migration-preview-20261205b branch December 5, 2026 05:39

This branch was successfully deployed

1 active deployment
Preview — 019ba737 Deployed Dec 5, 2026 by vercel[bot]
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