Skip to content

test: add an opt-in live Codex test - #14

Merged
TheGreatAxios merged 1 commit into
cl-9404-codex-provider-make-refreshcodextokens-previous-tokensfrom
cl-9405-codex-provider-add-an-opt-in-live-codex-test
Sep 27, 2026
Merged

TheGreatAxios merged 1 commit into
cl-9404-codex-provider-make-refreshcodextokens-previous-tokensfrom
cl-9405-codex-provider-add-an-opt-in-live-codex-test

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-9405

Summary

  • Adds e2e/live.test.ts: one streamed text turn through runInference against the ChatGPT Codex backend, with fetch wrapped in withCodexContentTypeRepair and the account id passed as providerOptions.codexAccountId.
  • Skipped unless both CODEX_LIVE_ACCESS_TOKEN and CODEX_LIVE_ACCOUNT_ID are set. CODEX_LIVE_MODEL defaults to gpt-5.5.
  • Adds test:e2e (bun test e2e), sets test to bun test src, adds e2e to the tsconfig include, and removes bunfig.toml, whose [test] root = "src" kept bun test e2e from finding the suite.

Checks

  • bun run check: 13 pass. bun run test:e2e: 1 skip.
  • Not run against the real backend (no token). With a placeholder token the suite reaches the backend and gets Unauthorized, which confirms the wiring.

@TheGreatAxios
TheGreatAxios added this pull request to stack #18 September 26, 2026 04:21
@TheGreatAxios
TheGreatAxios force-pushed the cl-9405-codex-provider-add-an-opt-in-live-codex-test branch from 535c4db to 97f6099 Compare September 26, 2026 04:26
@TheGreatAxios
TheGreatAxios merged commit 5390d5c into main Sep 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant