Skip to content

Commit ced576c

Browse files
committed
chore(codex): align isolated setup with upstream checks
1 parent bda8cf6 commit ced576c

4 files changed

Lines changed: 4 additions & 7 deletions

File tree

‎apps/server/src/provider/CodexIsolatedRuntime.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ it.effect(
4848
leases--;
4949
}),
5050
),
51-
// @effect-diagnostics-next-line effectSucceedWithVoid:off - No compatibility advisory is undefined, not void.
52-
compatibility: () => Effect.succeed(undefined),
51+
compatibility: () => Effect.undefined,
5352
start: Effect.die("Installation must be explicit"),
5453
cancel: () => Effect.die("unused"),
5554
state: Effect.die("unused"),

‎apps/server/src/provider/CodexManagedRuntime.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ it.live.each(
9595
managedDirectory: "/isolated/tools/codex",
9696
acquire,
9797
resolve: () => Effect.succeed(executable),
98-
// @effect-diagnostics-next-line effectSucceedWithVoid:off - No compatibility advisory is undefined, not void.
99-
compatibility: () => Effect.succeed(undefined),
98+
compatibility: () => Effect.undefined,
10099
start: Effect.die("unused"),
101100
cancel: () => Effect.die("unused"),
102101
state: Effect.die("unused"),

‎apps/server/src/provider/providerInstallation.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ const makeHarness = Effect.fn("providerInstallation.test.makeHarness")(function*
6666
managedDirectory: "/unused-managed-codex",
6767
resolve: () => Effect.die("unused"),
6868
acquire: () => Effect.die("unused"),
69-
// @effect-diagnostics-next-line effectSucceedWithVoid:off - No compatibility advisory is undefined, not void.
70-
compatibility: () => Effect.succeed(undefined),
69+
compatibility: () => Effect.undefined,
7170
start: Effect.sync(() => {
7271
calls.push("isolated-codex-start");
7372
return { ...state, driver: ProviderDriverKind.make("codex") };

‎apps/web/src/components/settings/CodexInstallationSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export function CodexInstallationSection({
217217
title="CLI or proxy account"
218218
description={
219219
loginCommand
220-
? "Run this command in a terminal on this environment. Open the URL it prints on any device and enter the code. Enable device code authentication in your ChatGPT security settings if prompted. For a proxy, configure the separate home above instead."
220+
? "Run the command in this environment's terminal. Open its URL on any device and enter the code. Enable ChatGPT device code authentication if prompted. For a proxy, configure the separate home above."
221221
: "Install Codex to get a login command for this environment. For a proxy, configure the separate home above."
222222
}
223223
control={

0 commit comments

Comments
 (0)