• turbo 2.11.10 • Packages in scope: @bb/app • Running test in 1 package • Remote caching disabled //:ensure-native-modules: cache bypass, force executing 71b842e45b98a510 @bb/templates:generate:plugin-scaffold: cache hit, replaying logs e04278309f268b3e @bb/process-utils:generate:profile-worker: cache hit, replaying logs a10d09dc26fad98e @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker /packages/process-utils @bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs @bb/process-utils:generate:profile-worker: bb-plugin-bb-guide:generate:api-index: cache hit, replaying logs dab7b4f217392e77 @bb/templates:generate:templates: cache hit, replaying logs c829d945bec093ff bb-plugin-bb-guide:generate:api-index: bb-plugin-bb-guide:generate:api-index: > bb-plugin-bb-guide@0.1.0 generate:api-index /plugins/bb-guide bb-plugin-bb-guide:generate:api-index: > node ../../packages/plugin-sdk/scripts/generate-api-index.mjs skills/bb-plugin-authoring/references bb-plugin-bb-guide:generate:api-index: @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates /packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/plugin-build:generate: cache hit, replaying logs 5329d34fe0d72226 @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /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: plugin-theme.generated.ts up to date @bb/plugin-build:generate: host-tailwind.css up to date @bb/plugin-build:generate: host-tailwind-version.ts up to date @bb/plugin-build:generate: wrote /packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.1) //: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 aad1e67f3aeea933 @bb/app:test: @bb/app:test: > @bb/app@0.0.1 test /apps/app @bb/app:test: > node scripts/generate-pwa-icons.mjs --check && vitest run --config vitest.config.ts "src/components/thread/timeline/useThreadTimelineController.test.tsx" @bb/app:test: @bb/app:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: @bb/app:test: - `__dirname` (vitest.config.ts:31:38). Use `import.meta.dirname` instead @bb/app:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/app:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: @bb/app:test: - `__dirname` (vitest.config.ts:31:38). Use `import.meta.dirname` instead @bb/app:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/app:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: @bb/app:test: - `__dirname` (vitest.config.ts:31:38). Use `import.meta.dirname` instead @bb/app:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/app:test: @bb/app:test: RUN v4.1.12 /apps/app @bb/app:test: @bb/app:test: ❯ |@bb/app:isolated| src/components/thread/timeline/useThreadTimelineController.test.tsx (34 tests | 2 failed) 3053ms @bb/app:test: ✓ keeps the thread's loaded older pages when its timeline mounts again 71ms @bb/app:test: ✓ replaces loaded rows when realtime data starts a new context epoch 107ms @bb/app:test: ✓ discards an in-flight older page when a context reset changes the surface 109ms @bb/app:test: ✓ discards an in-flight older page when latest changes the history snapshot 109ms @bb/app:test: ✓ replaces loaded older rows when the finished turn display changes 107ms @bb/app:test: ✓ keeps older rows and applies an in-flight older page while realtime refreshes advance the snapshot 110ms @bb/app:test: ✓ keeps an initial timeline refetch in loading state instead of showing the previous error 110ms @bb/app:test: ✓ keeps an older page that resolves before a same-snapshot realtime update 109ms @bb/app:test: ✓ keeps an older page that resolves after a same-snapshot realtime update 109ms @bb/app:test: ✓ rejects a failed older page so the caller can offer a retry 57ms @bb/app:test: ✓ replaces an applied older page when a later realtime update changes the history snapshot 107ms @bb/app:test: ✓ adopts the refetched latest cursor after a stale older-page cursor 58ms @bb/app:test: ✓ keeps auto-loading when an older page settles before its loading state renders 108ms @bb/app:test: ✓ loads older history for a message link and reports a removed message as not found 55ms @bb/app:test: × reveals a message newer than the cached timeline after refreshing 1018ms @bb/app:test: × keeps a missing message link settled when later rows contain its target 62ms @bb/app:test: ✓ reveals an accepted steer from a link to its request seq 57ms @bb/app:test: ✓ retries revealing a searched row when a realtime update changes only top-level fields 56ms @bb/app:test: ✓ restarts auto-load with the new cursor after a discarded older page settles 161ms @bb/app:test: ✓ commits only for changed data when a refetch of a timeline with rows settles with 'structurally equal data' 6ms @bb/app:test: ✓ commits only for changed data when a refetch of a timeline with rows settles with 'new rows and top-level fields' 55ms @bb/app:test: ✓ commits only for changed data when a refetch of a timeline with rows settles with 'an error' 55ms @bb/app:test: ✓ keeps a loaded empty timeline out of the loading state while it refetches 57ms @bb/app:test: ✓ reads only query result properties covered by the notify lists 56ms @bb/app:test: ✓ commits once on mount with a cached timeline and shows its rows and cursor 3ms @bb/app:test: ✓ reports catching up while the mount refetch of a timeline with new events runs 7ms @bb/app:test: ✓ reports catching up when returning to a thread before another thread's fetch settles 60ms @bb/app:test: ✓ reports catching up when a hidden timeline with new events is enabled 3ms @bb/app:test: ✓ does not report catching up when a cached timeline is only stale by age 3ms @bb/app:test: ✓ does not report catching up for a timeline invalidated without unseen events 3ms @bb/app:test: ✓ keeps a timeline stale when a completed fetch does not include the known event 3ms @bb/app:test: ✓ clears unseen events once the catch-up fetch succeeds 53ms @bb/app:test: ✓ stops catching up when a push without row changes covers the unseen events 5ms @bb/app:test: ✓ starts catching up when unseen events arrive without a timeline change 3ms @bb/app:test: @bb/app:test: Test Files 1 failed (1) @bb/app:test: Tests 2 failed | 32 passed (34) @bb/app:test: Start at 14:28:13 @bb/app:test: Duration 15.61s (transform 10.73s, setup 696ms, import 10.94s, tests 3.05s, environment 574ms) @bb/app:test: @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/app:test: @bb/app:test: FAIL |@bb/app:isolated| src/components/thread/timeline/useThreadTimelineController.test.tsx > useThreadTimelineController > reveals a message newer than the cached timeline after refreshing @bb/app:test: AssertionError: expected true to be false // 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: @bb/app:test: @bb/app:test: - Expected @bb/app:test: + Received @bb/app:test: @bb/app:test: - false @bb/app:test: + true @bb/app:test: @bb/app:test: ❯ src/components/thread/timeline/useThreadTimelineController.test.tsx:1022:56 @bb/app:test: 1020| }); @bb/app:test: 1021| await waitFor(() => expect(result.current.rows).toContain(realtime… @bb/app:test: 1022| await waitFor(() => expect(result.current.pending).toBe(false)); @bb/app:test: | ^ @bb/app:test: 1023| expect(scrollIntoView).toHaveBeenCalledWith({ @bb/app:test: 1024| block: "start", @bb/app:test: ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/config.js:47:12 @bb/app:test: ❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.2/node_modules/@testing-library/dom/dist/wait-for.js:124:77 @bb/app:test: ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.2/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/components/thread/timeline/useThreadTimelineController.test.tsx > useThreadTimelineController > keeps a missing message link settled when later rows contain its target @bb/app:test: AssertionError: expected true to be false // Object.is equality @bb/app:test: @bb/app:test: - Expected @bb/app:test: + Received @bb/app:test: @bb/app:test: - false @bb/app:test: + true @bb/app:test: @bb/app:test: ❯ src/components/thread/timeline/useThreadTimelineController.test.tsx:1075:36 @bb/app:test: 1073| }); @bb/app:test: 1074| await waitFor(() => expect(result.current.rows).toContain(realtime… @bb/app:test: 1075| expect(result.current.pending).toBe(false); @bb/app:test: | ^ @bb/app:test: 1076| expect(toastSpy).toHaveBeenCalledOnce(); @bb/app:test: 1077| }); @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ @bb/app:test: @bb/app:test:  ELIFECYCLE  Test failed. See above for more details. @bb/app#test: ERROR command (/apps/app) /usr/local/bin/pnpm run test src/components/thread/timeline/useThreadTimelineController.test.tsx exited (1) Tasks: 6 successful, 7 total Cached: 5 cached, 7 total Time: 18.519s Failed: @bb/app#test ERROR run failed: command exited (1)