fix(server): a slow Claude CLI is no longer reported as failing to run #21263
Mergedyaacovcorcos(GitHub profile, opens in a new tab)merged 5 commits into
main fromrefs/pull/21263/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XS
- apps/server/src/provider/ProviderRegistry.test.ts lines 3148 to 3149OutdatedResolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -3123,0 +3129,21 @@3129+ ).pipe(3130+ Effect.provide(3131+ Layer.succeed(3132+ ChildProcessSpawner.ChildProcessSpawner,3133+ ChildProcessSpawner.make((command) => {3134+ const joined = (command as unknown as { args: ReadonlyArray<string> }).args.join(3135+ " ",3136+ );3137+ if (joined !== "--version") throw new Error(`Unexpected args: ${joined}`);3138+ // The native CLI can take several seconds to start on a busy Windows host.3139+ const answer = Effect.sleep("19 seconds");3140+ return Effect.succeed(3141+ ChildProcessSpawner.makeHandle({3142+ pid: ChildProcessSpawner.ProcessId(1),3143+ exitCode: answer.pipe(Effect.as(ChildProcessSpawner.ExitCode(0))),3144+ isRunning: Effect.succeed(true),3145+ kill: () => Effect.void,3146+ unref: Effect.succeed(Effect.void),3147+ stdin: Sink.drain,3148+ stdout: Stream.fromEffect(answer.pipe(Effect.as(encoder.encode("1.0.03149+")))),
juliusmarminge assignedjuliusmarminge
juliusmarminge merged this5932c19
juliusmarminge closed this
Sign in to join this conversation.
Codex Review Summary#
This comment shows the latest Codex review activity on this pull request.
9c495d8ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.