• 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 bypass, force executing 35c0d5f229611734 @bb/templates:generate:templates: cache bypass, force executing ab30781d8997afd1 @bb/plugin-build:generate: cache bypass, force executing a82918370508c493 @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: //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @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: @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) @bb/app:test: cache bypass, force executing 36d064d985a0fbb9 @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 (28 tests | 1 failed) 2610ms @bb/app:test: × applies arriving project defaults ahead of remembered tab choices 1104ms @bb/app:test: ✓ keeps the selected remembered provider branded while models load 6ms @bb/app:test: ✓ does not switch away from a provider when its failed plugin response arrives 55ms @bb/app:test: ✓ uses the medium product default for providers without reasoning history 112ms @bb/app:test: ✓ persists the reconciled reasoning level when switching to a shorter model ladder 60ms @bb/app:test: ✓ applies a fork provider, model, and reasoning seed atomically 67ms @bb/app:test: ✓ migrates legacy model preferences without leaking them to another provider 116ms @bb/app:test: ✓ restores each provider's model and reasoning selection 135ms @bb/app:test: ✓ refreshes untouched Fast defaults but preserves an unsent choice until thread reset 67ms @bb/app:test: ✓ keeps provider selections local in component-local composers 116ms @bb/app:test: ✓ preserves a model's nested provider route for the picker 63ms @bb/app:test: ✓ routes root-composer provider discovery through the selected project host 59ms @bb/app:test: ✓ disables permission modes above the machine's permission limit 71ms @bb/app:test: ✓ uses the cached machine limit before the routed answer lands 18ms @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 3ms @bb/app:test: ✓ re-routes to the host once the first probe's own roster declares host scope 57ms @bb/app:test: ✓ keeps a workspace-scoped component-local catalog routed by environment 6ms @bb/app:test: ✓ loads provider composer actions for environmentless component-local threads 59ms @bb/app:test: ✓ marks a definitive missing component-local model fallback as explicit 55ms @bb/app:test: ✓ overrides a stale project model default when creating a new thread 55ms @bb/app:test: ✓ keeps an existing model when provider discovery fails temporarily 59ms @bb/app:test: ✓ keeps a stored model through a cold-cache probe and recovers only once it lands 55ms @bb/app:test: ✓ preloads the account's real model ids so a preload-window pick survives 82ms @bb/app:test: ✓ lets the server resolve the catalog default when no selection exists 6ms @bb/app:test: ✓ latches the initial ready provider instead of resolving it again after a machine switch 113ms @bb/app:test: ✓ routes reusable root-composer worktrees through their environment 4ms @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ @bb/app:test: @bb/app:test: FAIL |@bb/app:isolated| src/hooks/useThreadCreationOptions.test.tsx > useThreadCreationOptions > applies arriving project defaults ahead of remembered tab choices @bb/app:test: AssertionError: expected 'global-provider' to be 'project-provider' // 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: "project-provider" @bb/app:test: Received: "global-provider" @bb/app:test: @bb/app:test: ❯ src/hooks/useThreadCreationOptions.test.tsx:311:49 @bb/app:test: @bb/app:test: Test Files 1 failed (1) @bb/app:test: Tests 1 failed | 27 passed (28) @bb/app:test: Start at 12:55:10 @bb/app:test: Duration 9.39s (transform 4.31s, setup 279ms, import 5.15s, tests 2.61s, environment 985ms) @bb/app:test: @bb/app:test: 309| rerender({ loaded: true }); @bb/app:test: 310| await waitFor(() => { @bb/app:test: 311| expect(result.current.selectedProviderId).toBe(PROJECT_PROVIDER_… @bb/app:test: | ^ @bb/app:test: 312| expect(result.current.selectedModel).toBe("project-model"); @bb/app:test: 313| }); @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/1]⎯ @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: 0 cached, 5 total Time: 15.52s Failed: @bb/app#test ERROR run failed: command exited (1)