Repository navigation
Fix thread deletion while turns are active - #209
Merged
Merged
Conversation
Use a dedicated owner-removal admission hold so deletion can stop its own turns without requiring unrelated turns to finish. Preserve draft preparation, structural-operation fences, and restart checks. Coven-Harness: Codex / GPT-6
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Keep internal routing and naming updates available under the owner-removal fence. Replay surviving thread metadata received after canonical adoption. Include current main and its iPhone test timing fixes. Coven-Harness: Codex / GPT-6
…ptance tests Coven-Harness: Codex / GPT-6
This branch was successfully deployed
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.
Thread and project deletion incorrectly acquired the restart guard, so an active turn anywhere in Modex rejected deletion with “Let current turns and worktree operations finish before restarting.”
Use a dedicated owner-removal admission hold: deletion stops and drains its own turns while unrelated turns continue. Internal routing and title updates remain admitted, and the renderer preserves unrelated thread updates delivered during canonical adoption. Structural-operation fences, native draft preparation/adoption, strict restart checks, and force-stop recovery remain intact.
Validation: full build and unit tests passed; desktop typecheck passed. The full desktop E2E run had 275 passes, with missing-browser, startup-event, and draft-baseline failures; all 15 affected/deferred cases passed on rerun after installing Chromium and fixing the baseline wait. All five owner-removal tests then passed three consecutive runs; seven site E2E tests passed. Combined deletion/archive/fallback regressions passed 31 tests. Independent review found no remaining actionable issues. Current-head CI remains required before landing.
Coven-Harness: Codex / GPT-6