AlmaLinux 9 local VS Code: remote compact task times out waiting for child process to exit
Summary
Codex in local VS Code on AlmaLinux 9.7 repeatedly fails with:
Error running remote compact task: timeout waiting for child process to exit
This reproduces in a brand-new thread, not only when resuming an old one.
Environment
- OS: AlmaLinux 9.7
- Kernel:
5.14.0-611.35.1.el9_7.x86_64 - VS Code:
1.109.5 - Extension build in use when the failure occurred:
openai.chatgpt@26.325.21211 - Codex CLI in that extension:
codex-cli 0.117.0-alpha.24
What I already ruled out
- Repo is on native XFS, not a VMware shared folder.
- Non-interactive shell startup was cleaned up;
bash -lc trueis fast. - Custom
chatgpt.cliExecutablewas removed. - Experimental LSP MCP bridge was disabled.
- Manual
codex-lsp-mcpconfig was removed. - Stale
mcp-lsp-proxy/stdio-to-udshelper processes were cleaned up. - The issue still reproduces after those changes.
Relevant log evidence
Compaction failure in a new-thread run:
Codex.1.log:1401
The key line is:
codex_core::compact_remote: remote compaction failed ... compact_error=timeout waiting for child process to exit
At the same time the extension is also logging unsupported IDE-path errors:
- repeated
open-in-target not supported in extension - repeated
local-environments is not supported in the extension
Examples:
Codex.1.log:1360Codex.log:1918
Process state at failure time
Only one codex app-server was running. There were no extra leaked MCP/LSP helper processes left after cleanup, so this no longer looks like a local process-tree leak.
Repro sketch
- Open local VS Code inside the AlmaLinux VM.
- Open the Codex panel.
- Start a new thread.
- Use Codex normally until the panel reports:
Error running remote compact task: timeout waiting for child process to exit.
Attachments available
I have a local bundle with:
- full
Codex*.logfiles - current VS Code user settings
- current Codex config
- environment summary
I can attach that bundle separately if useful.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗