Skip to content

fix(macos): isolate dev launcher processes without job control - #790

Merged
tallcode merged 2 commits into
mainfrom
codex/macos-launcher-process-groups
Sep 23, 2026
Merged

tallcode merged 2 commits into
mainfrom
codex/macos-launcher-process-groups

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Summary

  • Isolate the macOS development Agent and Desktop in their own sessions without Bash job control, preventing recurring child setpgid ... Operation not permitted errors.
  • Preserve the launcher child PIDs and ordered Desktop then Agent shutdown on Ctrl-C.
  • Stop logging a successful remote Agent health check as a recovery on every monitor restart; actual probe failures remain visible.

Validation

  • bash -n scripts/start-desktop-macos.sh
  • DRY_RUN=1 ./scripts/start-desktop-macos.sh
  • Controlled macOS process-group spawn and TERM cleanup using the exact Perl setsid launcher mechanism
  • Desktop cargo check, cargo fmt --check, and Clippy with -D warnings
  • git diff --check

Full GUI startup was not run because it would interact with the current local Agent and Desktop processes.

@tallcode
tallcode enabled auto-merge (squash) September 23, 2026 02:02
@tallcode
tallcode merged commit e6dded2 into main Sep 23, 2026
12 checks passed
@tallcode
tallcode deleted the codex/macos-launcher-process-groups branch September 23, 2026 02:13
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