• turbo 2.10.12 • Packages in scope: bb-plugin-provider-codex • Running test, typecheck, lint in 1 packages • Remote caching disabled //:ensure-native-modules: cache bypass, force executing 80ead5a864105692 bb-plugin-provider-codex:lint: cache miss, executing 6340d7ab21e696eb @bb/templates:generate:plugin-scaffold: cache hit, replaying logs dab737dfec045ea0 @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /base/packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/templates:generate:templates: cache hit, replaying logs ac76a9afa015e52d @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates /base/packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/plugin-build:generate: cache hit, replaying logs 16a147bd93d95036 @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /base/packages/plugin-build @bb/plugin-build:generate: > node ./scripts/generate-plugin-theme.mjs && node ./scripts/generate-runtime-export-manifest.mjs @bb/plugin-build:generate: @bb/plugin-build:generate: wrote packages/plugin-build/src/generated/plugin-theme.generated.ts @bb/plugin-build:generate: wrote /base/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.2.4) @get-bb/plugin-sdk:build:types: cache hit, replaying logs 497add53e4b0bd9b @get-bb/plugin-sdk:build:types: @get-bb/plugin-sdk:build:types: > @get-bb/plugin-sdk@0.6.16 build:types /base/packages/plugin-sdk @get-bb/plugin-sdk:build:types: > node scripts/build-bundled-dts.mjs @get-bb/plugin-sdk:build:types: @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-environment-provider.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-machine-provider.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-app.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-host.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-view.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-file-navigation-validation.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-host-policy.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing-app.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing-host.d.ts bb-plugin-provider-codex:typecheck: cache miss, executing f681f9cf316b5ff8 @get-bb/plugin-sdk:build: cache hit, replaying logs 5b443d8a22226f34 @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.16 build /base/packages/plugin-sdk @get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: Built 19 @get-bb/plugin-sdk runtime entries. bb-plugin-provider-codex:typecheck: bb-plugin-provider-codex:typecheck: > bb-plugin-provider-codex@0.1.0 typecheck /base/plugins/provider-codex bb-plugin-provider-codex:typecheck: > tsc --noEmit bb-plugin-provider-codex:typecheck: //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules /base //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: bb-plugin-provider-codex:lint: bb-plugin-provider-codex:lint: > bb-plugin-provider-codex@0.1.0 lint /base/plugins/provider-codex bb-plugin-provider-codex:lint: > oxlint --ignore-pattern node_modules --ignore-pattern dist . bb-plugin-provider-codex:lint: bb-plugin-provider-codex:test: cache miss, executing 00c0f373c08df5d7 bb-plugin-provider-codex:test: bb-plugin-provider-codex:test: > bb-plugin-provider-codex@0.1.0 test /base/plugins/provider-codex bb-plugin-provider-codex:test: > vitest run --config vitest.config.ts bb-plugin-provider-codex:test: bb-plugin-provider-codex:lint: Found 0 warnings and 0 errors. bb-plugin-provider-codex:lint: Finished in 402ms on 297 files with 21 rules using 20 threads. bb-plugin-provider-codex:test: bb-plugin-provider-codex:test: RUN v4.1.1 /base/plugins/provider-codex bb-plugin-provider-codex:test: bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/native-roots.test.ts (10 tests) 887ms bb-plugin-provider-codex:test: ✓ drops only the roots of a plugin whose name cannot be a name prefix 361ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/interactive-requests.test.ts (19 tests) 21ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/models.test.ts (12 tests) 10ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/presentation.test.ts (17 tests) 23ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/delta-translation.test.ts (65 tests) 61ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.calibration.test.ts (1 test) 209ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.resume-usage-replay.test.ts (2 tests) 234ms bb-plugin-provider-codex:test: codex rollout is not ready; retrying rename in 50ms. bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/translator.test.ts (41 tests) 1451ms bb-plugin-provider-codex:test: codex rollout is not ready; retrying rename in 200ms. bb-plugin-provider-codex:test: ✓ binds each construction's roots to its own accepted provider thread id 1092ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/usage-source.test.ts (3 tests) 90ms bb-plugin-provider-codex:test: codex rollout is not ready; retrying rename in 50ms. bb-plugin-provider-codex:test: codex rollout is not ready; retrying rename in 200ms. bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.recovery.test.ts (3 tests) 2104ms bb-plugin-provider-codex:test: ✓ raises authRequired on a terminal 401 and rebuilds the child before the next turn 538ms bb-plugin-provider-codex:test: ✓ retries a rename inside the bridge while the rollout is not ready 948ms bb-plugin-provider-codex:test: ✓ fails a rename with a plain error once the ladder is exhausted 616ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/pending-interaction-normalization.test.ts (2 tests) 8ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/ai-service.test.ts (5 tests) 22ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/provider-maintenance.test.ts (13 tests) 3913ms bb-plugin-provider-codex:test: ✓ checks local compatibility without update discovery: 0.140.0 / thread_rewind 417ms bb-plugin-provider-codex:test: ✓ reports unauthenticated when auth.json is missing 354ms bb-plugin-provider-codex:test: ✓ reports expired when the ChatGPT access token has passed its exp 1020ms bb-plugin-provider-codex:test: ✓ treats API-key auth as ready with no subscription usage to report 429ms bb-plugin-provider-codex:test: ✓ surfaces an auth.json that is not JSON as unknown health, not as unauthenticated 565ms bb-plugin-provider-codex:test: ✓ fetches usage with the ChatGPT token and retries once through a Cloudflare challenge 489ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.child-exit-delegation.test.ts (1 test) 171ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/ai/codex-auth.test.ts (3 tests) 278ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.native-question.test.ts (3 tests) 1631ms bb-plugin-provider-codex:test: ✓ routes a Codex question with true blocking and false cancellation 718ms bb-plugin-provider-codex:test: ✓ routes a Codex question with false blocking and false cancellation 636ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/hook-notifications.test.ts (9 tests) 13ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/translator.turn-response.test.ts (3 tests) 12ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/session-params.test.ts (31 tests) 4882ms bb-plugin-provider-codex:test: ✓ rejects symlinked workspace .git files 419ms bb-plugin-provider-codex:test: ✓ skips linked worktree ref/log roots for unsafe HEAD ref: 'absolute path' 538ms bb-plugin-provider-codex:test: ✓ skips linked worktree ref/log roots for unsafe HEAD ref: 'empty path segment' 762ms bb-plugin-provider-codex:test: ✓ includes branch ref roots for detached HEAD so later branch commits can update refs 494ms bb-plugin-provider-codex:test: ✓ rejects linked worktree git roots for 'missing commondir' 555ms bb-plugin-provider-codex:test: ✓ rejects linked worktree git roots for 'empty commondir' 497ms bb-plugin-provider-codex:test: ✓ rejects linked worktree git roots when worktrees symlink escapes common dir 307ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/app-server-launch.test.ts (6 tests) 6ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.archived-resume.test.ts (2 tests) 858ms bb-plugin-provider-codex:test: ✓ preserves the archived-session error text verbatim on a rejected resume 378ms bb-plugin-provider-codex:test: ✓ attaches the sessionArchived hint to a fork whose source is archived 479ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.model-list.test.ts (3 tests) 378ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/ai/chatgpt-client.test.ts (23 tests) 4981ms bb-plugin-provider-codex:test: ✓ returns text and cancels an open SSE body after 'response.completed' with final text '''' 326ms bb-plugin-provider-codex:test: ✓ returns text and cancels an open SSE body after '[DONE]' with final text '''' 532ms bb-plugin-provider-codex:test: ✓ rejects an empty open SSE body after [DONE] without waiting for EOF 505ms bb-plugin-provider-codex:test: ✓ uses Codex auth read-only without refreshing expired-looking access tokens 519ms bb-plugin-provider-codex:test: ✓ rejects oversized Codex SSE responses 443ms bb-plugin-provider-codex:test: ✓ transcribes voice with Codex API key auth from ~/.codex/auth.json 329ms bb-plugin-provider-codex:test: ✓ rejects oversized Codex transcription responses 306ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.resume-hydration.test.ts (1 test) 552ms bb-plugin-provider-codex:test: ✓ excludes turn history when it resumes a Codex thread 551ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.conformance.test.ts (1 test) 1325ms bb-plugin-provider-codex:test: ✓ passes the canonical protocol suite against supervised fake app-server children 1324ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/app-server-connection.test.ts (7 tests) 5902ms bb-plugin-provider-codex:test: ✓ forces termination when a provider ignores stdin shutdown and SIGTERM 4068ms bb-plugin-provider-codex:test: ✓ offers SIGTERM cleanup when a provider does not exit on EOF 1043ms bb-plugin-provider-codex:test: ✓ preserves final output and exit details while stdio drains 335ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.archived-rebuild.test.ts (2 tests) 5200ms bb-plugin-provider-codex:test: ✓ keeps the thread resumable when a settings-change rebuild hits an externally archived rollout 3319ms bb-plugin-provider-codex:test: ✓ keeps the thread resumable when the rebuild after the child died hits an externally archived rollout 1879ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.archive-idempotency.test.ts (3 tests) 2598ms bb-plugin-provider-codex:test: ✓ finishes each app-server handoff before acknowledging archive and unarchive 507ms bb-plugin-provider-codex:test: ✓ answers a repeated archive and a repeated unarchive as already done 1711ms bb-plugin-provider-codex:test: ✓ keeps a discard of an already-archived rollout as a failure 379ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.session-signature.test.ts (9 tests) 6382ms bb-plugin-provider-codex:test: ✓ keeps the constructed session for a turn whose options carry no envVars 540ms bb-plugin-provider-codex:test: ✓ keeps an auto-reviewed session when only escalation intent changes 1458ms bb-plugin-provider-codex:test: ✓ clears Fast for the next turn without replacing the session 1326ms bb-plugin-provider-codex:test: ✓ sends an explicit default reset when constructing a fork session 638ms bb-plugin-provider-codex:test: ✓ applies 'workspaceWrite' before steering (start response pending: false) 854ms bb-plugin-provider-codex:test: ✓ applies 'workspaceWrite' before steering (start response pending: true) 683ms bb-plugin-provider-codex:test: ✓ applies 'dangerFullAccess' before steering (start response pending: false) 490ms bb-plugin-provider-codex:test: codex thread/resume found an active rollout writer; retrying in 100ms (1/3). bb-plugin-provider-codex:test: codex thread/resume found an active rollout writer; retrying in 400ms (2/3). bb-plugin-provider-codex:test: codex thread/resume found an active rollout writer; retrying in 1000ms (3/3). bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.rate-limit-recovery.test.ts (11 tests) 9111ms bb-plugin-provider-codex:test: ✓ keeps quota ahead of failure and reads only missing failure metadata (native) 551ms bb-plugin-provider-codex:test: ✓ keeps quota ahead of failure and reads only missing failure metadata (recover) 1499ms bb-plugin-provider-codex:test: ✓ keeps quota ahead of failure and reads only missing failure metadata (error) 1054ms bb-plugin-provider-codex:test: ✓ keeps quota ahead of failure and reads only missing failure metadata (timeout) 5343ms bb-plugin-provider-codex:test: codex thread/resume found an active rollout writer; retrying in 100ms (1/3). bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.writer-lock.test.ts (7 tests) 11468ms bb-plugin-provider-codex:test: ✓ waits for the previous writer before resuming during a settings rebuild 2986ms bb-plugin-provider-codex:test: ✓ finishes releasing the writer before acknowledging thread stop 2211ms bb-plugin-provider-codex:test: ✓ does not install a replacement after a concurrent release is acknowledged 1086ms bb-plugin-provider-codex:test: ✓ does not install a replacement after concurrent discard maintenance settles 640ms bb-plugin-provider-codex:test: ✓ retries a resume while another Codex process is releasing the writer 728ms bb-plugin-provider-codex:test: ✓ exhausts its retries on persistent writer contention and resumes after the owner closes 2685ms bb-plugin-provider-codex:test: ✓ stops a pending writer retry without starting a replacement 1130ms bb-plugin-provider-codex:test: ✓ |bb-plugin-provider-codex| src/bridge/bridge.zero-work-turn.test.ts (23 tests) 14216ms bb-plugin-provider-codex:test: ✓ settles a prompt the app-server accepts without any turn activity 337ms bb-plugin-provider-codex:test: ✓ keeps one lifecycle when turn/started lags the turn/start response past the grace window 923ms bb-plugin-provider-codex:test: ✓ interrupts a response-opened turn once codex reports it started 410ms bb-plugin-provider-codex:test: ✓ waits for a compaction turn that starts long after the empty compact response 1081ms bb-plugin-provider-codex:test: ✓ settles a compaction when codex reports the thread idle without starting a turn 491ms bb-plugin-provider-codex:test: ✓ fails a compaction when the app-server exits before its turn starts 505ms bb-plugin-provider-codex:test: ✓ does not retry an unrelated interrupt rejection -32603 'interrupt storage failure' 460ms bb-plugin-provider-codex:test: ✓ does not retry an unrelated interrupt rejection -32603 'no active turn to interrupt' 841ms bb-plugin-provider-codex:test: ✓ settles compaction on idle-before-response 484ms bb-plugin-provider-codex:test: ✓ settles compaction on error-before-response 489ms bb-plugin-provider-codex:test: ✓ settles compaction on error-without-turn 473ms bb-plugin-provider-codex:test: ✓ bounds interrupt retry for 'native activation before stop' 537ms bb-plugin-provider-codex:test: ✓ bounds interrupt retry for 'second rejection' 460ms bb-plugin-provider-codex:test: ✓ bounds interrupt retry for 'activation timeout' 5133ms bb-plugin-provider-codex:test: ✓ binds delayed tool work to the accepted request on consecutive turns 792ms bb-plugin-provider-codex:test: bb-plugin-provider-codex:test: Test Files 32 passed (32) bb-plugin-provider-codex:test: Tests 341 passed (341) bb-plugin-provider-codex:test: Start at 23:34:59 bb-plugin-provider-codex:test: Duration 17.74s (transform 53.18s, setup 0ms, import 75.85s, tests 79.00s, environment 2ms) bb-plugin-provider-codex:test: Tasks: 9 successful, 9 total Cached: 5 cached, 9 total Time: 19.249s