• turbo 2.11.10 • Packages in scope: bb-plugin-browser-automation • Running test in 1 package • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 1b2c4c30782154ac @bb/process-utils:generate:profile-worker: cache hit, replaying logs 7798f515ffcfe42c @bb/templates:generate:templates: cache hit, replaying logs 38c126e268995f5b @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates /tmp/slopcop-7349-fix/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 /tmp/slopcop-7349-fix/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: cache hit, replaying logs 1c39c138343b3acd @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /tmp/slopcop-7349-fix/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 eb141ba03bd8439b @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /tmp/slopcop-7349-fix/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 /tmp/slopcop-7349-fix/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.1) @get-bb/plugin-sdk:build: cache hit, replaying logs 4558e6d085915470 @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.138 build /tmp/slopcop-7349-fix/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-plugin-browser-automation:test: cache bypass, force executing 0d9a10d65d1d37e4 bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: > bb-plugin-browser-automation@0.1.1 test /plugins/browser-automation bb-plugin-browser-automation:test: > vitest run --config vitest.config.ts "cli.test.ts" bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: RUN v4.1.12 /plugins/browser-automation bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ❯ |bb-plugin-browser-automation| cli.test.ts (14 tests | 3 failed) 34ms bb-plugin-browser-automation:test: ✓ requires explicit backend, host, and headless selection 6ms bb-plugin-browser-automation:test: ✓ rejects ignored flags and both script sources 1ms bb-plugin-browser-automation:test: ✓ requires a script host for a script file 1ms bb-plugin-browser-automation:test: ✓ preserves script strings and rejects a timeout outside the run boundary 3ms bb-plugin-browser-automation:test: ✓ accepts --timeout as a duration and resolves bare numbers by range 2ms bb-plugin-browser-automation:test: ✓ parses preview sequence cursors and rejects invalid ones before dispatch 2ms bb-plugin-browser-automation:test: ✓ requires a session id and rejects a stray one 1ms bb-plugin-browser-automation:test: ✓ documents the capture limits and every command 1ms bb-plugin-browser-automation:test: ✓ reports recovery guidance for Session stopped or expired; open a new session in JSON and text 2ms bb-plugin-browser-automation:test: × reports recovery guidance for Session stopped, expired, or worker restarted; open a new session in JSON and text 8ms bb-plugin-browser-automation:test: × reports recovery guidance for Session expired; open a new session in JSON and text 2ms bb-plugin-browser-automation:test: ✓ reports recovery guidance for Session does not belong to this thread in JSON and text 1ms bb-plugin-browser-automation:test: × reports recovery guidance for Browser work cancelled or timed out in JSON and text 1ms bb-plugin-browser-automation:test: ✓ classifies capture-limit failures 0ms bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯ bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: FAIL |bb-plugin-browser-automation| cli.test.ts > CLI boundaries > reports recovery guidance for Session stopped, expired, or worker restarted; open a new session in JSON and text bb-plugin-browser-automation:test: AssertionError: expected { ok: false, error: { …(2) } } to deeply equal { ok: false, error: { …(3) } } bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: - Expected bb-plugin-browser-automation:test: + Received bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: { bb-plugin-browser-automation:test: "error": { bb-plugin-browser-automation:test: - "code": "session_unavailable", bb-plugin-browser-automation:test: - "hint": StringContaining "bb browser-automation open", bb-plugin-browser-automation:test: + "code": "command_failed", bb-plugin-browser-automation:test: "message": "Session stopped, expired, or worker restarted; open a new session", bb-plugin-browser-automation:test: }, bb-plugin-browser-automation:test: "ok": false, bb-plugin-browser-automation:test: } bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ❯ cli.test.ts:273:43 bb-plugin-browser-automation:test: 271| }); bb-plugin-browser-automation:test: 272| expect(json.exitCode).toBe(1); bb-plugin-browser-automation:test: 273| expect(JSON.parse(json.stdout ?? "")).toEqual({ bb-plugin-browser-automation:test: | ^ bb-plugin-browser-automation:test: 274| ok: false, bb-plugin-browser-automation:test: 275| error: { bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯ bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: FAIL |bb-plugin-browser-automation| cli.test.ts > CLI boundaries > reports recovery guidance for Session expired; open a new session in JSON and text bb-plugin-browser-automation:test: AssertionError: expected { ok: false, error: { …(2) } } to deeply equal { ok: false, error: { …(3) } } bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: - Expected bb-plugin-browser-automation:test: + Received bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: { bb-plugin-browser-automation:test: "error": { bb-plugin-browser-automation:test: - "code": "session_unavailable", bb-plugin-browser-automation:test: - "hint": StringContaining "bb browser-automation open", bb-plugin-browser-automation:test: + "code": "command_failed", bb-plugin-browser-automation:test: "message": "Session expired; open a new session", bb-plugin-browser-automation:test: }, bb-plugin-browser-automation:test: "ok": false, bb-plugin-browser-automation:test: } bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ❯ cli.test.ts:273:43 bb-plugin-browser-automation:test: 271| }); bb-plugin-browser-automation:test: 272| expect(json.exitCode).toBe(1); bb-plugin-browser-automation:test: 273| expect(JSON.parse(json.stdout ?? "")).toEqual({ bb-plugin-browser-automation:test: | ^ bb-plugin-browser-automation:test: 274| ok: false, bb-plugin-browser-automation:test: 275| error: { bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯ bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: FAIL |bb-plugin-browser-automation| cli.test.ts > CLI boundaries > reports recovery guidance for Browser work cancelled or timed out in JSON and text bb-plugin-browser-automation:test: AssertionError: expected { ok: false, error: { …(2) } } to deeply equal { ok: false, error: { …(3) } } bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: - Expected bb-plugin-browser-automation:test: + Received bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: { bb-plugin-browser-automation:test: "error": { bb-plugin-browser-automation:test: - "code": "session_unavailable", bb-plugin-browser-automation:test: - "hint": StringContaining "bb browser-automation open", bb-plugin-browser-automation:test: + "code": "command_failed", bb-plugin-browser-automation:test: "message": "Browser work cancelled or timed out", bb-plugin-browser-automation:test: }, bb-plugin-browser-automation:test: "ok": false, bb-plugin-browser-automation:test: } bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ❯ cli.test.ts:273:43 bb-plugin-browser-automation:test: 271| }); bb-plugin-browser-automation:test: 272| expect(json.exitCode).toBe(1); bb-plugin-browser-automation:test: 273| expect(JSON.parse(json.stdout ?? "")).toEqual({ bb-plugin-browser-automation:test: | ^ bb-plugin-browser-automation:test: 274| ok: false, bb-plugin-browser-automation:test: 275| error: { bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯ bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: bb-plugin-browser-automation:test: Test Files 1 failed (1) bb-plugin-browser-automation:test: Tests 3 failed | 11 passed (14) bb-plugin-browser-automation:test: Start at 12:13:01 bb-plugin-browser-automation:test: Duration 358ms (transform 78ms, setup 0ms, import 151ms, tests 34ms, environment 0ms) bb-plugin-browser-automation:test: bb-plugin-browser-automation:test:  ELIFECYCLE  Test failed. See above for more details. bb-plugin-browser-automation#test: ERROR command (/plugins/browser-automation) /usr/local/bin/pnpm run test cli.test.ts exited (1) Tasks: 6 successful, 7 total Cached: 5 cached, 7 total Time: 1.844s Failed: bb-plugin-browser-automation#test ERROR run failed: command exited (1)