Skip to content

Reap cancelled simulator launches before debugger attachment - #463

Merged
zunda-pixel merged 1 commit into
mainfrom
fix/cancel-debugger-launch
Oct 30, 2026
Merged

zunda-pixel merged 1 commit into
mainfrom
fix/cancel-debugger-launch

Conversation

@zunda-pixel

Copy link
Copy Markdown
Collaborator

Cancelling a simulator launch with LLDB selected skipped suspended-process capture, even before a debugger had attached. Capture those request-owned launches and reap them before returning cancellation. Cleanup still rechecks the executable, start time, Simulator UUID, stopped state, and actual debugger attachment; successful debugger launches keep their existing resume behavior.

Fixes #459.

Validation:

  • The debugger-selected regression fails before the fix and passes afterward.
  • swift test --disable-sandbox --force-resolved-versions --filter 'NativeApplicationLaunchTests|NativeExecutionOperationsTests': 16 tests passed.
  • Packaged native host on Xcode 27.2 / iOS 27.2: cancelled an observed stopped, untraced fixture process. It was gone when the -32800 response arrived and at the 1, 5, and 15-second checks. Workspace and host closed without forced termination.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T14:44:48.775548Z 77977f6 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.

@zunda-pixel
zunda-pixel merged commit ba3aad7 into main Oct 30, 2026
7 checks passed
@zunda-pixel
zunda-pixel deleted the fix/cancel-debugger-launch branch October 30, 2026 14:55
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.

Cancelling a debugger-enabled RunProject before LLDB attaches leaves the simulator app suspended

1 participant