fix(server): add trace logging for Codex app server spawn

This commit is contained in:
Mohamed Boudra
2026-03-12 10:51:31 +07:00
parent a79134ec9e
commit 355e56db53
@@ -3070,6 +3070,9 @@ export class CodexAppServerAgentClient implements AgentClient {
private spawnAppServer(): ChildProcessWithoutNullStreams {
const launchPrefix = resolveCodexLaunchPrefix(this.runtimeSettings);
this.logger.trace({
launchPrefix
}, "Spawning Codex app server");
return spawn(launchPrefix.command, [...launchPrefix.args, "app-server"], {
stdio: ["pipe", "pipe", "pipe"],
env: applyProviderEnv(process.env, this.runtimeSettings),