You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
workspace trampoline directory fd collides with Node IPC channel #243
The selected-project execution path added by #222 can collide with the forked executor IPC descriptor.
spawnWithinWorkspace always places the held directory on fd 3 and only strips NODE_OPTIONS and NODE_PATH. The forked Node executor is launched with stdio: ["ignore", "ignore", "ignore", "ipc"], making NODE_CHANNEL_FD equal to 3. The trampoline Node process can therefore treat the directory fd as its IPC channel before fchdir(3), causing startup failure or an incorrect working directory.
Suggested direction: reserve a non-conflicting descriptor or explicitly remove/reassign inherited Node IPC state, with an integration test through the actual forked executor.
Activity