Skip to content

fix(acp): release completed Codex sessions on Linux - #22

Merged
reynholm merged 1 commit into
mainfrom
fix/linux-completed-session-slots
Oct 16, 2026
Merged

reynholm merged 1 commit into
mainfrom
fix/linux-completed-session-slots

Conversation

@reynholm

Copy link
Copy Markdown
Owner

Completed Codex turns on Linux retained worker slots because the late codex-code-mode-host was counted as background work. Five finished scopes could exhaust a five-worker pool. Linux now confirms the host through a bounded ps exe lookup, while real work under that host still protects its original session and result collection. macOS keeps its existing comm behavior.

Regression coverage exercises six scopes through five real ACP workers, child completion and original-session collection, work arguments, symlink rejection, and a running executable removed from disk. Linux RED: 5 failed / 1 passed; fixed: 6 passed. Full package: native Linux 1107 passed / 0 failed / 7 ignored, macOS 1104 / 0 / 7; clippy both platforms, fmt, registry and Python 77 pass. Gronen reviewed exact commit 7cbeb88027bde0db591d208bb1ada26b91f9fb14: PASS, no confirmed defects (Buzz event 4d2943b767c388fa68ec7d21b84ba31a36acfcbcdf174bca9bc88764c6b14f0c). No relay or wire-protocol changes.

Linux runtime evidence uses native ARM64 Ubuntu 22.04; Rosetta x86 emulation substitutes its own executable path and is unsuitable for this identity test. Native x86_64 CI is separate. Installed Desktop/Codex human acceptance remains unclaimed.

The first full Linux run had one existing Claude launcher timeout failure: a non-reaping container PID 1 retained a killed zombie. The same binary reproduced it without a reaper and passed with --init; the complete unchanged package then passed with init. No tests or timeouts were weakened.

Review limits: Gronen inspected sources and source-bound author logs, not a fresh full test run. A fork-before-exec snapshot window remains; regressions acknowledge work after exec. Failed executable confirmation conservatively keeps the slot occupied. Owner explicitly authorized review, push, merge, and Linux Desktop build in Buzz event 965a7f24ffcf3a7a8a18785ace514c473bb27db5327208039de7038a5430e990; human installed-app acceptance is not claimed.

Full local just ci desktop-typecheck passed at exact 7cbeb880 (exit 0); all 5589 snapshotted regular inputs still match and the tree is clean. Includes repository static checks, Rust unit suites, Desktop JS 7068/0, native Desktop tests, frontend/web builds and mobile suites. Hosted CI remains a separate gate.

Signed-off-by: Andrey Bruhanov <mail@alamra.net>
@reynholm
reynholm marked this pull request as ready for review October 16, 2026 14:45
@reynholm
reynholm merged commit d7f080d into main Oct 16, 2026
85 checks passed
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