• 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 d140cf147e0e6586 @bb/process-utils:generate:profile-worker: cache bypass, force executing fde0afeb31f6db79 @bb/templates:generate:plugin-scaffold: cache bypass, force executing d3afd70d8ac0e512 @bb/templates:generate:templates: cache bypass, force executing 7d1ce280988074a7 @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold $SECOND_CHECKOUT/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 $SECOND_CHECKOUT/packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker $SECOND_CHECKOUT/packages/process-utils @bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs @bb/process-utils:generate:profile-worker: //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules $SECOND_CHECKOUT //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/desktop:test: cache bypass, force executing c03c77c20003bf97 @bb/desktop:test: @bb/desktop:test: > @bb/desktop@0.48.0 test $SECOND_CHECKOUT/apps/desktop @bb/desktop:test: > install-electron && vitest run --config vitest.config.ts "test/desktop-window-factory.test.ts" "test/menu.test.ts" @bb/desktop:test: @bb/desktop:test: @bb/desktop:test: RUN v4.1.1 $SECOND_CHECKOUT/apps/desktop @bb/desktop:test: @bb/desktop:test: ❯ |@bb/desktop:isolated| test/menu.test.ts (38 tests | 1 failed) 35ms @bb/desktop:test: × keeps an unchanged native menu while using the latest callbacks 10ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"isMac":false} 2ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"showBuiltinServer":false} 1ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"connectServersSkipReason":"unauthorized"} 1ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"servers":[{"checked":false,"id":"builtin","name":"This Computer"}]} 1ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"servers":[{"checked":true,"id":"custom:other","name":"This Computer"}]} 0ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"servers":[{"checked":true,"id":"builtin","name":"Renamed"}]} 0ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"servers":[]} 0ms @bb/desktop:test: ✓ replaces the native menu when its contents change: {"accelerators":{"openNewTab":"CommandOrControl+T"}} 1ms @bb/desktop:test: ✓ reinstalls the menu if another owner removes it 1ms @bb/desktop:test: ✓ updates server routing even when the displayed label stays the same 1ms @bb/desktop:test: ✓ restores native checked state after an unsuccessful selection: This Mac 0ms @bb/desktop:test: ✓ restores native checked state after an unsuccessful selection: This Computer 0ms @bb/desktop:test: ✓ opens local logs independently of runtime ownership (isMac=true) 1ms @bb/desktop:test: ✓ opens local logs independently of runtime ownership (isMac=false) 0ms @bb/desktop:test: ✓ reopens the last closed tab from the File menu 1ms @bb/desktop:test: ✓ closes a native panel when Electron omits its window 1ms @bb/desktop:test: ✓ forwards an undefined window for detached DevTools 0ms @bb/desktop:test: ✓ routes zoom shortcuts to the focused page's clamped zoom 1ms @bb/desktop:test: ✓ shows reload shortcuts without globally stealing browser commands 1ms @bb/desktop:test: ✓ enables editing only a selected saved or Connect server ('builtin') 0ms @bb/desktop:test: ✓ enables editing only a selected saved or Connect server ('connect:office') 0ms @bb/desktop:test: ✓ enables editing only a selected saved or Connect server ('custom:office') 0ms @bb/desktop:test: ✓ builds a Server menu with multiple custom targets and separate add/edit actions 1ms @bb/desktop:test: ✓ offers the Server menu under Desktop Settings with Window → Server as an alias 1ms @bb/desktop:test: ✓ offers sign-in with the server actions when the sync needs it ('no-credential') 0ms @bb/desktop:test: ✓ offers sign-in with the server actions when the sync needs it ('unauthorized') 0ms @bb/desktop:test: ✓ adds no Connect row when sign-in cannot fix the sync ('unavailable') 0ms @bb/desktop:test: ✓ adds no Connect row when sign-in cannot fix the sync ('not-paired') 0ms @bb/desktop:test: ✓ adds no Connect row when sign-in cannot fix the sync ('plugin-disabled') 0ms @bb/desktop:test: ✓ builds a native Linux menu with the Linux DevTools accelerator 1ms @bb/desktop:test: ✓ exposes the platform visibility checkbox (Mac: true) 1ms @bb/desktop:test: ✓ exposes the platform visibility checkbox (Mac: false) 0ms @bb/desktop:test: ✓ shares native and palette visibility: {"active":true,"alternatives":1,"show":false,"custom":false,"visible":true} 2ms @bb/desktop:test: ✓ shares native and palette visibility: {"active":true,"alternatives":0,"show":false,"custom":false,"visible":true} 1ms @bb/desktop:test: ✓ shares native and palette visibility: {"active":false,"alternatives":1,"show":false,"custom":false,"visible":false} 1ms @bb/desktop:test: ✓ shares native and palette visibility: {"active":false,"alternatives":1,"show":true,"custom":false,"visible":true} 1ms @bb/desktop:test: ✓ shares native and palette visibility: {"active":false,"alternatives":1,"show":false,"custom":true,"visible":false} 1ms @bb/desktop:test: ❯ |@bb/desktop:isolated| test/desktop-window-factory.test.ts (21 tests | 1 failed) 1684ms @bb/desktop:test: × starts every saved page before any finishes and returns saved order 1026ms @bb/desktop:test: ✓ updates macOS traffic lights at zoom 0.5 3ms @bb/desktop:test: ✓ updates macOS traffic lights at zoom 1.5 2ms @bb/desktop:test: ✓ updates macOS traffic lights at zoom 2 3ms @bb/desktop:test: ✓ hands each window over before its first page loads, so the page's IPC is accepted 2ms @bb/desktop:test: ✓ does not register the zoom event for non-Mac windows 2ms @bb/desktop:test: ✓ restores the last closed window on Dock reopen and after quitting without windows 6ms @bb/desktop:test: ✓ saves move and resize events without quitting, including simultaneous windows 528ms @bb/desktop:test: ✓ saves normal bounds during maximize so restoring and unmaximizing preserves size 6ms @bb/desktop:test: ✓ saves normal bounds during enter-full-screen so restoring and unmaximizing preserves size 7ms @bb/desktop:test: ✓ shares one zoom across windows, new windows, navigation and restart 65ms @bb/desktop:test: ✓ freezes saved geometry during quit teardown 4ms @bb/desktop:test: ✓ matches each window's page color without resetting on missing metadata (dark: true) 2ms @bb/desktop:test: ✓ matches each window's page color without resetting on missing metadata (dark: false) 2ms @bb/desktop:test: ✓ preserves transparent Linux backgrounds when the page supplies an opaque theme color 1ms @bb/desktop:test: ✓ creates distinct windows that load the same URL 9ms @bb/desktop:test: ✓ allocates distinct state keys for concurrent implicit windows 6ms @bb/desktop:test: ✓ opens only policy-approved blank-target links externally and denies every popup 2ms @bb/desktop:test: ✓ 'keeps the native frame' for Linux windows 2ms @bb/desktop:test: ✓ 'enables transparency when requested' for Linux windows 1ms @bb/desktop:test: ✓ 'removes the native frame when request…' for Linux windows 2ms @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/desktop:test: @bb/desktop:test: FAIL |@bb/desktop:isolated| test/desktop-window-factory.test.ts > desktop window factory > starts every saved page before any finishes and returns saved order @bb/desktop:test: AssertionError: expected [ FakeDesktopWindow{ id: 4, …(16) } ] to have a length of 3 but got 1 @bb/desktop:test: @bb/desktop:test: - Expected @bb/desktop:test: + Received @bb/desktop:test: @bb/desktop:test: - 3 @bb/desktop:test: + 1 @bb/desktop:test: @bb/desktop:test: ❯ test/desktop-window-factory.test.ts:361:46 @bb/desktop:test: 359| }); @bb/desktop:test: 360| try { @bb/desktop:test: 361| await vi.waitFor(() => expect(started).toHaveLength(3)); @bb/desktop:test: | ^ @bb/desktop:test: 362| expect(completed).toHaveLength(0); @bb/desktop:test: 363| releases[2]?.(); @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ @bb/desktop:test: @bb/desktop:test: FAIL |@bb/desktop:isolated| test/menu.test.ts > application menu > keeps an unchanged native menu while using the latest callbacks @bb/desktop:test: AssertionError: expected "vi.fn()" to be called 1 times, but got 2 times @bb/desktop:test: ❯ test/menu.test.ts:124:36 @bb/desktop:test: 122| }), @bb/desktop:test: 123| ); @bb/desktop:test: 124| expect(Menu.buildFromTemplate).toHaveBeenCalledTimes(1); @bb/desktop:test: | ^ @bb/desktop:test: 125| expect(Menu.setApplicationMenu).toHaveBeenCalledTimes(1); @bb/desktop:test: 126| const fileItems = template.find((item) => item.label === "File") @bb/desktop:test: @bb/desktop:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ @bb/desktop:test: @bb/desktop:test: @bb/desktop:test: Test Files 2 failed (2) @bb/desktop:test: Tests 2 failed | 57 passed (59) @bb/desktop:test: Start at 09:34:51 @bb/desktop:test: Duration 5.14s (transform 2.87s, setup 0ms, import 3.43s, tests 1.72s, environment 0ms) @bb/desktop:test: @bb/desktop:test:  ELIFECYCLE  Test failed. See above for more details. @bb/desktop#test: ERROR command ($SECOND_CHECKOUT/apps/desktop) /usr/local/bin/pnpm run test test/desktop-window-factory.test.ts test/menu.test.ts exited (1) Tasks: 4 successful, 5 total Cached: 0 cached, 5 total Time: 8.584s Failed: @bb/desktop#test ERROR run failed: command exited (1)