• turbo 2.10.12 • Packages in scope: @bb/desktop • Running test in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 771a772d511be5ee @bb/templates:generate:plugin-scaffold: cache hit, replaying logs 1978abd28ac74095 @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 8e63c01da1742258 @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: //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/desktop:test: cache miss, executing 9c356395e037989d @bb/desktop:test: @bb/desktop:test: > @bb/desktop@0.43.1 test /apps/desktop @bb/desktop:test: > vitest run --config vitest.config.ts "desktop-browser-view-manager.test.ts" "-t" "tolerates a missing guest" @bb/desktop:test: @bb/desktop:test: @bb/desktop:test: RUN v4.1.1 /apps/desktop @bb/desktop:test: @bb/desktop:test: ❯ |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts (65 tests | 3 failed | 62 skipped) 12ms @bb/desktop:test: ↓ requests frames only while a native screenshot is pending: complete @bb/desktop:test: ↓ requests frames only while a native screenshot is pending: timeout @bb/desktop:test: ↓ blocks commands when initialization encounters failure @bb/desktop:test: ↓ blocks commands when initialization encounters cancel @bb/desktop:test: ↓ blocks commands when initialization encounters reattach @bb/desktop:test: ↓ retains live wrappers while hidden and stops exposing removed targets @bb/desktop:test: ↓ validates debugger JSON and forwards native child session IDs @bb/desktop:test: ↓ rejects another debugger controller and invalidates commands across detach and reattach @bb/desktop:test: ↓ shares the initial render barrier without reordering pointer commands @bb/desktop:test: ↓ rejects buffered input after navigation changes the page @bb/desktop:test: ↓ rejects buffered input after reattach changes the page @bb/desktop:test: ↓ retries a failed render capture before dispatching later input @bb/desktop:test: ↓ cancels one session's buffered pointer without cancelling another session's input @bb/desktop:test: ↓ routes lifecycle callbacks only for registered scoped tabs and forwards manager notifications @bb/desktop:test: ↓ preserves same-server reconnect tabs but clears them before a different server registration (local daemon) @bb/desktop:test: ↓ preserves same-server reconnect tabs but clears them before a different server registration (enrolled daemon) @bb/desktop:test: ↓ captures an unpainted hidden page without detaching another controller @bb/desktop:test: ↓ requests reveal without activating the window for pages created through a controlled CDP connection @bb/desktop:test: ↓ revokes native debugger control synchronously on takeover and fences reconnect generations @bb/desktop:test: ↓ creates hidden automation tabs in isolated hardened profiles and preserves them on presentation attach @bb/desktop:test: ↓ captures bounded hidden pages without focus and rejects a removed target during capture @bb/desktop:test: ↓ initiates a new blank page load before announcing the automation target @bb/desktop:test: ↓ preserves background navigation when revealing a tab with a stale persisted URL @bb/desktop:test: ↓ rejects a different thread reattaching the same native tab without mutating it @bb/desktop:test: ↓ discovers hidden live tabs only in the requested window and thread @bb/desktop:test: ↓ notifies subscribers of native creation and hidden navigation until unsubscribed @bb/desktop:test: × tolerates a missing guest during visibility 9ms @bb/desktop:test: × tolerates a missing guest during destroyed 1ms @bb/desktop:test: × tolerates a missing guest during detach 1ms @bb/desktop:test: ↓ notifies once after removing a native target through detach @bb/desktop:test: ↓ notifies once after removing a native target through releaseWindow @bb/desktop:test: ↓ notifies once after removing a native target through destroyAll @bb/desktop:test: ↓ notifies once after removing a native target through destroyed @bb/desktop:test: ↓ forwards resolved browser shortcuts and suppresses the untrusted page @bb/desktop:test: ↓ takes host focus for the find command so the find bar can receive typing @bb/desktop:test: ↓ drives webContents find-in-page and relays results to the host renderer @bb/desktop:test: ↓ relays only results of the latest find request and none after stop @bb/desktop:test: ↓ surfaces a loopback popup as an in-panel tab, never a native window @bb/desktop:test: ↓ surfaces public popups with their source browser tab id @bb/desktop:test: ↓ keeps noopener blank links in the browser panel @bb/desktop:test: ↓ opens popup dispositions in a hardened native window @bb/desktop:test: ↓ loads the URL itself when Electron supplies no child webContents @bb/desktop:test: ↓ supports blank-first OAuth navigation with secure remote URLs @bb/desktop:test: ↓ caps live native popups across successive rate windows @bb/desktop:test: ↓ snapshots then hides visible views on resize, revealing them clamped to the shrunken window @bb/desktop:test: ↓ drops a capture that resolves after the resize burst already ended @bb/desktop:test: ↓ never grows a view past its renderer-desired rect on a native window grow @bb/desktop:test: ↓ applies renderer pushes that land mid-resize on the reveal @bb/desktop:test: ↓ defers renderer visibility changes made during a resize burst to the reveal @bb/desktop:test: ↓ keeps hidden views hidden and untouched across a resize burst @bb/desktop:test: ↓ focuses a freshly-attached active tab so Cmd+C targets its webContents @bb/desktop:test: ↓ reports user focus but suppresses programmatic focus used for restoration @bb/desktop:test: ↓ defers hidden memory-eviction recovery until the panel shows the current page @bb/desktop:test: ↓ stops automatic recovery after two repeated renderer crashes @bb/desktop:test: ↓ does not automatically retry a launch-failed renderer failure @bb/desktop:test: ↓ does not automatically retry a integrity-failure renderer failure @bb/desktop:test: ↓ resets the renderer recovery limit after a page finishes loading @bb/desktop:test: ↓ does not focus a freshly-attached inactive tab @bb/desktop:test: ↓ focuses on a real hidden → visible setVisible transition only once @bb/desktop:test: ↓ re-focuses after a hide → show cycle @bb/desktop:test: ↓ does not let an unfocused split view steal focus on mount or restore @bb/desktop:test: ↓ shows a browser beside a focused non-browser pane without stealing focus @bb/desktop:test: ↓ lets logical focus override first-visible mount order @bb/desktop:test: ↓ hides only the reloading window's browser views until they reattach @bb/desktop:test: ↓ allows clipboard-sanitized-write but denies clipboard-read and device permissions @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯ @bb/desktop:test: @bb/desktop:test: FAIL |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts > DesktopBrowserViewManager > tolerates a missing guest during visibility @bb/desktop:test: FAIL |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts > DesktopBrowserViewManager > tolerates a missing guest during destroyed @bb/desktop:test: FAIL |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts > DesktopBrowserViewManager > tolerates a missing guest during detach @bb/desktop:test: AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown @bb/desktop:test: @bb/desktop:test: - Expected: @bb/desktop:test: undefined @bb/desktop:test: @bb/desktop:test: + Received: @bb/desktop:test: "TypeError: Cannot read properties of undefined (reading 'isDestroyed')" @bb/desktop:test: @bb/desktop:test: ❯ test/desktop-browser-view-manager.test.ts:2152:14 @bb/desktop:test: 2150| manager.detach({ hostWindow, tabId: "browser:a" }); @bb/desktop:test: 2151| } @bb/desktop:test: 2152| }).not.toThrow(); @bb/desktop:test: | ^ @bb/desktop:test: 2153| manager.destroyAll(); @bb/desktop:test: 2154| }, @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯ @bb/desktop:test: @bb/desktop:test: @bb/desktop:test: Test Files 1 failed (1) @bb/desktop:test: Tests 3 failed | 62 skipped (65) @bb/desktop:test: Start at 15:10:14 @bb/desktop:test: Duration 776ms (transform 481ms, setup 0ms, import 670ms, tests 12ms, environment 0ms) @bb/desktop:test: @bb/desktop:test:  ELIFECYCLE  Test failed. See above for more details. @bb/desktop#test: ERROR command (/apps/desktop) /bin/pnpm run test desktop-browser-view-manager.test.ts -t tolerates a missing guest exited (1) Tasks: 3 successful, 4 total Cached: 2 cached, 4 total Time: 1.752s Failed: @bb/desktop#test ERROR run failed: command exited (1)