• turbo 2.11.10 • Packages in scope: @bb/server • Running test in 1 package • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 5522c1895f8f9a6e @bb/templates:generate:plugin-scaffold: cache hit, replaying logs 525d5a8376d7f178 @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/server:generate:bb-official-marketplace: cache hit, replaying logs 5cf74588f7c02902 @bb/process-utils:generate:profile-worker: cache hit, replaying logs 0b77eded7f2ed388 @bb/server:generate:bb-official-marketplace: @bb/server:generate:bb-official-marketplace: > @bb/server@0.0.1 generate:bb-official-marketplace /apps/server @bb/server:generate:bb-official-marketplace: > node --conditions=source --import tsx scripts/generate-bb-official-marketplace.ts @bb/server:generate:bb-official-marketplace: @bb/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker /packages/process-utils @bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs @bb/process-utils:generate:profile-worker: @bb/plugin-build:generate: cache hit, replaying logs ff62245e12767802 @bb/templates:generate:templates: cache hit, replaying logs 0461e8baf5af98ee @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates /packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /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: plugin-theme.generated.ts up to date @bb/plugin-build:generate: host-tailwind.css up to date @bb/plugin-build:generate: host-tailwind-version.ts up to date @bb/plugin-build:generate: wrote /packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.1) @bb/agent-runtime:generate:test-bridges: cache hit, replaying logs 805e3c103a7b0570 @bb/agent-runtime:generate:test-bridges: @bb/agent-runtime:generate:test-bridges: > @bb/agent-runtime@0.0.1 generate:test-bridges /packages/agent-runtime @bb/agent-runtime:generate:test-bridges: > node ./scripts/build-test-bridges.mjs @bb/agent-runtime:generate:test-bridges: @get-bb/plugin-sdk:build:types: cache hit, replaying logs 57f8d8ad52d5953e @get-bb/plugin-sdk:build:types: @get-bb/plugin-sdk:build:types: > @get-bb/plugin-sdk@0.6.142 build:types /packages/plugin-sdk @get-bb/plugin-sdk:build:types: > node --max-semi-space-size=128 --max-old-space-size=4096 scripts/build-bundled-dts.mjs @get-bb/plugin-sdk:build:types: @get-bb/plugin-sdk:build:types: [build-bundled-dts] UNRESOLVED_IMPORT: "child_process" is imported by "../process-utils/src/host-process.d.ts", but could not be resolved – treating it as an external dependency. @get-bb/plugin-sdk:build:types: [build-bundled-dts] UNRESOLVED_IMPORT: "child_process" is imported by "../process-utils/src/host-process.d.ts", but could not be resolved – treating it as an external dependency. @get-bb/plugin-sdk:build:types: [build-bundled-dts] UNRESOLVED_IMPORT: "child_process" is imported by "../process-utils/src/host-process.d.ts", but could not be resolved – treating it as an external dependency. @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-provider-bridge.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-environment-provider.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-machine-provider.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-app.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-host.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-composer-view.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-thread-status.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-file-navigation-validation.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-host-policy.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-testing.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-testing-app.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-testing-host.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-rpc-tags.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-internal-rpc-query-host.d.ts @get-bb/plugin-sdk:build:types: Unchanged bundled-types/bb-plugin-sdk-process.d.ts @get-bb/plugin-sdk:build: cache hit, replaying logs 196ac64b3e74ca9d @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.142 build /packages/plugin-sdk @get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: Built 24 @get-bb/plugin-sdk runtime entries. //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: //:ensure-native-modules: [ensure-native-modules] Detached hardlinked better-sqlite3 binary before verification @bb/server:test: cache miss, executing 533d0338dc66480a @bb/server:test: @bb/server:test: > @bb/server@0.0.1 test /apps/server @bb/server:test: > vitest run --config vitest.config.ts "test/services/plugins/plugin-service.test.ts" "-t" "adds marketplace discovery metadata" @bb/server:test: @bb/server: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/server:test: - `__dirname` (vitest.config.ts:22:15). Use `import.meta.dirname` instead @bb/server:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/server: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/server:test: - `__dirname` (vitest.config.ts:22:15). Use `import.meta.dirname` instead @bb/server:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/server: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/server:test: - `__dirname` (vitest.config.ts:22:15). Use `import.meta.dirname` instead @bb/server:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. @bb/server:test: @bb/server:test: RUN v4.1.12 /apps/server @bb/server:test: @bb/server:test: (node:8508) ExperimentalWarning: SQLite is an experimental feature and might change at any time @bb/server:test: (Use `node --trace-warnings ...` to show where the warning was created) @bb/server:test: ❯ |@bb/server:isolated| test/services/plugins/plugin-service.test.ts (43 tests | 2 failed | 40 skipped) 700ms @bb/server:test: ↓ reports starting while a startup factory is pending @bb/server:test: ↓ reports starting while a retry factory is pending @bb/server:test: ↓ summarizes user-facing capabilities and drops the live ones when disabled @bb/server:test: ↓ marks a throwing factory as error without affecting others @bb/server:test: ↓ reload re-runs the factory against current sources and runs dispose hooks LIFO @bb/server:test: ↓ reload re-reads an ESM plugin's entry and its submodules @bb/server:test: ↓ runs a CommonJS entry whose module.exports is the factory @bb/server:test: ↓ reload re-reads a plugin's CommonJS children @bb/server:test: ↓ hides a failed reload's sources from a plugin that imports it @bb/server:test: ↓ reload re-reads an ESM plugin installed through a symbolic link @bb/server:test: ↓ reload of a plugin nested inside another plugin's tree re-reads sources @bb/server:test: ↓ keeps a live plugin's lazy imports coherent after a failed reload @bb/server:test: ↓ stale API handles throw after reload @bb/server:test: ↓ marks initial engine mismatches incompatible and preserves a live plugin when reload finds its directory missing @bb/server:test: ↓ expects a plugin to run until its load pass ends without reaching it @bb/server:test: ↓ logs a warning when a host upgrade makes an installed plugin incompatible (#1915) @bb/server:test: ↓ keeps a persisted 0.4.8 scaffold plugin running after an SDK upgrade @bb/server:test: ↓ skips the engines gate on 0.0.0 dev builds instead of marking everything incompatible @bb/server:test: ↓ reports one anonymous plugin_installed event per user install @bb/server:test: ↓ marks a reinstall of an installed plugin as not fresh @bb/server:test: ↓ does not report plugin_installed during boot-time reconcile @bb/server:test: ↓ hides names of plugins from third-party catalogs in the install event @bb/server:test: ↓ names public plugins in the install event so PostHog can rank them @bb/server:test: ✓ adds marketplace discovery metadata to an installed plugin from https without logging on reads 19ms @bb/server:test: × adds marketplace discovery metadata to an installed plugin from git without logging on reads 18ms @bb/server:test: × adds marketplace discovery metadata to an installed plugin from path without logging on reads 16ms @bb/server:test: ↓ times out a hung factory and reports error @bb/server:test: ↓ holds every plugin a hold names at start without running its factory or starting its services @bb/server:test: ↓ keeps it unloaded when it is enabled, even when it is already enabled @bb/server:test: ↓ keeps it unloaded on a reload of every plugin or of that plugin alone @bb/server:test: ↓ keeps it unloaded when its settings are updated @bb/server:test: ↓ loads it on enable or reload once the hold is released, without a restart @bb/server:test: ↓ enables a disabled path plugin when it is reinstalled @bb/server:test: ↓ reports a settings change to the server once the plugin's own listeners ran @bb/server:test: ↓ re-points a path plugin at a new checkout and keeps its settings, secrets, and schedules @bb/server:test: ↓ copies a path plugin out of a directory bb is deleting and keeps running it from the copy @bb/server:test: ↓ keeps the copied files when the plugin cannot move to them @bb/server:test: ↓ keeps a moved path plugin disabled instead of starting it @bb/server:test: ↓ rejects a path move whose new checkout fails to start and keeps the old install running @bb/server:test: ↓ tells the user to reinstall a path plugin installed from bb's data folder @bb/server:test: ↓ adds no notice for a plugin installed from a directory a provider only attached to @bb/server:test: ↓ warns for a plugin installed inside a directory a provider owns @bb/server:test: ↓ broadcasts plugins-changed on install, reload, and enable/disable @bb/server:test: @bb/server:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ @bb/server:test: @bb/server:test: FAIL |@bb/server:isolated| test/services/plugins/plugin-service.test.ts > plugin service > adds marketplace discovery metadata to an installed plugin from git without logging on reads @bb/server:test: FAIL |@bb/server:isolated| test/services/plugins/plugin-service.test.ts > plugin service > adds marketplace discovery metadata to an installed plugin from path without logging on reads @bb/server:test: AssertionError: expected [ …(3) ] to deeply equal [] @bb/server:test: @bb/server:test: - Expected @bb/server:test: + Received @bb/server:test: @bb/server:test: - [] @bb/server:test: + [ @bb/server:test: + [ @bb/server:test: + "marketplace entry \"installed-tool\" screenshot \"./screenshots/installed-tool/installed-tool.png\" was skipped because relative screenshots require an https marketplace manifest", @bb/server:test: + ], @bb/server:test: + [ @bb/server:test: + "marketplace entry \"installed-tool\" screenshot \"./screenshots/installed-tool/installed-tool.png\" was skipped because relative screenshots require an https marketplace manifest", @bb/server:test: + ], @bb/server:test: + [ @bb/server:test: + "marketplace entry \"installed-tool\" screenshot \"./screenshots/installed-tool/installed-tool.png\" was skipped because relative screenshots require an https marketplace manifest", @bb/server:test: + ], @bb/server:test: + ] @bb/server:test: @bb/server:test: ❯ test/services/plugins/plugin-service.test.ts:1085:34 @bb/server:test: 1083| }); @bb/server:test: 1084| } @bb/server:test: 1085| expect(warnSpy.mock.calls).toEqual([]); @bb/server:test: | ^ @bb/server:test: 1086| @bb/server:test: 1087| upsertPluginMarketplace(db, { @bb/server:test: @bb/server:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ @bb/server:test: @bb/server:test: @bb/server:test: Test Files 1 failed (1) @bb/server:test: Tests 2 failed | 1 passed | 40 skipped (43) @bb/server:test: Start at 13:35:58 @bb/server:test: Duration 9.95s (transform 5.29s, setup 1.66s, import 5.57s, tests 700ms, environment 0ms) @bb/server:test: @bb/server:test:  ELIFECYCLE  Test failed. See above for more details. @bb/server#test: ERROR command (/apps/server) /usr/local/bin/pnpm run test test/services/plugins/plugin-service.test.ts -t adds marketplace discovery metadata exited (1) Tasks: 9 successful, 10 total Cached: 8 cached, 10 total Time: 12.395s Failed: @bb/server#test ERROR run failed: command exited (1)