• turbo 2.10.12 • Packages in scope: @bb/app • Running test in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 453d9ea1d1fe5845 @bb/templates:generate:plugin-scaffold: cache hit, replaying logs 35c0d5f229611734 @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/templates:generate:templates: cache hit, replaying logs ab30781d8997afd1 @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/plugin-build:generate: cache hit, replaying logs a82918370508c493 @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate @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: plugin-theme.generated.ts up to date @bb/plugin-build:generate: wrote (react@19.2.4) //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/app:test: cache miss, executing 9fb70beffa795627 @bb/app:test: @bb/app:test: > @bb/app@0.0.1 test @bb/app:test: > node scripts/generate-pwa-icons.mjs --check && vitest run --config vitest.config.ts "useThreadCreationOptions.test.tsx" @bb/app:test: @bb/app:test: @bb/app:test: RUN v4.1.1 @bb/app:test: @bb/app:test: ❯ |@bb/app:isolated| src/hooks/useThreadCreationOptions.test.tsx (29 tests | 2 failed) 3756ms @bb/app:test: ✓ applies arriving project defaults ahead of remembered tab choices 91ms @bb/app:test: ✓ resets explicit provider choices when the project changes 66ms @bb/app:test: ✓ keeps the selected remembered provider branded while models load 3ms @bb/app:test: ✓ does not switch away from a provider when its failed plugin response arrives 66ms @bb/app:test: ✓ uses the medium product default for providers without reasoning history 116ms @bb/app:test: × persists the reconciled reasoning level when switching to a shorter model ladder 1097ms @bb/app:test: ✓ applies a fork provider, model, and reasoning seed atomically 66ms @bb/app:test: ✓ migrates legacy model preferences without leaking them to another provider 132ms @bb/app:test: ✓ restores each provider's model and reasoning selection 147ms @bb/app:test: ✓ refreshes untouched Fast defaults but preserves an unsent choice until thread reset 63ms @bb/app:test: ✓ keeps provider selections local in component-local composers 126ms @bb/app:test: ✓ preserves a model's nested provider route for the picker 74ms @bb/app:test: × routes root-composer provider discovery through the selected project host 1007ms @bb/app:test: ✓ disables permission modes above the machine's permission limit 60ms @bb/app:test: ✓ uses the cached machine limit before the routed answer lands 11ms @bb/app:test: ✓ persists new-thread environment selection under the project key 2ms @bb/app:test: ✓ migrates a stored legacy worktree selection to the worktree provider 1ms @bb/app:test: ✓ routes a host-scoped component-local catalog by the environment's host 2ms @bb/app:test: ✓ re-routes to the host once the first probe's own roster declares host scope 66ms @bb/app:test: ✓ keeps a workspace-scoped component-local catalog routed by environment 7ms @bb/app:test: ✓ loads provider composer actions for environmentless component-local threads 69ms @bb/app:test: ✓ marks a definitive missing component-local model fallback as explicit 58ms @bb/app:test: ✓ overrides a stale project model default when creating a new thread 61ms @bb/app:test: ✓ keeps an existing model when provider discovery fails temporarily 64ms @bb/app:test: ✓ keeps a stored model through a cold-cache probe and recovers only once it lands 73ms @bb/app:test: ✓ preloads the account's real model ids so a preload-window pick survives 77ms @bb/app:test: ✓ lets the server resolve the catalog default when no selection exists 4ms @bb/app:test: ✓ latches the initial ready provider instead of resolving it again after a machine switch 134ms @bb/app:test: ✓ routes reusable root-composer worktrees through their environment 12ms @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/app:test: @bb/app:test: FAIL |@bb/app:isolated| src/hooks/useThreadCreationOptions.test.tsx > useThreadCreationOptions > persists the reconciled reasoning level when switching to a shorter model ladder @bb/app:test: AssertionError: expected 'max' to be 'high' // Object.is equality @bb/app:test: @bb/app:test: Ignored nodes: comments, script, style @bb/app:test: @bb/app:test: @bb/app:test: @bb/app:test:
@bb/app:test: @bb/app:test: ... @bb/app:test: @bb/app:test: Expected: "high" @bb/app:test: Received: "max" @bb/app:test: @bb/app:test: ❯ src/hooks/useThreadCreationOptions.test.tsx:532:45 @bb/app:test: 530| @bb/app:test: 531| await waitFor(() => { @bb/app:test: 532| expect(result.current.reasoningLevel).toBe("high"); @bb/app:test: | ^ @bb/app:test: 533| }); @bb/app:test: 534| }); @bb/app:test: ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:47:12 @bb/app:test: ❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:124:77 @bb/app:test: ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:118:16 @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ @bb/app:test: @bb/app:test: FAIL |@bb/app:isolated| src/hooks/useThreadCreationOptions.test.tsx > useThreadCreationOptions > routes root-composer provider discovery through the selected project host @bb/app:test: AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ] @bb/app:test: @bb/app:test: Received: @bb/app:test: @bb/app:test: 1st vi.fn() call: @bb/app:test: @bb/app:test: [ @bb/app:test: - ObjectContaining { @bb/app:test: + { @bb/app:test: "environmentId": undefined, @bb/app:test: "hostId": "project-host", @bb/app:test: - "providerId": "global-provider", @bb/app:test: + "providerId": "initial-provider", @bb/app:test: + "signal": AbortSignal { @bb/app:test: + Symbol(kEvents): Map {}, @bb/app:test: + Symbol(events.maxEventTargetListeners): 0, @bb/app:test: + Symbol(events.maxEventTargetListenersWarned): false, @bb/app:test: + Symbol(kHandlers): Map {}, @bb/app:test: + Symbol(kAborted): false, @bb/app:test: + Symbol(kReason): undefined, @bb/app:test: + Symbol(kComposite): false, @bb/app:test: + }, @bb/app:test: }, @bb/app:test: ] @bb/app:test: @bb/app:test: @bb/app:test: Number of calls: 1 @bb/app:test: @bb/app:test: @bb/app:test: Ignored nodes: comments, script, style @bb/app:test: @bb/app:test: @bb/app:test: @bb/app:test:
@bb/app:test: @bb/app:test: ... @bb/app:test: ❯ src/hooks/useThreadCreationOptions.test.tsx:835:43 @bb/app:test: @bb/app:test: Test Files 1 failed (1) @bb/app:test: Tests 2 failed | 27 passed (29) @bb/app:test: 833| @bb/app:test: Start at 12:55:28 @bb/app:test: 834| await waitFor(() => { @bb/app:test: Duration 9.66s (transform 3.69s, setup 371ms, import 4.45s, tests 3.76s, environment 773ms) @bb/app:test: 835| expect(sdk.system.executionOptions).toHaveBeenCalledWith( @bb/app:test: | ^ @bb/app:test: 836| expect.objectContaining({ @bb/app:test: 837| environmentId: undefined, @bb/app:test: ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:47:12 @bb/app:test: ❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:124:77 @bb/app:test: ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/wait-for.js:118:16 @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ @bb/app:test: @bb/app:test: @bb/app:test:  ELIFECYCLE  Test failed. See above for more details. @bb/app#test: ERROR command () pnpm run test useThreadCreationOptions.test.tsx exited (1) Tasks: 4 successful, 5 total Cached: 3 cached, 5 total Time: 13.055s Failed: @bb/app#test ERROR run failed: command exited (1)