• turbo 2.10.12 • Packages in scope: bb-plugin-monaco-editor • Running test in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 534e2191fcea7ebe @bb/templates:generate:templates: cache hit, replaying logs 011a0a1c275df763 @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: @bb/templates:generate:plugin-scaffold: cache hit, replaying logs 14865b6ac390d628 @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /private/tmp/slopcop-3584-qH9NbY/base/packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/plugin-build:generate: cache hit, replaying logs 1575543f7dc3bb63 @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /private/tmp/slopcop-3584-qH9NbY/base/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: wrote packages/plugin-build/src/generated/plugin-theme.generated.ts @bb/plugin-build:generate: wrote /private/tmp/slopcop-3584-qH9NbY/base/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.2.4) //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: bb-plugin-monaco-editor:test: cache miss, executing 999deb141189fdfa bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: > bb-plugin-monaco-editor@0.1.0 test /plugins/monaco-editor bb-plugin-monaco-editor:test: > vitest run --config vitest.config.ts bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: RUN v4.1.1 /plugins/monaco-editor bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ✓ |bb-plugin-monaco-editor| lib/languages.test.ts (2 tests) 4ms bb-plugin-monaco-editor:test: ✓ |bb-plugin-monaco-editor| lib/monaco-theme.test.ts (14 tests) 5ms bb-plugin-monaco-editor:test: ✓ |bb-plugin-monaco-editor| lib/file-tree.test.ts (9 tests) 5ms bb-plugin-monaco-editor:test: ❯ |bb-plugin-monaco-editor| server.test.ts (3 tests | 3 failed) 16ms bb-plugin-monaco-editor:test: × reads from the thread's storage host and root 11ms bb-plugin-monaco-editor:test: × lists the thread's storage host and root 2ms bb-plugin-monaco-editor:test: × saves to the thread's storage host with the expected version 2ms bb-plugin-monaco-editor:test: ✓ |bb-plugin-monaco-editor| app.test.tsx (9 tests) 374ms bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯ bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: FAIL |bb-plugin-monaco-editor| server.test.ts > thread storage host routing > reads from the thread's storage host and root bb-plugin-monaco-editor:test: AssertionError: expected "vi.fn()" to be called with arguments: [ { …(3) } ] bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: Received: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: 1st vi.fn() call: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: [ bb-plugin-monaco-editor:test: { bb-plugin-monaco-editor:test: - "hostId": "remote-editor-host", bb-plugin-monaco-editor:test: - "path": "/remote-storage/thread-editor-test/notes/document.txt", bb-plugin-monaco-editor:test: - "rootPath": "/remote-storage/thread-editor-test", bb-plugin-monaco-editor:test: + "path": "/server-data/thread-storage/thread-editor-test/notes/document.txt", bb-plugin-monaco-editor:test: + "rootPath": "/server-data/thread-storage/thread-editor-test", bb-plugin-monaco-editor:test: }, bb-plugin-monaco-editor:test: ] bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: Number of calls: 1 bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ❯ server.test.ts:46:18 bb-plugin-monaco-editor:test: 44| path: "notes/document.txt", bb-plugin-monaco-editor:test: 45| }); bb-plugin-monaco-editor:test: 46| expect(read).toHaveBeenCalledWith({ bb-plugin-monaco-editor:test: | ^ bb-plugin-monaco-editor:test: 47| hostId, bb-plugin-monaco-editor:test: 48| rootPath: storageRootPath, bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯ bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: FAIL |bb-plugin-monaco-editor| server.test.ts > thread storage host routing > lists the thread's storage host and root bb-plugin-monaco-editor:test: AssertionError: expected "vi.fn()" to be called with arguments: [ { …(6) } ] bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: Received: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: 1st vi.fn() call: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: [ bb-plugin-monaco-editor:test: { bb-plugin-monaco-editor:test: - "hostId": "remote-editor-host", bb-plugin-monaco-editor:test: "includeDirectories": true, bb-plugin-monaco-editor:test: "includeFiles": true, bb-plugin-monaco-editor:test: "includeHidden": true, bb-plugin-monaco-editor:test: "limit": 10000, bb-plugin-monaco-editor:test: - "path": "/remote-storage/thread-editor-test", bb-plugin-monaco-editor:test: + "path": "/server-data/thread-storage/thread-editor-test", bb-plugin-monaco-editor:test: }, bb-plugin-monaco-editor:test: ] bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: Number of calls: 1 bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ❯ server.test.ts:63:23 bb-plugin-monaco-editor:test: 61| const { harness, listPaths } = await setup(); bb-plugin-monaco-editor:test: 62| const result = await harness.callRpc("tree", { source }); bb-plugin-monaco-editor:test: 63| expect(listPaths).toHaveBeenCalledWith({ bb-plugin-monaco-editor:test: | ^ bb-plugin-monaco-editor:test: 64| hostId, bb-plugin-monaco-editor:test: 65| path: storageRootPath, bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯ bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: FAIL |bb-plugin-monaco-editor| server.test.ts > thread storage host routing > saves to the thread's storage host with the expected version bb-plugin-monaco-editor:test: AssertionError: expected "vi.fn()" to be called with arguments: [ { …(6) } ] bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: Received: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: 1st vi.fn() call: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: [ bb-plugin-monaco-editor:test: { bb-plugin-monaco-editor:test: "content": "edited text", bb-plugin-monaco-editor:test: "contentEncoding": "utf8", bb-plugin-monaco-editor:test: "expectedSha256": "original", bb-plugin-monaco-editor:test: - "hostId": "remote-editor-host", bb-plugin-monaco-editor:test: - "path": "/remote-storage/thread-editor-test/notes/document.txt", bb-plugin-monaco-editor:test: - "rootPath": "/remote-storage/thread-editor-test", bb-plugin-monaco-editor:test: + "path": "/server-data/thread-storage/thread-editor-test/notes/document.txt", bb-plugin-monaco-editor:test: + "rootPath": "/server-data/thread-storage/thread-editor-test", bb-plugin-monaco-editor:test: }, bb-plugin-monaco-editor:test: ] bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: Number of calls: 1 bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ❯ server.test.ts:86:19 bb-plugin-monaco-editor:test: 84| expectedSha256: "original", bb-plugin-monaco-editor:test: 85| }); bb-plugin-monaco-editor:test: 86| expect(write).toHaveBeenCalledWith({ bb-plugin-monaco-editor:test: | ^ bb-plugin-monaco-editor:test: 87| hostId, bb-plugin-monaco-editor:test: 88| rootPath: storageRootPath, bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯ bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test: Test Files 1 failed | 4 passed (5) bb-plugin-monaco-editor:test: Tests 3 failed | 34 passed (37) bb-plugin-monaco-editor:test: Start at 03:37:44 bb-plugin-monaco-editor:test: Duration 1.47s (transform 446ms, setup 0ms, import 807ms, tests 404ms, environment 747ms) bb-plugin-monaco-editor:test: bb-plugin-monaco-editor:test:  ELIFECYCLE  Test failed. See above for more details. bb-plugin-monaco-editor#test: ERROR command (/plugins/monaco-editor) /bin/pnpm run test exited (1) Tasks: 4 successful, 5 total Cached: 3 cached, 5 total Time: 2.734s Failed: bb-plugin-monaco-editor#test ERROR run failed: command exited (1)