• turbo 2.10.12 • Packages in scope: bb-plugin-workflows • Running test in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing 94f15d2ed5e6cb6f @bb/templates:generate:templates: cache miss, executing 9c4d9f459bb3ba20 @bb/plugin-build:generate: cache miss, executing 5360f2c845dcdbeb @bb/templates:generate:plugin-scaffold: cache miss, executing a180478efe2125e3 @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates /first/packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules /first //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /first/packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /first/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: wrote /first/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.2.4) bb-plugin-workflows:test: cache miss, executing 4b5f651582943046 bb-plugin-workflows:test: bb-plugin-workflows:test: > bb-plugin-workflows@0.1.0 test /first/plugins/workflows bb-plugin-workflows:test: > vitest run --config vitest.config.ts "--exclude" "src/issue-3835.test.ts" bb-plugin-workflows:test: bb-plugin-workflows:test: bb-plugin-workflows:test: RUN v4.1.1 /first/plugins/workflows bb-plugin-workflows:test: bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/data.test.ts (18 tests) 47ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/source-resolution.test.ts (7 tests) 25ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/cache.test.ts (24 tests) 50ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/validation.test.ts (15 tests) 99ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/parser.test.ts (25 tests) 97ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/workflow-validation.test.ts (4 tests) 7ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/ui-view.test.ts (1 test) 1ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows:isolated| src/runtime.test.ts (32 tests) 182ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/settings.test.ts (15 tests) 6ms bb-plugin-workflows:test: stdout | src/issue-3835.test.ts > exposes JSON value type constraints to provider schema consumers bb-plugin-workflows:test: {"tool":"bb_workflow_run","property":"args","node":{"default":null,"description":"Optional input value exposed to the script as the global `args`, verbatim. Pass arrays/objects as actual JSON values, NOT as a JSON-encoded string — a stringified list breaks `args.filter`/`args.map` in the script. Use for parameterized named workflows (e.g. a research question)."}} bb-plugin-workflows:test: {"tool":"bb_workflow_result","property":"value","node":{"description":"The final value matching the requested JSON Schema."}} bb-plugin-workflows:test: bb-plugin-workflows:test: ❯ |bb-plugin-workflows| src/issue-3835.test.ts (1 test | 1 failed) 18ms bb-plugin-workflows:test: × exposes JSON value type constraints to provider schema consumers 17ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows:isolated| src/app.test.tsx (21 tests) 469ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/cli.test.ts (18 tests) 695ms bb-plugin-workflows:test: ✓ keeps the removed workflow-specific catalog command out of project documentation 639ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/worker-abort-listeners.test.ts (2 tests) 831ms bb-plugin-workflows:test: ✓ does not retain abort listeners from completed worker polls 813ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/server-harness.test.ts (15 tests) 5463ms bb-plugin-workflows:test: ✓ runs a structured workflow asynchronously and notifies its origin 925ms bb-plugin-workflows:test: ✓ retries a transient provider failure before settling the call 1298ms bb-plugin-workflows:test: ✓ accepts double-encoded structured results and reports decode-aware errors 348ms bb-plugin-workflows:test: ✓ replays exactly the longest unchanged prefix across display edits and insertion 443ms bb-plugin-workflows:test: ✓ replays a reverse-completed parallel suffix in deterministic invocation order 403ms bb-plugin-workflows:test: ✓ replays an unchanged call sequence edited from sequential to parallel 334ms bb-plugin-workflows:test: ✓ replays a streaming pipeline until downstream invocation order diverges 337ms bb-plugin-workflows:test: ✓ reruns every call from legacy replay metadata 333ms bb-plugin-workflows:test: ✓ canonicalizes schemas and invalidates inherited selection changes 392ms bb-plugin-workflows:test: ✓ reruns null and failed calls and restricts selected-only models to inherited capture 540ms bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/service-policy.test.ts (43 tests) 19312ms bb-plugin-workflows:test: ✓ reconciles missed idle and deleted events from persisted running calls 3206ms bb-plugin-workflows:test: ✓ keeps quiet workers alive until the total run timeout 2115ms bb-plugin-workflows:test: ✓ retries a transient origin lookup before execution check 1 1038ms bb-plugin-workflows:test: ✓ amortizes discovery and does not poll origins of backed-off notifications 2223ms bb-plugin-workflows:test: ✓ amortizes origin reconciliation across maintenance ticks 2232ms bb-plugin-workflows:test: ✓ keeps cleanup pending after stop fails and completes it after restart 1050ms bb-plugin-workflows:test: ✓ owns and archives every retry attempt before history expires 1074ms bb-plugin-workflows:test: ✓ cancels in-flight work and retains history when the origin is archived 1090ms bb-plugin-workflows:test: ✓ does not retire a discovered worker while its spawn response is pending 2189ms bb-plugin-workflows:test: ✓ owns a worker returned after cancellation wins the spawn race 1096ms bb-plugin-workflows:test: ✓ retains cleanup ownership after expired history is deleted and retries after restart 1038ms bb-plugin-workflows:test: bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ bb-plugin-workflows:test: bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/issue-3835.test.ts > exposes JSON value type constraints to provider schema consumers bb-plugin-workflows:test: AssertionError: Provider-facing parameters missing JSON type constraints: expected [ 'bb_workflow_run.args', …(1) ] to deeply equal [] bb-plugin-workflows:test: bb-plugin-workflows:test: - Expected bb-plugin-workflows:test: + Received bb-plugin-workflows:test: bb-plugin-workflows:test: - [] bb-plugin-workflows:test: + [ bb-plugin-workflows:test: + "bb_workflow_run.args", bb-plugin-workflows:test: + "bb_workflow_result.value", bb-plugin-workflows:test: + ] bb-plugin-workflows:test: bb-plugin-workflows:test: ❯ src/issue-3835.test.ts:33:82 bb-plugin-workflows:test: 31| } bb-plugin-workflows:test: 32| } bb-plugin-workflows:test: 33| expect(failures, "Provider-facing parameters missing JSON type con… bb-plugin-workflows:test: | ^ bb-plugin-workflows:test: 34| } finally { bb-plugin-workflows:test: 35| await harness.dispose(); bb-plugin-workflows:test: bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ bb-plugin-workflows:test: bb-plugin-workflows:test: bb-plugin-workflows:test: Test Files 1 failed | 14 passed (15) bb-plugin-workflows:test: Tests 1 failed | 240 passed (241) bb-plugin-workflows:test: Start at 05:03:48 bb-plugin-workflows:test: Duration 20.30s (transform 2.06s, setup 0ms, import 4.61s, tests 27.30s, environment 689ms) bb-plugin-workflows:test: bb-plugin-workflows:test:  ELIFECYCLE  Test failed. See above for more details. bb-plugin-workflows#test: ERROR command (/first/plugins/workflows) /bin/pnpm run test --exclude src/issue-3835.test.ts exited (1) Tasks: 4 successful, 5 total Cached: 0 cached, 5 total Time: 21.245s Failed: bb-plugin-workflows#test ERROR run failed: command exited (1)