• turbo 2.10.12 • Packages in scope: @bb/desktop • Running test in 1 packages • Remote caching disabled, using shared worktree cache @bb/templates:generate:templates: cache bypass, force executing 10961cf58f642c82 //:ensure-native-modules: cache bypass, force executing 6e7b1fc4179b78ca @bb/templates:generate:plugin-scaffold: cache bypass, force executing 5138f2c56c39758c @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /check-b/packages/templates @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 /check-b //: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 /check-b/packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/desktop:test: cache bypass, force executing 80d5c7c196a20e9a @bb/desktop:test: @bb/desktop:test: > @bb/desktop@0.44.0 test /check-b/apps/desktop @bb/desktop:test: > vitest run --config vitest.config.ts @bb/desktop:test: @bb/desktop:test: @bb/desktop:test: RUN v4.1.1 /check-b/apps/desktop @bb/desktop:test: @bb/desktop:test: ↓ |@bb/desktop:isolated| test/desktop-shell-path-timeout.test.ts (1 test | 1 skipped) @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-dialog-window.test.ts (5 tests) 3ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-context-menu.test.ts (8 tests) 4ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/menu.test.ts (9 tests) 7ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/owned-runtime-supervisor.test.ts (4 tests) 14ms @bb/desktop:test: ✓ |@bb/desktop| test/connect-server-sync.test.ts (9 tests) 25ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-browser-cdp.test.ts (18 tests) 228ms @bb/desktop:test: ✓ |@bb/desktop| test/server-target.test.ts (13 tests) 15ms @bb/desktop:test: ✓ |@bb/desktop| test/connect-desktop-session.test.ts (12 tests) 19ms @bb/desktop:test: ✓ |@bb/desktop| test/browser-import.test.ts (36 tests) 203ms @bb/desktop:test: ✓ |@bb/desktop| test/foreign-runtime.test.ts (11 tests) 16ms @bb/desktop:test: ✓ |@bb/desktop| test/connect-session-renewal.test.ts (8 tests) 2ms @bb/desktop:test: ✓ |@bb/desktop| test/server-probe.test.ts (7 tests) 32ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-browser-broker-import.test.ts (3 tests) 7ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-browser-broker-snapshots.test.ts (3 tests) 5ms @bb/desktop:test: ✓ |@bb/desktop| test/log-viewer.test.ts (11 tests) 157ms @bb/desktop:test: ✓ |@bb/desktop| test/remote-server-load.test.ts (6 tests) 5ms @bb/desktop:test: ✓ |@bb/desktop| test/bb-process.test.ts (8 tests) 260ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-browser-shortcuts.test.ts (10 tests) 2ms @bb/desktop:test: ✓ |@bb/desktop| test/connect-machine-enrollment.test.ts (4 tests) 3ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-shell-path.test.ts (7 tests) 4ms @bb/desktop:test: ✓ |@bb/desktop| test/local-view.test.ts (4 tests) 1ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-browser-main-ipc.test.ts (5 tests) 12ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-find-view.test.ts (1 test) 4ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-update-check.test.ts (11 tests) 25ms @bb/desktop:test: ✓ |@bb/desktop| test/connect-credential-cache.test.ts (3 tests) 5ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-shutdown.test.ts (2 tests) 3ms @bb/desktop:test: ✓ |@bb/desktop| test/browser-applications.test.ts (2 tests) 2ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-update-info.test.ts (3 tests) 1ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-auto-update.test.ts (8 tests) 15ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-reload-shortcut.test.ts (2 tests) 1ms @bb/desktop:test: stdout | test/desktop-window-factory.test.ts @bb/desktop:test: Downloading Electron binary... @bb/desktop:test: @bb/desktop:test: stdout | test/preload-build.test.ts @bb/desktop:test: Downloading Electron binary... @bb/desktop:test: @bb/desktop:test: ✓ |@bb/desktop| test/desktop-linux-window-options.test.ts (6 tests) 1ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-update-provider.test.ts (5 tests) 1ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-zoom.test.ts (3 tests) 1ms @bb/desktop:test: ✓ |@bb/desktop| test/packaged-app-launch.test.ts (2 tests) 0ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-menu-shortcuts.test.ts (3 tests) 3ms @bb/desktop:test: ✓ |@bb/desktop| test/app-paths.test.ts (5 tests) 3ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-window-factory.test.ts (6 tests) 18ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-system-config.test.ts (2 tests) 4ms @bb/desktop:test: ✓ |@bb/desktop| test/moved-machine-service.test.ts (6 tests) 21ms @bb/desktop:test: ❯ |@bb/desktop| test/preload-build.test.ts (2 tests | 1 failed) 235ms @bb/desktop:test: ✓ emits package-compatible Electron entries 8ms @bb/desktop:test: × starts Electron with a working preload bridge 11ms @bb/desktop:test: ✓ |@bb/desktop| test/desktop-browser-policy.test.ts (5 tests) 4ms @bb/desktop:test: ❯ |@bb/desktop| test/electron-builder-config.test.ts (23 tests | 1 failed) 350ms @bb/desktop:test: ✓ keeps package metadata compatible with electron universal's CJS entry asar 4ms @bb/desktop:test: ✓ ships no plugin build toolchain binaries 1ms @bb/desktop:test: ✓ unpacks the ESM bb-app bridge with an explicit module extension 4ms @bb/desktop:test: ✓ runs a native module preparation hook after packaging 2ms @bb/desktop:test: ✓ passes the standalone platform through to better-sqlite3 prebuild-install 1ms @bb/desktop:test: ✓ preserves the macOS better-sqlite3 prebuild-install arguments 0ms @bb/desktop:test: ✓ installs native plugin build packages for arm64 and x64 3ms @bb/desktop:test: ✓ disables in-place native rebuilds so the shared pnpm store is not mutated 0ms @bb/desktop:test: ✓ excludes source maps from packaged app files 1ms @bb/desktop:test: ✓ copies the app scaffold template as a dedicated file set 1ms @bb/desktop:test: ✓ patches packaged node-pty helper path handling 62ms @bb/desktop:test: × validates bundled N-API SQLite without using the legacy prebuild installer 89ms @bb/desktop:test: ✓ points mac signing entitlements at checked-in plist files 4ms @bb/desktop:test: ✓ packages macOS artifacts for arm64 only 2ms @bb/desktop:test: ✓ packages a Linux AppImage for x64 4ms @bb/desktop:test: ✓ grants audio input to the signed app and helper processes 5ms @bb/desktop:test: ✓ keeps the updater provider pointed at desktop-latest release assets 1ms @bb/desktop:test: ✓ creates a separate nightly app identity and update feed 45ms @bb/desktop:test: ✓ rejects unknown desktop release channels 23ms @bb/desktop:test: ✓ signs local builds via keychain auto-discovery when signing secrets are absent 25ms @bb/desktop:test: ✓ keeps builds unsigned when keychain auto-discovery is explicitly disabled 28ms @bb/desktop:test: ✓ rejects partial signing secret sets 19ms @bb/desktop:test: ✓ enables app signing and notarization when signing and Apple credentials are complete 23ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/preload-browser-api.test.ts (5 tests) 1234ms @bb/desktop:test: ✓ exposes only the typed browser commands and forwards them over fixed channels 754ms @bb/desktop:test: stdout | test/window-state.test.ts @bb/desktop:test: Downloading Electron binary... @bb/desktop:test: @bb/desktop:test: ✓ |@bb/desktop| test/window-state.test.ts (5 tests) 2ms @bb/desktop:test: stdout | test/existing-server-dialog.test.ts @bb/desktop:test: Downloading Electron binary... @bb/desktop:test: @bb/desktop:test: ✓ |@bb/desktop| test/existing-server-dialog.test.ts (7 tests) 1ms @bb/desktop:test: ✓ |@bb/desktop:isolated| test/desktop-browser-view-manager.test.ts (80 tests) 639ms @bb/desktop:test: ✓ |@bb/desktop| test/server-moved.test.ts (51 tests) 676ms @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/desktop:test: @bb/desktop:test: FAIL |@bb/desktop| test/electron-builder-config.test.ts > electron-builder signing config > validates bundled N-API SQLite without using the legacy prebuild installer @bb/desktop:test: AssertionError: expected 'Error: spawnSync /tmp/slopcop-4308-ln…' to be '' // Object.is equality @bb/desktop:test: @bb/desktop:test: - Expected @bb/desktop:test: + Received @bb/desktop:test: @bb/desktop:test: + Error: spawnSync /check-b/node_modules/.pnpm/electron@44.3.0/node_modules/electron/dist/electron ETXTBSY @bb/desktop:test: + at Object.spawnSync (node:internal/child_process:1144:20) @bb/desktop:test: + at spawnSync (node:child_process:928:24) @bb/desktop:test: + at execFileSync (node:child_process:971:15) @bb/desktop:test: + at verify (/check-b/apps/desktop/scripts/prepare-native-modules.cjs:195:5) @bb/desktop:test: + at prepareBetterSqlite3PackageDirectory (/check-b/apps/desktop/scripts/prepare-native-modules.cjs:210:7) @bb/desktop:test: + at async Promise.all (index 0) @bb/desktop:test: + at async preparePackagedNativeModules (/check-b/apps/desktop/scripts/prepare-native-modules.cjs:254:3) @bb/desktop:test: + at async main (/check-b/apps/desktop/scripts/prepare-native-modules.cjs:358:3) @bb/desktop:test: + @bb/desktop:test: @bb/desktop:test: ❯ test/electron-builder-config.test.ts:491:29 @bb/desktop:test: 489| "--electron-version=44.3.0", @bb/desktop:test: 490| ]); @bb/desktop:test: 491| expect(result.stderr).toBe(""); @bb/desktop:test: | ^ @bb/desktop:test: 492| expect(result.exitCode).toBe(0); @bb/desktop:test: 493| const binaryPath = resolve( @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ @bb/desktop:test: @bb/desktop:test: FAIL |@bb/desktop| test/preload-build.test.ts > desktop build > starts Electron with a working preload bridge @bb/desktop:test: Error: spawn ETXTBSY @bb/desktop:test: ❯ test/preload-build.test.ts:389:21 @bb/desktop:test: 387| delete childEnv.ELECTRON_RUN_AS_NODE; @bb/desktop:test: 388| @bb/desktop:test: 389| const child = spawn( @bb/desktop:test: | ^ @bb/desktop:test: 390| electronBinary, @bb/desktop:test: 391| [ @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ @bb/desktop:test: @bb/desktop:test: @bb/desktop:test: Test Files 2 failed | 45 passed | 1 skipped (48) @bb/desktop:test: Tests 2 failed | 447 passed | 1 skipped (450) @bb/desktop:test: Start at 14:18:34 @bb/desktop:test: Duration 1.77s (transform 6.09s, setup 0ms, import 13.22s, tests 4.27s, environment 3ms) @bb/desktop:test: @bb/desktop:test:  ELIFECYCLE  Test failed. See above for more details. @bb/desktop#test: ERROR command (/check-b/apps/desktop) /.local/share/mise/installs/node/26.8.1/bin/pnpm run test exited (1) Tasks: 3 successful, 4 total Cached: 0 cached, 4 total Time: 2.433s Failed: @bb/desktop#test ERROR run failed: command exited (1)