Repository navigation
Conversation
… swallowed but a PTY refuses to stop (stablyai#9197) Follow-up to stablyai#9625, which landed the selector_not_found swallow. That test covers the happy path (no graph terminals to stop); this adds the pairing invariant the swallow depends on: a provider-visible PTY that cannot be physically stopped must still fail the destructive delete closed. Requested by @nwparker when closing stablyai#9601 as superseded.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a Vitest case for 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Moving this PR to draft because it has been untouched for more than 80 days (latest recorded PR activity or commit timestamp: 2026-07-28T03:30:14Z; checked on 2026-10-27). This keeps the review queue focused on active work while preserving the proposal. Please mark it ready for review when work resumes. |
Follow-up to #9625 (which landed the
selector_not_foundswallow for WSL worktree deletion, superseding #9601).#9625's test covers the happy path — a swallowed
selector_not_foundmeans "no graph terminals to stop", so a clean delete proceeds. This adds the pairing invariant that swallow quietly depends on: a provider-visible PTY that genuinely cannot be physically stopped must still fail the destructive delete closed, even when the runtime selector can't resolve.The swallow relaxes only the renderer-graph sweep. If it ever leaked into the provider-visible fail-closed path, a wedged PTY on a WSL
\wsl.localhost↔\wsl$alias miss would let filesystem removal proceed over a live process. This test locks that boundary.worktree-teardown.test.tspass on current main.Requested by @nwparker when closing #9601 as superseded — landing the salvageable regression test separately.