• 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 f8d440d1d83f86e6 @bb/process-utils:generate:profile-worker: cache hit, replaying logs 4152dbcdebd77671 @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/templates:generate:plugin-scaffold: cache hit, replaying logs 7d8b595e83d184f1 @bb/templates:generate:plugin-scaffold: @bb/templates:generate:templates: cache hit, replaying logs 660e2a42186fee2f @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/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 ea59dcbae9c1284b @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.0) //: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 9e43cbc0073dcf91 @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/views/thread-detail/ThreadDetailPromptArea.test.tsx" @bb/app:test: @bb/app:test: @bb/app:test: RUN v4.1.1 /apps/app @bb/app:test: @bb/app:test: ❯ |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx (69 tests | 12 failed) 3090ms @bb/app:test: × serializes ordinary then ordinary without losing edits 197ms @bb/app:test: × serializes ordinary then modifier without losing edits 37ms @bb/app:test: × serializes modifier then ordinary without losing edits 36ms @bb/app:test: × serializes modifier then modifier without losing edits 26ms @bb/app:test: × serializes ordinary then ordinary without losing edits 53ms @bb/app:test: × serializes ordinary then modifier without losing edits 48ms @bb/app:test: × serializes modifier then ordinary without losing edits 46ms @bb/app:test: × serializes modifier then modifier without losing edits 42ms @bb/app:test: × serializes ordinary then ordinary without losing edits 54ms @bb/app:test: × serializes ordinary then modifier without losing edits 55ms @bb/app:test: × serializes modifier then ordinary without losing edits 55ms @bb/app:test: × serializes modifier then modifier without losing edits 55ms @bb/app:test: ✓ allows a different thread to submit while one scope is pending 37ms @bb/app:test: ✓ hides execution for a removed machine even when the environment still exists 5ms @bb/app:test: ✓ hides execution for a removing machine even when the environment still exists 5ms @bb/app:test: ✓ hides execution for a cleanup-failed machine even when the environment still exists 4ms @bb/app:test: ✓ renders for a thread with an environment even when it has no environment label 4ms @bb/app:test: ✓ shows no environment row for an errored thread with no environment 4ms @bb/app:test: ✓ offers no agent options menu for a thread whose agent reports none 15ms @bb/app:test: ✓ saves a choice on the thread and shows it at once, then returns to the agent's value if the save fails 148ms @bb/app:test: ✓ keeps the mode in the footer and moves every other option into the model picker 79ms @bb/app:test: ✓ shows no footer menu when the agent reports only picker options 15ms @bb/app:test: ✓ sends plugin data through the send endpoint while Enter queues 18ms @bb/app:test: ✓ lets the server decide whether an Enter submitted while the thread looks busy queues 16ms @bb/app:test: ✓ steers with sendAt and plugin data from the modifier action 17ms @bb/app:test: ✓ refuses sendAt when the modifier action would steer the next queued message 19ms @bb/app:test: ✓ preserves the reasoning preference on follow-ups when the selected model's levels are unknown 17ms @bb/app:test: ✓ preserves plugin submission data through a follow-up composer 15ms @bb/app:test: ✓ shows queued work while its message details are loading 11ms @bb/app:test: ✓ keeps sent-message edit submission out of the normal send path 47ms @bb/app:test: ✓ allows a staged sent-message edit while another message is queued 18ms @bb/app:test: ✓ keeps the queued drawer adjacent to the bottom composer 5ms @bb/app:test: ✓ sends the next queued message with the modifier shortcut after a stopped thread becomes idle 24ms @bb/app:test: ✓ steers a queued row once a provisioning thread is ready 20ms @bb/app:test: ✓ uses the real thread cache keys immediately 6ms @bb/app:test: ✓ binds the normal plugin composer host to the rendered pane thread 16ms @bb/app:test: ✓ updates an inline-edited queue item without touching the bottom draft 69ms @bb/app:test: ✓ exposes the inline queued draft to plugins without dropping attachments 48ms @bb/app:test: ✓ keeps back-to-back plugin updates in the active queued draft 36ms @bb/app:test: ✓ renders text effects only for the active queued edit session 70ms @bb/app:test: ✓ ignores a stale plugin write after the queued edit changes 52ms @bb/app:test: ✓ keeps queued execution and commands source-locked during a bottom handoff 62ms @bb/app:test: ✓ dismisses an inline edit when its thread changes or its live row disappears 61ms @bb/app:test: ✓ does not attach a delayed queued upload to a later edit or the bottom draft 71ms @bb/app:test: ✓ keeps a delayed bottom upload owned by the bottom draft 42ms @bb/app:test: ✓ dismisses a missing queued message but keeps a stale edit recoverable 91ms @bb/app:test: ✓ auto-collapses concurrently running workflows into a stack that expands to independently expandable cards 56ms @bb/app:test: ✓ re-collapses the workflow stack after the running count drops below two 49ms @bb/app:test: ✓ keeps the same child threads banner while the parent asks and answers its own question 10ms @bb/app:test: ✓ keeps Goal above a pending interaction 4ms @bb/app:test: ✓ keeps plugin banners mounted while pending interaction suspends editor regions 20ms @bb/app:test: ✓ wires the Plan exit action to the current thread 17ms @bb/app:test: ✓ wires the Goal clear action to the current thread 20ms @bb/app:test: ✓ keeps independent Plan and Goal banners above a pending interaction 5ms @bb/app:test: ✓ selects the provider fallback model for the next turn 7ms @bb/app:test: ✓ pins a snapshot-policy composer to the thread's permission mode 66ms @bb/app:test: ✓ starts a handoff when a plugin sets another provider, and drops the fields a thread has no picker for 80ms @bb/app:test: ✓ sets a same-provider model in place without starting a handoff 64ms @bb/app:test: ✓ gives the queued-message editor no pickers to set 30ms @bb/app:test: ✓ creates a new thread with a changed model from the same provider 26ms @bb/app:test: ✓ creates a same-provider handoff with unchanged execution marked explicit 26ms @bb/app:test: ✓ marks a supported handoff service tier explicit 29ms @bb/app:test: ✓ exits a same-provider handoff and preserves draft edits 46ms @bb/app:test: ✓ Switch provider prepares a handoff and restores the draft on return 33ms @bb/app:test: ✓ Complete handoff flow prepares a handoff and restores the draft on return 27ms @bb/app:test: ✓ shows destination permissions instead of the source active Plan mode 43ms @bb/app:test: ✓ keeps the destination model after a source fallback (scheduled: false) 31ms @bb/app:test: ✓ keeps the destination model after a source fallback (scheduled: true) 30ms @bb/app:test: ✓ creates a new thread from the draft as typed and navigates to it 78ms @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯ Failed Tests 12 ⎯⎯⎯⎯⎯⎯⎯ @bb/app:test: @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > same callback > serializes ordinary then ordinary without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > same callback > serializes ordinary then modifier without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > same callback > serializes modifier then ordinary without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > same callback > serializes modifier then modifier without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > remount > serializes ordinary then ordinary without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > remount > serializes ordinary then modifier without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > remount > serializes modifier then ordinary without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > remount > serializes modifier then modifier without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > sibling > serializes ordinary then ordinary without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > sibling > serializes ordinary then modifier without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > sibling > serializes modifier then ordinary without losing edits @bb/app:test: FAIL |@bb/app:isolated| src/views/thread-detail/ThreadDetailPromptArea.test.tsx > shared draft submission ownership > sibling > serializes modifier then modifier without losing edits @bb/app:test: AssertionError: expected { requests: 2, draft: { …(3) } } to deeply equal { requests: 1, draft: { …(3) } } @bb/app:test: @bb/app:test: - Expected @bb/app:test: + Received @bb/app:test: @bb/app:test: @@ -6,9 +6,9 @@ @bb/app:test: "path": "uploads/first.txt", @bb/app:test: "type": "localFile", @bb/app:test: }, @bb/app:test: ], @bb/app:test: "mentions": [], @bb/app:test: - "text": "edited while pending", @bb/app:test: + "text": "first message", @bb/app:test: }, @bb/app:test: - "requests": 1, @bb/app:test: + "requests": 2, @bb/app:test: } @bb/app:test: @bb/app:test: ❯ src/views/thread-detail/ThreadDetailPromptArea.test.tsx:329:64 @bb/app:test: @bb/app:test: Test Files 1 failed (1) @bb/app:test: Tests 12 failed | 57 passed (69) @bb/app:test: Start at 08:07:01 @bb/app:test: Duration 8.37s (transform 2.89s, setup 203ms, import 3.45s, tests 3.09s, environment 775ms) @bb/app:test: 327| }); @bb/app:test: 328| } @bb/app:test: @bb/app:test: 329| expect({ requests: calls, draft: draft.getCurrent() }).toEqual… @bb/app:test: | ^ @bb/app:test: 330| requests: 1, @bb/app:test: 331| draft: newer, @bb/app:test: @bb/app:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/12]⎯ @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/views/thread-detail/ThreadDetailPromptArea.test.tsx exited (1) Tasks: 5 successful, 6 total Cached: 4 cached, 6 total Time: 12.121s Failed: @bb/app#test ERROR run failed: command exited (1)