Skip to content

fix(linux): preserve Electron Inspector during managed launch - #27

Merged
BytePioneer-AI merged 3 commits into
BytePioneer-AI:mainfrom
SCP-008-1:fix/linux-direct-desktop-inspector
Aug 20, 2026
Merged

fix(linux): preserve Electron Inspector during managed launch#27
BytePioneer-AI merged 3 commits into
BytePioneer-AI:mainfrom
SCP-008-1:fix/linux-direct-desktop-inspector

Conversation

@SCP-008-1

@SCP-008-1 SCP-008-1 commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Closes #25

Managed Linux launches currently invoke the official codex-launcher wrapper even in DirectExecutable mode. The wrapper then execs the packaged ChatGPT binary, creating a process/Inspector transition after the launcher has already attached. Start the verified Desktop executable directly for managed launches so --inspect is owned by the actual Electron process from the beginning. Stock Desktop launches continue using the official launcher.

Validation:

  • cargo fmt --all --check
  • cargo test -p codexhost-platform desktop_launch --lib (12 passed)
  • git diff --check

@BytePioneer-AI
BytePioneer-AI merged commit d36d53b into BytePioneer-AI:main Aug 20, 2026
0 of 3 checks passed
BytePioneer-AI added a commit that referenced this pull request Aug 20, 2026
fix(linux): preserve Electron Inspector during managed launch
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.

[bug][linux] Electron Inspector target disappears during managed Desktop startup

2 participants