• turbo 2.11.10 • Packages in scope: @bb/desktop • Running test in 1 package • Remote caching disabled //:ensure-native-modules: cache bypass, force executing 857d2cc0a05070cb @bb/process-utils:generate:profile-worker: cache miss, executing 816046f4666230f0 @bb/templates:generate:plugin-scaffold: cache miss, executing 27e5adc4c966f2c3 @bb/templates:generate:templates: cache miss, executing 574fdcf8baf600b2 //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules CHECKOUT_A //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker CHECKOUT_A/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: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold CHECKOUT_A/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 CHECKOUT_A/packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: //:ensure-native-modules: [ensure-native-modules] Detached hardlinked better-sqlite3 binary before verification @bb/desktop:test: cache miss, executing fc0879da02e450bc @bb/desktop:test: @bb/desktop:test: > @bb/desktop@0.50.1 test CHECKOUT_A/apps/desktop @bb/desktop:test: > install-electron && vitest run --config vitest.config.ts "--testNamePattern=restores keyboard focus on pointer press" @bb/desktop:test: @bb/desktop: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/desktop:test: - ESM syntax in a file loaded as CommonJS (vitest.config.ts:1:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.json @bb/desktop:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/desktop: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/desktop:test: - ESM syntax in a file loaded as CommonJS (vitest.config.ts:1:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.json @bb/desktop:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/desktop: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/desktop:test: - ESM syntax in a file loaded as CommonJS (vitest.config.ts:1:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.json @bb/desktop:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/desktop:test: @bb/desktop:test: RUN v4.1.12 CHECKOUT_A/apps/desktop @bb/desktop:test: @bb/desktop:test: ↓ |@bb/desktop:isolated| test/preload-browser-api.test.ts (8 tests | 8 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-context-menu.test.ts (12 tests | 12 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-window-focus.test.ts (6 tests | 6 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-dialog-window.test.ts (5 tests | 5 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-attention.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-renderer-recovery.test.ts (10 tests | 10 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/application-url.test.ts (2 tests | 2 skipped) @bb/desktop:test: (node:4412) ExperimentalWarning: SQLite is an experimental feature and might change at any time @bb/desktop:test: (Use `node --trace-warnings ...` to show where the warning was created) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/owned-runtime-supervisor.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/connect-server-sync.test.ts (13 tests | 13 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/server-target.test.ts (15 tests | 15 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/server-target-persistence.test.ts (24 tests | 24 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-browser-broker-snapshots.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-browser-broker-import.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/connect-desktop-session.test.ts (13 tests | 13 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/connect-session-renewal.test.ts (8 tests | 8 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-browser-cdp.test.ts (18 tests | 18 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-browser-broker-client.test.ts (6 tests | 6 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-clipboard.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-update-check.test.ts (11 tests | 11 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/browser-import.test.ts (36 tests | 36 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-browser-main-ipc.test.ts (7 tests | 7 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/menu.test.ts (25 tests | 25 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-find-view.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/preload-build.test.ts (2 tests | 2 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-logger.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-window-factory.test.ts (24 tests | 24 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/connect-machine-enrollment.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/connect-credential-cache.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop:isolated| test/server-choice-ipc.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/remote-server-load.test.ts (5 tests | 5 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-version-feed.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/server-probe.test.ts (6 tests | 6 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-menu-shortcuts.test.ts (4 tests | 4 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-browser-shortcuts.test.ts (10 tests | 10 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/log-file-follower.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/app-paths.test.ts (5 tests | 5 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/browser-applications.test.ts (2 tests | 2 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/electron-builder-windows-config.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-shutdown.test.ts (2 tests | 2 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-system-config.test.ts (5 tests | 5 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/local-view.test.ts (5 tests | 5 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-update-info.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-browser-legacy-partitions.test.ts (2 tests | 2 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/packaged-app-launch.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-linux-window-options.test.ts (6 tests | 6 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-reload-shortcut.test.ts (11 tests | 11 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-external-url.test.ts (11 tests | 11 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/foreign-runtime.test.ts (11 tests | 11 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-platform.test.ts (1 test | 1 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/server-list.test.ts (2 tests | 2 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-browser-broker-descriptor.test.ts (4 tests | 4 skipped) @bb/desktop:test: ❯ |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts (117 tests | 2 failed | 115 skipped) 24ms @bb/desktop:test: ↓ awaits JSON values and binds the isolated bridge to the request channel @bb/desktop:test: ↓ routes evaluation to the requested world and rejects malformed results @bb/desktop:test: ↓ forwards only well-formed guest messages to the owning host window @bb/desktop:test: ↓ keeps isolated page scripts unavailable without the page preload @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: ↓ reports the destination before navigation commits from @bb/desktop:test: ↓ reports the destination before navigation commits from https://example.com/original @bb/desktop:test: ↓ routes lifecycle callbacks only for registered scoped tabs and forwards manager notifications @bb/desktop:test: ↓ returns native focus to the host while a controller owns the tab @bb/desktop:test: ↓ returns focus a visible tab takes while its page loads on its own @bb/desktop:test: ↓ lets a reloaded visible tab keep focus from 'a press that lands before the focus' @bb/desktop:test: ↓ lets a reloaded visible tab keep focus from 'a press that follows the focus' @bb/desktop:test: ↓ lets a reloaded visible tab keep focus from 'an explicit focus' @bb/desktop:test: × restores keyboard focus on pointer press after an unfocused reveal (rejected navigation focus: false) 19ms @bb/desktop:test: × restores keyboard focus on pointer press after an unfocused reveal (rejected navigation focus: true) 4ms @bb/desktop:test: ↓ returns native focus to the host from a hidden tab @bb/desktop:test: ↓ offers shared browser actions for 'image' with contents=true @bb/desktop:test: ↓ offers shared browser actions for 'image' with contents=false @bb/desktop:test: ↓ offers shared browser actions for 'none' with contents=false @bb/desktop:test: ↓ pauses media inside nested open shadow roots when hidden @bb/desktop:test: ↓ keeps newly created hidden tabs silent, including autoplay after loading @bb/desktop:test: ↓ setVisible pauses hidden media in every frame without resuming it on reveal @bb/desktop:test: ↓ setVisibleWithoutFocus pauses hidden media in every frame without resuming it on reveal @bb/desktop:test: ↓ preserves native pages across server switches without publishing them to another server (local daemon) @bb/desktop:test: ↓ preserves native pages across server switches without publishing them to another server (enrolled daemon) @bb/desktop:test: ↓ isolates colliding server tabs and background events, then cleans up every server through releaseWindow @bb/desktop:test: ↓ isolates colliding server tabs and background events, then cleans up every server through destroyAll @bb/desktop:test: ↓ keeps an inactive server throttled when automation releases the page @bb/desktop:test: ↓ keeps an inactive server throttled when capture releases the page @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 the hardened browser session 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 navigation when revealing a tab but loads every explicit navigation @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: ↓ publishes favicons, retains them within an origin, and restores cached icons when returning @bb/desktop:test: ↓ bounds cached favicon origins and isolates them between servers @bb/desktop:test: ↓ notifies subscribers of native creation and hidden navigation until unsubscribed @bb/desktop:test: ↓ tolerates a missing guest during visibility @bb/desktop:test: ↓ tolerates a missing guest during destroyed @bb/desktop:test: ↓ tolerates a missing guest during detach @bb/desktop:test: ↓ cleans up through guest after the host is destroyed @bb/desktop:test: ↓ cleans up through releaseWindow after the host is destroyed @bb/desktop:test: ↓ cleans up through destroyAll after the host is destroyed @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 browser.find so the selected target can receive typing @bb/desktop:test: ↓ takes host focus for panel.previousTab so the selected target can receive typing @bb/desktop:test: ↓ takes host focus for panel.nextTab so the selected target can receive typing @bb/desktop:test: ↓ takes host focus for pane.focus.previous so the selected target can receive typing @bb/desktop:test: ↓ takes host focus for pane.focus.next so the selected target can receive typing @bb/desktop:test: ↓ leaves native page focus and input untouched when pane.focus.previous is unavailable @bb/desktop:test: ↓ leaves native page focus and input untouched when pane.focus.next is unavailable @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 with its source tab id, never a native window @bb/desktop:test: ↓ surfaces 'a public popup' as an in-panel tab with its source tab id, never a native window @bb/desktop:test: ↓ surfaces 'a noopener blank link' as an in-panel tab with its source tab id, never a native window @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: ↓ 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: ↓ 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: ↓ 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: ↓ handles microphone consent: allow @bb/desktop:test: ↓ handles microphone consent: deny @bb/desktop:test: ↓ handles microphone consent: navigate @bb/desktop:test: ↓ handles microphone consent: system-deny @bb/desktop:test: ↓ handles microphone consent: dialog-error @bb/desktop:test: ↓ allows clipboard-sanitized-write but denies clipboard-read and device permissions @bb/desktop:test: ↓ evicts the oldest hidden renderers, restores navigation on reveal, and forgets closed cold tabs @bb/desktop:test: ↓ keeps a hidden page with no committed navigation alive so revealing it cannot fail @bb/desktop:test: ↓ keeps a page restored for an agent hidden and muted @bb/desktop:test: ↓ reattaches a hidden cold tab without recreating its page @bb/desktop:test: ↓ closes a cold tab without recreating its page @bb/desktop:test: ↓ pins a user page from lease acquisition until release even before a CDP connection opens @bb/desktop:test: ↓ keeps downloads, control leases, debugger sessions, and agent-created pages alive beyond the idle deadline @bb/desktop:test: ↓ keeps a page alive through an in-flight capture and counts it as use @bb/desktop:test: ↓ keeps a page alive through an in-flight evaluate and counts it as use @bb/desktop:test: ↓ still sweeps while another page is used more often than the sweep interval @bb/desktop:test: ↓ evicts parked server pages and discards cold entries when their window closes @bb/desktop:test: ↓ evicts the thread's hidden pages at once, including agent tabs and downloads, and keeps leased pages until the lease ends @bb/desktop:test: ↓ evicts a visible page once it is hidden, and leaves pages to the idle rule after unarchiving @bb/desktop:test: ↓ restores an evicted agent tab as an agent tab @bb/desktop:test: ↓ |@bb/desktop| test/server-moved.test.ts (51 tests | 51 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-zoom.test.ts (3 tests | 3 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-update-provider.test.ts (6 tests | 6 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/electron-builder-config.test.ts (25 tests | 25 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-browser-policy.test.ts (5 tests | 5 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/desktop-auto-update.test.ts (13 tests | 13 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/window-state.test.ts (8 tests | 8 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/existing-server-dialog.test.ts (7 tests | 7 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/log-viewer.test.ts (13 tests | 13 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/bb-process.test.ts (9 tests | 9 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/moved-machine-service.test.ts (6 tests | 6 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/server-update-control.test.ts (2 tests | 2 skipped) @bb/desktop:test: ↓ |@bb/desktop| test/windows-installer.test.ts (5 tests | 5 skipped) @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/desktop:test: @bb/desktop:test: FAIL |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts > DesktopBrowserCdpAdapter > restores keyboard focus on pointer press after an unfocused reveal (rejected navigation focus: false) @bb/desktop:test: FAIL |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts > DesktopBrowserCdpAdapter > restores keyboard focus on pointer press after an unfocused reveal (rejected navigation focus: true) @bb/desktop:test: AssertionError: expected +0 to be 1 // Object.is equality @bb/desktop:test: @bb/desktop:test: - Expected @bb/desktop:test: + Received @bb/desktop:test: @bb/desktop:test: - 1 @bb/desktop:test: + 0 @bb/desktop:test: @bb/desktop:test: ❯ test/desktop-browser-view-manager.test.ts:2092:45 @bb/desktop:test: 2090| view.webContents.emitInputEvent("mouseDown"); @bb/desktop:test: 2091| await vi.advanceTimersByTimeAsync(0); @bb/desktop:test: 2092| expect(view.webContents.focusCalls).toBe(1); @bb/desktop:test: | ^ @bb/desktop:test: 2093| } finally { @bb/desktop:test: 2094| manager.destroyAll(); @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ @bb/desktop:test: @bb/desktop:test: @bb/desktop:test: Test Files 1 failed | 64 skipped (65) @bb/desktop:test: Tests 2 failed | 658 skipped (660) @bb/desktop:test: Start at 20:37:54 @bb/desktop:test: Duration 6.57s (transform 46.91s, setup 0ms, import 79.91s, tests 24ms, environment 7ms) @bb/desktop:test: @bb/desktop:test:  ELIFECYCLE  Test failed. See above for more details. @bb/desktop#test: ERROR command (CHECKOUT_A/apps/desktop) /usr/local/bin/pnpm run test --testNamePattern=restores keyboard focus on pointer press exited (1) Tasks: 4 successful, 5 total Cached: 0 cached, 5 total Time: 12.565s Failed: @bb/desktop#test ERROR run failed: command exited (1)