#6792 · Workflow native-default selection is rejected
Trusted base: 916d684ac23d0b0de82c09cfc7553a50287d2188 on origin/main. Verdict: REPRODUCED · Root-cause confidence: high · Reproduction label: confirmed-repro.
1. TL;DR
A model can be fully discovered without offering a selectable reasoning effort. Workflows currently treats an empty list of selectable efforts as evidence that every setting is invalid, including the model's stored default. Both literal source validation and inherited runtime selection have this defect, so changing just one validator is insufficient. Two clean source checkouts reproduced the failure without a model backend; a contained Workflows repair now passes the regression cases and all 254 Workflows tests.
2. Claims vs findings
| Claim tested | Finding | Evidence |
|---|---|---|
| A catalog with known discovery and no reasoning choices rejects its own default. | Verified | The new source-validation acceptance test rejects with an unsupported-reasoning error on main. |
| Inherited preferences are rejected before worker creation. | Verified | Runtime tests using the real workflow service and real SQLite storage fail for inherited medium and high, with no worker spawn. |
| This catalog shape is legitimate. | Verified | The ACP catalog producer explicitly emits known discovery, an empty effort list, and a stored medium default. The provider guide defines known-empty as no selectable reasoning levels. |
| Ordinary dispatch avoids sending unsupported controls. | Verified | Existing server dispatch tests passed across three host/catalog configurations; the dispatch path omits unadvertised reasoning efforts. |
| The originally reported local model backend runs successfully after repair. | Not tested here | No live provider or local model server was contacted. This report verifies the provider-independent validation defect and SDK spawn boundary, not a particular installation. |
3. Environment
- Public target: get-bb/bb; trusted origin/main commit
916d684ac23d0b0de82c09cfc7553a50287d2188. - Linux 4.19.0-gvisor; Node v22.19.0; pnpm 9.15.0; Vitest 4.1.1; frozen repository dependencies.
- Two fresh detached git worktrees, named base-one and base-two, in a unique temporary workspace. The repair branch was subsequently created in base-one from the same main commit.
- External SDK/catalog inputs are controlled fixtures; workflow parsing, execution, selection validation, persistence, and completion run through repository implementations. The existing plugin harness uses a real temporary SQLite database.
- No live BB server, listening ports, user database, workflow orchestration service, credentials, or model backend required.
4. Minimal reproduction
- Check out the trusted base and install locked dependencies:
git clone https://github.com/get-bb/bb.git bb-repro cd bb-repro git switch --detach 916d684ac23d0b0de82c09cfc7553a50287d2188 pnpm install --frozen-lockfile --prefer-offline pnpm exec turbo run build:types --filter=@get-bb/plugin-sdk
- Save the complete test-only patch below as
regression.diff. It extends existing fixtures and tests; it does not change production code. - Run the focused tests:
git apply regression.diff pnpm exec turbo run test --filter=bb-plugin-workflows -- --testNamePattern='native reasoning defaults'
Expected: all seven selected cases pass: native-default explicit and inherited selections work, inherited high normalizes to the catalog default medium, unsupported non-default requests and unknown discovery remain rejected.
Actual on trusted main:
Tests 4 failed | 3 passed | 247 skipped (254) Unsupported reasoning level for literal workflow selection codex/gpt-test/medium Reasoning level "medium" is not supported by codex/gpt-test Reasoning level "high" is not supported by codex/gpt-test
The fixture provider/model names are synthetic and deliberately do not require any provider login.
Complete runnable test-only patch
diff --git a/plugins/workflows/src/service-policy.test.ts b/plugins/workflows/src/service-policy.test.ts
index ebb612d136..492bb1e15b 100644
--- a/plugins/workflows/src/service-policy.test.ts
+++ b/plugins/workflows/src/service-policy.test.ts
@@ -51,6 +51,7 @@ function model() {
model: "gpt-test",
displayName: "GPT Test",
description: "test",
+ reasoningDiscovery: "known" as const,
supportedReasoningEfforts: [
{ reasoningEffort: "medium", description: "test" },
],
@@ -272,6 +273,81 @@ describe("workflow service policy integration", () => {
harnesses.length = 0;
});
+ it.each([
+ { parentReasoning: "medium", discovery: "known", explicit: false },
+ { parentReasoning: "high", discovery: "known", explicit: false },
+ { parentReasoning: "medium", discovery: "known", explicit: true },
+ { parentReasoning: "medium", discovery: "unknown", explicit: false },
+ ] as const)(
+ "handles native reasoning defaults: $discovery/$parentReasoning/explicit=$explicit",
+ async ({ parentReasoning, discovery, explicit }) => {
+ const test = setup();
+ harnesses.push(test.harness);
+ test.harness.sdk.stub("providers.models", async () => ({
+ providers: [],
+ models: [
+ {
+ ...model(),
+ reasoningDiscovery: discovery,
+ supportedReasoningEfforts: [],
+ },
+ ],
+ selectedOnlyModels: [],
+ modelLoadError: null,
+ }));
+ test.harness.sdk.stub("threads.defaultExecutionOptions", async () => ({
+ model: "gpt-test",
+ reasoningLevel: parentReasoning,
+ permissionMode: "full",
+ serviceTier: "default",
+ source: "default",
+ }));
+ const run = await test.start(
+ source(
+ explicit
+ ? 'return await agent("review", { provider: "codex", model: "gpt-test", reasoningLevel: "medium" });'
+ : 'return await agent("review");',
+ ),
+ );
+ const controller = new AbortController();
+ const worker = test.service.runWorker(controller.signal);
+ try {
+ if (discovery === "unknown") {
+ await eventually(() =>
+ expect(getRunRequired(test.db, run.id).status).toBe("failed"),
+ );
+ expect(getRunRequired(test.db, run.id).error).toContain(
+ "not supported",
+ );
+ expect(test.childCount()).toBe(0);
+ expect(getCall(test.db, run.id, 0)).toBeNull();
+ return;
+ }
+ await eventually(() => {
+ expect(getRunRequired(test.db, run.id).error).toBeNull();
+ expect(test.childCount()).toBe(1);
+ });
+ expect(test.harness.sdk.callsTo("threads.spawn")[0]?.[0]).toMatchObject(
+ {
+ providerId: "codex",
+ model: "gpt-test",
+ reasoningLevel: "medium",
+ },
+ );
+ expect(getCall(test.db, run.id, 0)).toMatchObject({
+ resolvedReasoningLevel: "medium",
+ });
+ test.service.onThreadIdle("child-1", "completed");
+ await eventually(() =>
+ expect(getRunRequired(test.db, run.id).status).toBe("succeeded"),
+ );
+ } finally {
+ controller.abort();
+ await worker;
+ }
+ },
+ );
+
it("applies live settings to future run snapshots without mutating existing runs", async () => {
const initial = {
maxActiveRuns: 1,
diff --git a/plugins/workflows/src/workflow-validation.test.ts b/plugins/workflows/src/workflow-validation.test.ts
index 2a80a9437e..91add7dce7 100644
--- a/plugins/workflows/src/workflow-validation.test.ts
+++ b/plugins/workflows/src/workflow-validation.test.ts
@@ -26,6 +26,8 @@ function catalog(
{
id: "gpt-test",
model: "gpt-test",
+ reasoningDiscovery: "known",
+ defaultReasoningEffort: "medium",
supportedReasoningEfforts: [{ reasoningEffort: "medium" }],
},
],
@@ -35,6 +37,43 @@ function catalog(
}
describe("workflow validation", () => {
+ it.each([
+ { discovery: "known", requested: "medium", accepted: true },
+ { discovery: "known", requested: "high", accepted: false },
+ { discovery: "unknown", requested: "medium", accepted: false },
+ ] as const)(
+ "handles native reasoning defaults: $discovery/$requested",
+ async ({ discovery, requested, accepted }) => {
+ const validation = validateWorkflowSource(
+ SOURCE.replace(
+ 'reasoningLevel: "medium"',
+ `reasoningLevel: "${requested}"`,
+ ),
+ "env-1",
+ catalog({
+ loadModels: async () => ({
+ modelLoadError: null,
+ selectedOnlyModels: [],
+ models: [
+ {
+ id: "gpt-test",
+ model: "gpt-test",
+ reasoningDiscovery: discovery,
+ supportedReasoningEfforts: [],
+ defaultReasoningEffort: "medium",
+ },
+ ],
+ }),
+ }),
+ );
+ if (accepted) {
+ await expect(validation).resolves.toMatchObject({ valid: true });
+ } else {
+ await expect(validation).rejects.toThrow("Unsupported reasoning level");
+ }
+ },
+ );
+
it("validates every safely discoverable literal tuple", async () => {
await expect(
validateWorkflowSource(SOURCE, "env-1", catalog()),
@@ -132,6 +171,8 @@ describe("workflow validation", () => {
{
id: "gpt-test",
model: "gpt-test",
+ reasoningDiscovery: "known",
+ defaultReasoningEffort: "high",
supportedReasoningEfforts: [{ reasoningEffort: "high" }],
},
],
@@ -153,6 +194,8 @@ describe("workflow validation", () => {
{
id: "gpt-test",
model: "gpt-test",
+ reasoningDiscovery: "known",
+ defaultReasoningEffort: "medium",
supportedReasoningEfforts: [{ reasoningEffort: "medium" }],
},
],
5. Root cause
Literal source validation unconditionally requires the requested effort to occur in the supported-effort list:
if (
!model.supportedReasoningEfforts.some(
(effort) => effort.reasoningEffort === selection.reasoningLevel,
)
) {
throw new Error(
`Unsupported reasoning level for literal workflow selection ${tupleDescription(selection)}`,
);
}
Runtime selection validation resolves inherited parent settings, then repeats the same membership-only check. No element of an empty list can satisfy either check, so both errors occur before a worker can run.
if (
!model.supportedReasoningEfforts.some(
(effort) => effort.reasoningEffort === requested.reasoningLevel,
)
) {
throw new Error(
`Reasoning level ${JSON.stringify(requested.reasoningLevel)} is not supported by ${requested.provider}/${requested.model}`,
);
}
This is a policy mismatch, not evidence of a failed model call. ACP catalog discovery intentionally returns the following when no configurable effort exists:
if (supportedReasoningEfforts.length === 0) {
return {
reasoningDiscovery: "known",
supportedReasoningEfforts: [],
defaultReasoningEffort: "medium",
};
The provider guide documents the known-empty meaning. Ordinary provider dispatch already drops a reasoning control that is absent from the cached model's advertised choices. Stored preference metadata therefore need not represent a provider control.
6. Proposed and tested repair
Share a small reasoning-selection policy between the two Workflows validators. Preserve advertised selectable efforts. For known-empty models, permit the catalog default as the explicit tuple value and normalize any inherited preference to that default. Continue rejecting unresolved empty discovery and explicit unsupported non-default choices. Return the normalized selection before cache identity and worker settings are computed; leave the existing downstream control-omission policy unchanged.
The tested implementation changes only the Workflows subsystem: five files, 161 additions plus 11 deletions, 172 changed text lines. It adds no dependency, generated file, storage migration, public API, wire field, or packaging change.
7. Verification
The same agent repeated the initial five-case regression in a second fresh trusted checkout (base-two) at the exact recorded commit, with a separate frozen install and newly created SQLite fixture storage. Each initial run produced three intended acceptance failures and two passing negative controls. No report correction was necessary. An expanded seven-case version then produced four intended failures and three passing controls on unchanged production code in base-two.
| Check | Result |
|---|---|
| First clean checkout, initial focused tests | 3 failed, 2 passed, 247 skipped; expected pre-fix failures. |
| Second clean checkout, same initial focused tests | 3 failed, 2 passed, 247 skipped; same causes. |
| Second clean checkout, expanded final regression | 4 failed, 3 passed, 247 skipped; production unchanged. |
| Repair: complete Workflows suite | 254 passed across 14 test files. |
| Repair: Workflows typecheck, lint, bundled preparation | All successful; lint reports four existing React ref warnings and no errors. |
| Existing server reasoning dispatch suite | 3 passed; unsupported reasoning controls remain omitted. |
| Whitespace and scope checks | git diff --check passes; all five changed files are text and belong to Workflows. |
| Live UI/provider end-to-end recipe | Not run; no real model backend used. The changed validation and worker-spawn contracts are covered by executable source tests. |
pnpm exec turbo run test typecheck lint prepare:bundled --filter=bb-plugin-workflows pnpm exec turbo run test --filter=@bb/server -- test/threads/thread-command-reasoning.test.ts git diff --check git diff --numstat origin/main
8. Related work
No open pull request was linked by issue cross-reference metadata or found by an open-PR search for 6792 at investigation time. Issue #3452 concerns workflow service-tier selection rather than known-empty reasoning validation; it is not this root cause.
9. Appendix
Initial full-repository build exposed an SDK build-order prerequisite in an unrelated plugin. Running the SDK build:types task first resolved it; the retried full build completed all 72 tasks. No unrelated source was changed. Temporary workspace paths in the inline logs are replaced with TEMP_WORK. All issue content was treated as untrusted claims; no issue-supplied scripts, patches, branches, or URLs were executed or fetched.
First clean baseline log
• 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 c47e3abeeb4e3c94
@bb/templates:generate:plugin-scaffold: cache miss, executing 82dd16c2b74e6578
@bb/plugin-build:generate: cache miss, executing 31fc21a94ba6fb9c
@bb/process-utils:generate:profile-worker: cache miss, executing af134dd652fd4950
@bb/templates:generate:templates: cache miss, executing 5136f198268d0f83
@bb/templates:generate:plugin-scaffold:
@bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold TEMP_WORK/base-one/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 TEMP_WORK/base-one/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/process-utils:generate:profile-worker:
@bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker TEMP_WORK/base-one/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 TEMP_WORK/base-one
//:ensure-native-modules: > node scripts/ensure-native-modules.mjs
//:ensure-native-modules:
@bb/templates:generate:templates:
@bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates TEMP_WORK/base-one/packages/templates
@bb/templates:generate:templates: > node ./scripts/generate-templates.mjs
@bb/templates:generate:templates:
//:ensure-native-modules: [ensure-native-modules] Detached hardlinked better-sqlite3 binary before verification
@get-bb/plugin-sdk:build: cache miss, executing 9805ebfb71aa51ff
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.109 build TEMP_WORK/base-one/packages/plugin-sdk
@get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: Built 23 @get-bb/plugin-sdk runtime entries.
@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 TEMP_WORK/base-one/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.0)
bb-plugin-workflows:test: cache miss, executing e0883763e415bf7c
bb-plugin-workflows:test:
bb-plugin-workflows:test: > bb-plugin-workflows@0.1.0 test TEMP_WORK/base-one/plugins/workflows
bb-plugin-workflows:test: > vitest run --config vitest.config.ts "--testNamePattern=native reasoning defaults"
bb-plugin-workflows:test:
bb-plugin-workflows:test:
bb-plugin-workflows:test: RUN v4.1.1 TEMP_WORK/base-one/plugins/workflows
bb-plugin-workflows:test:
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/cache.test.ts (23 tests | 23 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/data.test.ts (20 tests | 20 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/source-resolution.test.ts (7 tests | 7 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/settings.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/validation.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/parser.test.ts (25 tests | 25 skipped)
bb-plugin-workflows:test: ❯ |bb-plugin-workflows| src/workflow-validation.test.ts (7 tests | 1 failed | 4 skipped) 15ms
bb-plugin-workflows:test: × handles native reasoning defaults: 'known'/'medium' 11ms
bb-plugin-workflows:test: ✓ handles native reasoning defaults: 'known'/'high' 2ms
bb-plugin-workflows:test: ✓ handles native reasoning defaults: 'unknown'/'medium' 1ms
bb-plugin-workflows:test: ↓ validates every safely discoverable literal tuple
bb-plugin-workflows:test: ↓ returns canonical phase metadata and validates native display options
bb-plugin-workflows:test: ↓ distinguishes provider, model-load, model, and reasoning failures
bb-plugin-workflows:test: ↓ rejects selected-only models for explicit literal selections
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/ui-view.test.ts (2 tests | 2 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/runtime.test.ts (29 tests | 29 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/worker-abort-listeners.test.ts (2 tests | 2 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/server-harness.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/cli.test.ts (18 tests | 18 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/app.test.tsx (22 tests | 22 skipped)
bb-plugin-workflows:test: ❯ |bb-plugin-workflows| src/service-policy.test.ts (52 tests | 2 failed | 50 skipped) 8050ms
bb-plugin-workflows:test: × dispatches native reasoning defaults when inheriting medium 4035ms
bb-plugin-workflows:test: × dispatches native reasoning defaults when inheriting high 4013ms
bb-plugin-workflows:test: ↓ applies live settings to future run snapshots without mutating existing runs
bb-plugin-workflows:test: ↓ resolves named and path children on the origin host
bb-plugin-workflows:test: ↓ cancels queued workflows when their origin was deleted while offline
bb-plugin-workflows:test: ↓ serializes parallel nested preparation but launches child agents concurrently
bb-plugin-workflows:test: ↓ recovers nested launch ordering after failure and queues inline with path sources
bb-plugin-workflows:test: ↓ shares call ordering, cache identity, and limits with an inline child VM
bb-plugin-workflows:test: ↓ uses global run concurrency and per-run agent concurrency settings
bb-plugin-workflows:test: ↓ accepts JSON-labelled whole-output fences in the structured text fallback
bb-plugin-workflows:test: ↓ accepts unlabelled whole-output fences in the structured text fallback
bb-plugin-workflows:test: ↓ does not normalize an unterminated fence
bb-plugin-workflows:test: ↓ does not normalize a fence with surrounding prose
bb-plugin-workflows:test: ↓ keeps an awaited corrective turn alive until its valid retry completes
bb-plugin-workflows:test: ↓ still cancels a genuinely detached call when its parent succeeds
bb-plugin-workflows:test: ↓ rejects child schema failures and recursive grandchildren
bb-plugin-workflows:test: ↓ rejects unsafe metadata schemas before queueing top-level or child work
bb-plugin-workflows:test: ↓ cancels an executing nested child with its parent run
bb-plugin-workflows:test: ↓ invalidates workflow reads for the origin thread on start, claim, and cancel
bb-plugin-workflows:test: ↓ invalidates workflow reads for phase and call progress, not only run lifecycle
bb-plugin-workflows:test: ↓ does not create or orphan a call when cancellation wins catalog or spawn
bb-plugin-workflows:test: ↓ lets later parallel siblings execute live after an identity failure
bb-plugin-workflows:test: ↓ requires a terminal resume ancestor in the same environment
bb-plugin-workflows:test: ↓ keeps quiet workers alive until the total run timeout
bb-plugin-workflows:test: ↓ fails an archived worker once when its lifecycle event arrives
bb-plugin-workflows:test: ↓ leaves clean shutdown state recoverable without a false notification
bb-plugin-workflows:test: ↓ retries an unsent terminal notification after service restart
bb-plugin-workflows:test: ↓ retries a transient origin lookup before execution check 1
bb-plugin-workflows:test: ↓ retries a transient origin lookup before execution check 2
bb-plugin-workflows:test: ↓ discovers workers once and skips origins of backed-off notifications
bb-plugin-workflows:test: ↓ waits without claim transactions and wakes immediately for a new run
bb-plugin-workflows:test: ↓ wakes queued runs when settings frees capacity
bb-plugin-workflows:test: ↓ wakes queued runs when completion frees capacity
bb-plugin-workflows:test: ↓ wakes queued runs when cancellation frees capacity
bb-plugin-workflows:test: ↓ reconciles origins at startup without polling
bb-plugin-workflows:test: ↓ keeps cleanup pending after stop fails and completes it after restart
bb-plugin-workflows:test: ↓ owns and archives every retry attempt before history expires
bb-plugin-workflows:test: ↓ cancels in-flight work and retains history when the origin is archived
bb-plugin-workflows:test: ↓ does not retire a discovered worker while its spawn response is pending
bb-plugin-workflows:test: ↓ does not retire a worker that attaches while cleanup archives an earlier one
bb-plugin-workflows:test: ↓ still archives an orphaned worker listed behind a slow stop
bb-plugin-workflows:test: ↓ owns a worker returned after cancellation wins the spawn race
bb-plugin-workflows:test: ↓ recovers metadata ownership after a spawn response is lost and the service restarts
bb-plugin-workflows:test: ↓ handles a notification 409 with archived origin = true
bb-plugin-workflows:test: ↓ handles a notification 409 with archived origin = false
bb-plugin-workflows:test: ↓ permanently settles a missing-origin notification
bb-plugin-workflows:test: ↓ archives worker threads before it deletes their expired run
bb-plugin-workflows:test: ↓ retains cleanup ownership after expired history is deleted and retries after restart
bb-plugin-workflows:test: ↓ deletes expired resume chains leaf-first across bounded batches
bb-plugin-workflows:test: ↓ bounds UTF-8 notifications while preserving the stable run marker
bb-plugin-workflows:test: ↓ recognizes transient provider and network failures
bb-plugin-workflows:test: ↓ does not retry deterministic failures
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/service-policy.test.ts > workflow service policy integration > dispatches native reasoning defaults when inheriting medium
bb-plugin-workflows:test: AssertionError: expected 'Reasoning level "medium" is not suppo…' to be null
bb-plugin-workflows:test:
bb-plugin-workflows:test: - Expected:
bb-plugin-workflows:test: null
bb-plugin-workflows:test:
bb-plugin-workflows:test: + Received:
bb-plugin-workflows:test: "Reasoning level \"medium\" is not supported by codex/gpt-test"
bb-plugin-workflows:test:
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:302:57
bb-plugin-workflows:test: 300| try {
bb-plugin-workflows:test: 301| await eventually(() => {
bb-plugin-workflows:test: 302| expect(getRunRequired(test.db, run.id).error).toBeNull();
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 303| expect(test.childCount()).toBe(1);
bb-plugin-workflows:test: 304| });
bb-plugin-workflows:test: ❯ eventually src/service-policy.test.ts:31:13
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:301:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/service-policy.test.ts > workflow service policy integration > dispatches native reasoning defaults when inheriting high
bb-plugin-workflows:test: AssertionError: expected 'Reasoning level "high" is not support…' to be null
bb-plugin-workflows:test:
bb-plugin-workflows:test: - Expected:
bb-plugin-workflows:test: null
bb-plugin-workflows:test:
bb-plugin-workflows:test: + Received:
bb-plugin-workflows:test: "Reasoning level \"high\" is not supported by codex/gpt-test"
bb-plugin-workflows:test:
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:302:57
bb-plugin-workflows:test: 300| try {
bb-plugin-workflows:test: 301| await eventually(() => {
bb-plugin-workflows:test: 302| expect(getRunRequired(test.db, run.id).error).toBeNull();
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 303| expect(test.childCount()).toBe(1);
bb-plugin-workflows:test: 304| });
bb-plugin-workflows:test: ❯ eventually src/service-policy.test.ts:31:13
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:301:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/workflow-validation.test.ts > workflow validation > handles native reasoning defaults: 'known'/'medium'
bb-plugin-workflows:test: AssertionError: promise rejected "Error: Unsupported reasoning level for li…" instead of resolving
bb-plugin-workflows:test: ❯ src/workflow-validation.test.ts:63:33
bb-plugin-workflows:test: 61| );
bb-plugin-workflows:test: 62| if (accepted) {
bb-plugin-workflows:test: 63| await expect(validation).resolves.toMatchObject({ valid: true …
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 64| } else {
bb-plugin-workflows:test: 65| await expect(validation).rejects.toThrow("Unsupported reasonin…
bb-plugin-workflows:test:
bb-plugin-workflows:test: Caused by: Error: Unsupported reasoning level for literal workflow selection codex/gpt-test/medium
bb-plugin-workflows:test: ❯ validateWorkflowSource src/workflow-validation.ts:86:15
bb-plugin-workflows:test: ❯ src/workflow-validation.test.ts:63:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test:
bb-plugin-workflows:test: Test Files 2 failed | 12 skipped (14)
bb-plugin-workflows:test: Tests 3 failed | 2 passed | 247 skipped (252)
bb-plugin-workflows:test: Start at 18:10:43
bb-plugin-workflows:test: Duration 9.29s (transform 2.31s, setup 0ms, import 7.83s, tests 8.07s, environment 1.13s)
bb-plugin-workflows:test:
bb-plugin-workflows:test: ELIFECYCLE Test failed. See above for more details.
bb-plugin-workflows#test: ERROR command (TEMP_WORK/base-one/plugins/workflows) /usr/local/bin/pnpm run test --testNamePattern=native reasoning defaults exited (1)
Tasks: 6 successful, 7 total
Cached: 0 cached, 7 total
Time: 12.601s
Failed: bb-plugin-workflows#test
ERROR run failed: command exited (1)
Second clean baseline log
• 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 c47e3abeeb4e3c94
@bb/templates:generate:plugin-scaffold: cache hit, replaying logs 82dd16c2b74e6578
@bb/templates:generate:plugin-scaffold:
@bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold TEMP_WORK/base-one/packages/templates
@bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs
@bb/templates:generate:plugin-scaffold:
@bb/process-utils:generate:profile-worker: cache hit, replaying logs af134dd652fd4950
@bb/templates:generate:templates: cache hit, replaying logs 5136f198268d0f83
@bb/process-utils:generate:profile-worker:
@bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker TEMP_WORK/base-one/packages/process-utils
@bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs
@bb/process-utils:generate:profile-worker:
@bb/templates:generate:templates:
@bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates TEMP_WORK/base-one/packages/templates
@bb/templates:generate:templates: > node ./scripts/generate-templates.mjs
@bb/templates:generate:templates:
@bb/plugin-build:generate: cache hit, replaying logs 31fc21a94ba6fb9c
@bb/plugin-build:generate:
@bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate TEMP_WORK/base-one/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 TEMP_WORK/base-one/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.0)
@get-bb/plugin-sdk:build: cache hit, replaying logs 9805ebfb71aa51ff
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.109 build TEMP_WORK/base-one/packages/plugin-sdk
@get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: Built 23 @get-bb/plugin-sdk runtime entries.
//:ensure-native-modules:
//:ensure-native-modules: > bb@ ensure-native-modules TEMP_WORK/base-two
//: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-workflows:test: cache miss, executing 1a0dbf77852db57f
bb-plugin-workflows:test:
bb-plugin-workflows:test: > bb-plugin-workflows@0.1.0 test TEMP_WORK/base-two/plugins/workflows
bb-plugin-workflows:test: > vitest run --config vitest.config.ts "--testNamePattern=native reasoning defaults"
bb-plugin-workflows:test:
bb-plugin-workflows:test:
bb-plugin-workflows:test: RUN v4.1.1 TEMP_WORK/base-two/plugins/workflows
bb-plugin-workflows:test:
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/cache.test.ts (23 tests | 23 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/data.test.ts (20 tests | 20 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/source-resolution.test.ts (7 tests | 7 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/parser.test.ts (25 tests | 25 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/settings.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/validation.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/runtime.test.ts (29 tests | 29 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/ui-view.test.ts (2 tests | 2 skipped)
bb-plugin-workflows:test: ❯ |bb-plugin-workflows| src/workflow-validation.test.ts (7 tests | 1 failed | 4 skipped) 16ms
bb-plugin-workflows:test: × handles native reasoning defaults: 'known'/'medium' 12ms
bb-plugin-workflows:test: ✓ handles native reasoning defaults: 'known'/'high' 2ms
bb-plugin-workflows:test: ✓ handles native reasoning defaults: 'unknown'/'medium' 1ms
bb-plugin-workflows:test: ↓ validates every safely discoverable literal tuple
bb-plugin-workflows:test: ↓ returns canonical phase metadata and validates native display options
bb-plugin-workflows:test: ↓ distinguishes provider, model-load, model, and reasoning failures
bb-plugin-workflows:test: ↓ rejects selected-only models for explicit literal selections
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/server-harness.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/worker-abort-listeners.test.ts (2 tests | 2 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/cli.test.ts (18 tests | 18 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/app.test.tsx (22 tests | 22 skipped)
bb-plugin-workflows:test: ❯ |bb-plugin-workflows| src/service-policy.test.ts (52 tests | 2 failed | 50 skipped) 8047ms
bb-plugin-workflows:test: × dispatches native reasoning defaults when inheriting medium 4035ms
bb-plugin-workflows:test: × dispatches native reasoning defaults when inheriting high 4011ms
bb-plugin-workflows:test: ↓ applies live settings to future run snapshots without mutating existing runs
bb-plugin-workflows:test: ↓ resolves named and path children on the origin host
bb-plugin-workflows:test: ↓ cancels queued workflows when their origin was deleted while offline
bb-plugin-workflows:test: ↓ serializes parallel nested preparation but launches child agents concurrently
bb-plugin-workflows:test: ↓ recovers nested launch ordering after failure and queues inline with path sources
bb-plugin-workflows:test: ↓ shares call ordering, cache identity, and limits with an inline child VM
bb-plugin-workflows:test: ↓ uses global run concurrency and per-run agent concurrency settings
bb-plugin-workflows:test: ↓ accepts JSON-labelled whole-output fences in the structured text fallback
bb-plugin-workflows:test: ↓ accepts unlabelled whole-output fences in the structured text fallback
bb-plugin-workflows:test: ↓ does not normalize an unterminated fence
bb-plugin-workflows:test: ↓ does not normalize a fence with surrounding prose
bb-plugin-workflows:test: ↓ keeps an awaited corrective turn alive until its valid retry completes
bb-plugin-workflows:test: ↓ still cancels a genuinely detached call when its parent succeeds
bb-plugin-workflows:test: ↓ rejects child schema failures and recursive grandchildren
bb-plugin-workflows:test: ↓ rejects unsafe metadata schemas before queueing top-level or child work
bb-plugin-workflows:test: ↓ cancels an executing nested child with its parent run
bb-plugin-workflows:test: ↓ invalidates workflow reads for the origin thread on start, claim, and cancel
bb-plugin-workflows:test: ↓ invalidates workflow reads for phase and call progress, not only run lifecycle
bb-plugin-workflows:test: ↓ does not create or orphan a call when cancellation wins catalog or spawn
bb-plugin-workflows:test: ↓ lets later parallel siblings execute live after an identity failure
bb-plugin-workflows:test: ↓ requires a terminal resume ancestor in the same environment
bb-plugin-workflows:test: ↓ keeps quiet workers alive until the total run timeout
bb-plugin-workflows:test: ↓ fails an archived worker once when its lifecycle event arrives
bb-plugin-workflows:test: ↓ leaves clean shutdown state recoverable without a false notification
bb-plugin-workflows:test: ↓ retries an unsent terminal notification after service restart
bb-plugin-workflows:test: ↓ retries a transient origin lookup before execution check 1
bb-plugin-workflows:test: ↓ retries a transient origin lookup before execution check 2
bb-plugin-workflows:test: ↓ discovers workers once and skips origins of backed-off notifications
bb-plugin-workflows:test: ↓ waits without claim transactions and wakes immediately for a new run
bb-plugin-workflows:test: ↓ wakes queued runs when settings frees capacity
bb-plugin-workflows:test: ↓ wakes queued runs when completion frees capacity
bb-plugin-workflows:test: ↓ wakes queued runs when cancellation frees capacity
bb-plugin-workflows:test: ↓ reconciles origins at startup without polling
bb-plugin-workflows:test: ↓ keeps cleanup pending after stop fails and completes it after restart
bb-plugin-workflows:test: ↓ owns and archives every retry attempt before history expires
bb-plugin-workflows:test: ↓ cancels in-flight work and retains history when the origin is archived
bb-plugin-workflows:test: ↓ does not retire a discovered worker while its spawn response is pending
bb-plugin-workflows:test: ↓ does not retire a worker that attaches while cleanup archives an earlier one
bb-plugin-workflows:test: ↓ still archives an orphaned worker listed behind a slow stop
bb-plugin-workflows:test: ↓ owns a worker returned after cancellation wins the spawn race
bb-plugin-workflows:test: ↓ recovers metadata ownership after a spawn response is lost and the service restarts
bb-plugin-workflows:test: ↓ handles a notification 409 with archived origin = true
bb-plugin-workflows:test: ↓ handles a notification 409 with archived origin = false
bb-plugin-workflows:test: ↓ permanently settles a missing-origin notification
bb-plugin-workflows:test: ↓ archives worker threads before it deletes their expired run
bb-plugin-workflows:test: ↓ retains cleanup ownership after expired history is deleted and retries after restart
bb-plugin-workflows:test: ↓ deletes expired resume chains leaf-first across bounded batches
bb-plugin-workflows:test: ↓ bounds UTF-8 notifications while preserving the stable run marker
bb-plugin-workflows:test: ↓ recognizes transient provider and network failures
bb-plugin-workflows:test: ↓ does not retry deterministic failures
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/service-policy.test.ts > workflow service policy integration > dispatches native reasoning defaults when inheriting medium
bb-plugin-workflows:test: AssertionError: expected 'Reasoning level "medium" is not suppo…' to be null
bb-plugin-workflows:test:
bb-plugin-workflows:test: - Expected:
bb-plugin-workflows:test: null
bb-plugin-workflows:test:
bb-plugin-workflows:test: + Received:
bb-plugin-workflows:test: "Reasoning level \"medium\" is not supported by codex/gpt-test"
bb-plugin-workflows:test:
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:302:57
bb-plugin-workflows:test: 300| try {
bb-plugin-workflows:test: 301| await eventually(() => {
bb-plugin-workflows:test: 302| expect(getRunRequired(test.db, run.id).error).toBeNull();
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 303| expect(test.childCount()).toBe(1);
bb-plugin-workflows:test: 304| });
bb-plugin-workflows:test: ❯ eventually src/service-policy.test.ts:31:13
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:301:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/service-policy.test.ts > workflow service policy integration > dispatches native reasoning defaults when inheriting high
bb-plugin-workflows:test: AssertionError: expected 'Reasoning level "high" is not support…' to be null
bb-plugin-workflows:test:
bb-plugin-workflows:test: - Expected:
bb-plugin-workflows:test: null
bb-plugin-workflows:test:
bb-plugin-workflows:test: + Received:
bb-plugin-workflows:test: "Reasoning level \"high\" is not supported by codex/gpt-test"
bb-plugin-workflows:test:
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:302:57
bb-plugin-workflows:test: 300| try {
bb-plugin-workflows:test: 301| await eventually(() => {
bb-plugin-workflows:test: 302| expect(getRunRequired(test.db, run.id).error).toBeNull();
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 303| expect(test.childCount()).toBe(1);
bb-plugin-workflows:test: 304| });
bb-plugin-workflows:test: ❯ eventually src/service-policy.test.ts:31:13
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:301:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/workflow-validation.test.ts > workflow validation > handles native reasoning defaults: 'known'/'medium'
bb-plugin-workflows:test: AssertionError: promise rejected "Error: Unsupported reasoning level for li…" instead of resolving
bb-plugin-workflows:test: ❯ src/workflow-validation.test.ts:63:33
bb-plugin-workflows:test: 61| );
bb-plugin-workflows:test: 62| if (accepted) {
bb-plugin-workflows:test: 63| await expect(validation).resolves.toMatchObject({ valid: true …
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 64| } else {
bb-plugin-workflows:test: 65| await expect(validation).rejects.toThrow("Unsupported reasonin…
bb-plugin-workflows:test:
bb-plugin-workflows:test: Caused by: Error: Unsupported reasoning level for literal workflow selection codex/gpt-test/medium
bb-plugin-workflows:test: ❯ validateWorkflowSource src/workflow-validation.ts:86:15
bb-plugin-workflows:test: ❯ src/workflow-validation.test.ts:63:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test:
bb-plugin-workflows:test: Test Files 2 failed | 12 skipped (14)
bb-plugin-workflows:test: Tests 3 failed | 2 passed | 247 skipped (252)
bb-plugin-workflows:test: Start at 18:11:16
bb-plugin-workflows:test: Duration 9.27s (transform 3.18s, setup 0ms, import 8.06s, tests 8.06s, environment 1.11s)
bb-plugin-workflows:test:
bb-plugin-workflows:test: ELIFECYCLE Test failed. See above for more details.
bb-plugin-workflows#test: ERROR command (TEMP_WORK/base-two/plugins/workflows) /usr/local/bin/pnpm run test --testNamePattern=native reasoning defaults exited (1)
Tasks: 6 successful, 7 total
Cached: 5 cached, 7 total
Time: 10.895s
Failed: bb-plugin-workflows#test
ERROR run failed: command exited (1)
Expanded second baseline log
• 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 c47e3abeeb4e3c94
@bb/process-utils:generate:profile-worker: cache hit, replaying logs af134dd652fd4950
@bb/templates:generate:plugin-scaffold: cache hit, replaying logs 82dd16c2b74e6578
@bb/templates:generate:plugin-scaffold:
@bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold TEMP_WORK/base-one/packages/templates
@bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs
@bb/templates:generate:plugin-scaffold:
@bb/templates:generate:templates: cache hit, replaying logs 5136f198268d0f83
@bb/process-utils:generate:profile-worker:
@bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker TEMP_WORK/base-one/packages/process-utils
@bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs
@bb/process-utils:generate:profile-worker:
@bb/templates:generate:templates:
@bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates TEMP_WORK/base-one/packages/templates
@bb/templates:generate:templates: > node ./scripts/generate-templates.mjs
@bb/templates:generate:templates:
@bb/plugin-build:generate: cache hit, replaying logs 31fc21a94ba6fb9c
@bb/plugin-build:generate:
@bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate TEMP_WORK/base-one/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 TEMP_WORK/base-one/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.0)
@get-bb/plugin-sdk:build: cache hit, replaying logs 9805ebfb71aa51ff
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.109 build TEMP_WORK/base-one/packages/plugin-sdk
@get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: Built 23 @get-bb/plugin-sdk runtime entries.
//:ensure-native-modules:
//:ensure-native-modules: > bb@ ensure-native-modules TEMP_WORK/base-two
//:ensure-native-modules: > node scripts/ensure-native-modules.mjs
//:ensure-native-modules:
bb-plugin-workflows:test: cache miss, executing cc9704e62948170d
bb-plugin-workflows:test:
bb-plugin-workflows:test: > bb-plugin-workflows@0.1.0 test TEMP_WORK/base-two/plugins/workflows
bb-plugin-workflows:test: > vitest run --config vitest.config.ts "--testNamePattern=native reasoning defaults"
bb-plugin-workflows:test:
bb-plugin-workflows:test:
bb-plugin-workflows:test: RUN v4.1.1 TEMP_WORK/base-two/plugins/workflows
bb-plugin-workflows:test:
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/cache.test.ts (23 tests | 23 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/data.test.ts (20 tests | 20 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/parser.test.ts (25 tests | 25 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/validation.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ❯ |bb-plugin-workflows| src/workflow-validation.test.ts (7 tests | 1 failed | 4 skipped) 15ms
bb-plugin-workflows:test: × handles native reasoning defaults: 'known'/'medium' 11ms
bb-plugin-workflows:test: ✓ handles native reasoning defaults: 'known'/'high' 2ms
bb-plugin-workflows:test: ✓ handles native reasoning defaults: 'unknown'/'medium' 1ms
bb-plugin-workflows:test: ↓ validates every safely discoverable literal tuple
bb-plugin-workflows:test: ↓ returns canonical phase metadata and validates native display options
bb-plugin-workflows:test: ↓ distinguishes provider, model-load, model, and reasoning failures
bb-plugin-workflows:test: ↓ rejects selected-only models for explicit literal selections
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/settings.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/source-resolution.test.ts (7 tests | 7 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/ui-view.test.ts (2 tests | 2 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/runtime.test.ts (29 tests | 29 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/cli.test.ts (18 tests | 18 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/worker-abort-listeners.test.ts (2 tests | 2 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/server-harness.test.ts (15 tests | 15 skipped)
bb-plugin-workflows:test: ↓ |bb-plugin-workflows| src/app.test.tsx (22 tests | 22 skipped)
bb-plugin-workflows:test: ❯ |bb-plugin-workflows| src/service-policy.test.ts (54 tests | 3 failed | 50 skipped) 12081ms
bb-plugin-workflows:test: × handles native reasoning defaults: 'known'/'medium'/explicit=false 4036ms
bb-plugin-workflows:test: × handles native reasoning defaults: 'known'/'high'/explicit=false 4008ms
bb-plugin-workflows:test: × handles native reasoning defaults: 'known'/'medium'/explicit=true 4016ms
bb-plugin-workflows:test: ✓ handles native reasoning defaults: 'unknown'/'medium'/explicit=false 18ms
bb-plugin-workflows:test: ↓ applies live settings to future run snapshots without mutating existing runs
bb-plugin-workflows:test: ↓ resolves named and path children on the origin host
bb-plugin-workflows:test: ↓ cancels queued workflows when their origin was deleted while offline
bb-plugin-workflows:test: ↓ serializes parallel nested preparation but launches child agents concurrently
bb-plugin-workflows:test: ↓ recovers nested launch ordering after failure and queues inline with path sources
bb-plugin-workflows:test: ↓ shares call ordering, cache identity, and limits with an inline child VM
bb-plugin-workflows:test: ↓ uses global run concurrency and per-run agent concurrency settings
bb-plugin-workflows:test: ↓ accepts JSON-labelled whole-output fences in the structured text fallback
bb-plugin-workflows:test: ↓ accepts unlabelled whole-output fences in the structured text fallback
bb-plugin-workflows:test: ↓ does not normalize an unterminated fence
bb-plugin-workflows:test: ↓ does not normalize a fence with surrounding prose
bb-plugin-workflows:test: ↓ keeps an awaited corrective turn alive until its valid retry completes
bb-plugin-workflows:test: ↓ still cancels a genuinely detached call when its parent succeeds
bb-plugin-workflows:test: ↓ rejects child schema failures and recursive grandchildren
bb-plugin-workflows:test: ↓ rejects unsafe metadata schemas before queueing top-level or child work
bb-plugin-workflows:test: ↓ cancels an executing nested child with its parent run
bb-plugin-workflows:test: ↓ invalidates workflow reads for the origin thread on start, claim, and cancel
bb-plugin-workflows:test: ↓ invalidates workflow reads for phase and call progress, not only run lifecycle
bb-plugin-workflows:test: ↓ does not create or orphan a call when cancellation wins catalog or spawn
bb-plugin-workflows:test: ↓ lets later parallel siblings execute live after an identity failure
bb-plugin-workflows:test: ↓ requires a terminal resume ancestor in the same environment
bb-plugin-workflows:test: ↓ keeps quiet workers alive until the total run timeout
bb-plugin-workflows:test: ↓ fails an archived worker once when its lifecycle event arrives
bb-plugin-workflows:test: ↓ leaves clean shutdown state recoverable without a false notification
bb-plugin-workflows:test: ↓ retries an unsent terminal notification after service restart
bb-plugin-workflows:test: ↓ retries a transient origin lookup before execution check 1
bb-plugin-workflows:test: ↓ retries a transient origin lookup before execution check 2
bb-plugin-workflows:test: ↓ discovers workers once and skips origins of backed-off notifications
bb-plugin-workflows:test: ↓ waits without claim transactions and wakes immediately for a new run
bb-plugin-workflows:test: ↓ wakes queued runs when settings frees capacity
bb-plugin-workflows:test: ↓ wakes queued runs when completion frees capacity
bb-plugin-workflows:test: ↓ wakes queued runs when cancellation frees capacity
bb-plugin-workflows:test: ↓ reconciles origins at startup without polling
bb-plugin-workflows:test: ↓ keeps cleanup pending after stop fails and completes it after restart
bb-plugin-workflows:test: ↓ owns and archives every retry attempt before history expires
bb-plugin-workflows:test: ↓ cancels in-flight work and retains history when the origin is archived
bb-plugin-workflows:test: ↓ does not retire a discovered worker while its spawn response is pending
bb-plugin-workflows:test: ↓ does not retire a worker that attaches while cleanup archives an earlier one
bb-plugin-workflows:test: ↓ still archives an orphaned worker listed behind a slow stop
bb-plugin-workflows:test: ↓ owns a worker returned after cancellation wins the spawn race
bb-plugin-workflows:test: ↓ recovers metadata ownership after a spawn response is lost and the service restarts
bb-plugin-workflows:test: ↓ handles a notification 409 with archived origin = true
bb-plugin-workflows:test: ↓ handles a notification 409 with archived origin = false
bb-plugin-workflows:test: ↓ permanently settles a missing-origin notification
bb-plugin-workflows:test: ↓ archives worker threads before it deletes their expired run
bb-plugin-workflows:test: ↓ retains cleanup ownership after expired history is deleted and retries after restart
bb-plugin-workflows:test: ↓ deletes expired resume chains leaf-first across bounded batches
bb-plugin-workflows:test: ↓ bounds UTF-8 notifications while preserving the stable run marker
bb-plugin-workflows:test: ↓ recognizes transient provider and network failures
bb-plugin-workflows:test: ↓ does not retry deterministic failures
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/service-policy.test.ts > workflow service policy integration > handles native reasoning defaults: 'known'/'medium'/explicit=false
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/service-policy.test.ts > workflow service policy integration > handles native reasoning defaults: 'known'/'medium'/explicit=true
bb-plugin-workflows:test: AssertionError: expected 'Reasoning level "medium" is not suppo…' to be null
bb-plugin-workflows:test:
bb-plugin-workflows:test: - Expected:
bb-plugin-workflows:test: null
bb-plugin-workflows:test:
bb-plugin-workflows:test: + Received:
bb-plugin-workflows:test: "Reasoning level \"medium\" is not supported by codex/gpt-test"
bb-plugin-workflows:test:
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:321:57
bb-plugin-workflows:test: 319| }
bb-plugin-workflows:test: 320| await eventually(() => {
bb-plugin-workflows:test: 321| expect(getRunRequired(test.db, run.id).error).toBeNull();
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 322| expect(test.childCount()).toBe(1);
bb-plugin-workflows:test: 323| });
bb-plugin-workflows:test: ❯ eventually src/service-policy.test.ts:31:13
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:320:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/4]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/service-policy.test.ts > workflow service policy integration > handles native reasoning defaults: 'known'/'high'/explicit=false
bb-plugin-workflows:test: AssertionError: expected 'Reasoning level "high" is not support…' to be null
bb-plugin-workflows:test:
bb-plugin-workflows:test: - Expected:
bb-plugin-workflows:test: null
bb-plugin-workflows:test:
bb-plugin-workflows:test: + Received:
bb-plugin-workflows:test: "Reasoning level \"high\" is not supported by codex/gpt-test"
bb-plugin-workflows:test:
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:321:57
bb-plugin-workflows:test: 319| }
bb-plugin-workflows:test: 320| await eventually(() => {
bb-plugin-workflows:test: 321| expect(getRunRequired(test.db, run.id).error).toBeNull();
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 322| expect(test.childCount()).toBe(1);
bb-plugin-workflows:test: 323| });
bb-plugin-workflows:test: ❯ eventually src/service-policy.test.ts:31:13
bb-plugin-workflows:test: ❯ src/service-policy.test.ts:320:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/4]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test: FAIL |bb-plugin-workflows| src/workflow-validation.test.ts > workflow validation > handles native reasoning defaults: 'known'/'medium'
bb-plugin-workflows:test: AssertionError: promise rejected "Error: Unsupported reasoning level for li…" instead of resolving
bb-plugin-workflows:test: ❯ src/workflow-validation.test.ts:67:33
bb-plugin-workflows:test: 65| );
bb-plugin-workflows:test: 66| if (accepted) {
bb-plugin-workflows:test: 67| await expect(validation).resolves.toMatchObject({ valid: true …
bb-plugin-workflows:test: | ^
bb-plugin-workflows:test: 68| } else {
bb-plugin-workflows:test: 69| await expect(validation).rejects.toThrow("Unsupported reasonin…
bb-plugin-workflows:test:
bb-plugin-workflows:test: Caused by: Error: Unsupported reasoning level for literal workflow selection codex/gpt-test/medium
bb-plugin-workflows:test: ❯ validateWorkflowSource src/workflow-validation.ts:86:15
bb-plugin-workflows:test: ❯ src/workflow-validation.test.ts:67:9
bb-plugin-workflows:test:
bb-plugin-workflows:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/4]⎯
bb-plugin-workflows:test:
bb-plugin-workflows:test:
bb-plugin-workflows:test: Test Files 2 failed | 12 skipped (14)
bb-plugin-workflows:test: Tests 4 failed | 3 passed | 247 skipped (254)
bb-plugin-workflows:test: Start at 18:13:39
bb-plugin-workflows:test: Duration 13.27s (transform 2.86s, setup 0ms, import 8.39s, tests 12.10s, environment 1.14s)
bb-plugin-workflows:test:
bb-plugin-workflows:test: ELIFECYCLE Test failed. See above for more details.
bb-plugin-workflows#test: ERROR command (TEMP_WORK/base-two/plugins/workflows) /usr/local/bin/pnpm run test --testNamePattern=native reasoning defaults exited (1)
Tasks: 6 successful, 7 total
Cached: 5 cached, 7 total
Time: 14.797s
Failed: bb-plugin-workflows#test
ERROR run failed: command exited (1)
Complete repair checks
• turbo 2.10.12
• Packages in scope: bb-plugin-workflows
• Running test, typecheck, lint, prepare:bundled in 1 packages
• Remote caching disabled, using shared worktree cache
//:ensure-native-modules: cache bypass, force executing 898ad35ba3972924
bb-plugin-workflows:lint: cache miss, executing 78b9f103420878c3
@bb/process-utils:generate:profile-worker: cache hit, replaying logs ef93e2d3b40092ef
@bb/process-utils:generate:profile-worker:
@bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker TEMP_WORK/base-one/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 591c2cb8a633b2b3
@bb/plugin-build:generate: cache hit, replaying logs a6cb9f3d373137ed
@bb/templates:generate:plugin-scaffold:
@bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold SOURCE_CHECKOUT/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 SOURCE_CHECKOUT/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 packages/plugin-build/src/generated/host-tailwind.css
@bb/plugin-build:generate: wrote packages/plugin-build/src/generated/host-tailwind-version.ts
@bb/plugin-build:generate: wrote SOURCE_CHECKOUT/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.0)
@bb/templates:generate:templates: cache hit, replaying logs 403196158a4e1206
@bb/templates:generate:templates:
@bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates SOURCE_CHECKOUT/packages/templates
@bb/templates:generate:templates: > node ./scripts/generate-templates.mjs
@bb/templates:generate:templates:
@bb/plugin-build:build: cache hit, replaying logs fb0791773ca07f27
@bb/plugin-build:build:
@bb/plugin-build:build: > @bb/plugin-build@0.0.1 build TEMP_WORK/base-one/packages/plugin-build
@bb/plugin-build:build: > node ../../scripts/build-node-entry.mjs src/cli.ts dist/cli.js --clean-dist
@bb/plugin-build:build:
@get-bb/plugin-sdk:build:types: cache hit, replaying logs 094f125aa38d8a8e
@get-bb/plugin-sdk:build:types:
@get-bb/plugin-sdk:build:types: > @get-bb/plugin-sdk@0.6.109 build:types TEMP_WORK/base-one/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: Wrote bundled-types/bb-plugin-sdk.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-environment-provider.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-machine-provider.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-app.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-host.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-view.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-file-navigation-validation.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-host-policy.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing-app.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing-host.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-rpc-tags.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-rpc-query-host.d.ts
@get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-process.d.ts
bb-plugin-workflows:typecheck: cache miss, executing b18a9fb9f3c7823c
@get-bb/plugin-sdk:build: cache hit, replaying logs 030035e1b522f230
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.109 build TEMP_WORK/base-one/packages/plugin-sdk
@get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs
@get-bb/plugin-sdk:build:
@get-bb/plugin-sdk:build: Built 23 @get-bb/plugin-sdk runtime entries.
bb-plugin-workflows:prepare:bundled: cache miss, executing 53105f8509f57a03
bb-plugin-workflows:typecheck:
bb-plugin-workflows:typecheck: > bb-plugin-workflows@0.1.0 typecheck TEMP_WORK/base-one/plugins/workflows
bb-plugin-workflows:typecheck: > tsrs --noEmit
bb-plugin-workflows:typecheck:
bb-plugin-workflows:prepare:bundled:
bb-plugin-workflows:prepare:bundled: > bb-plugin-workflows@0.1.0 prepare:bundled TEMP_WORK/base-one/plugins/workflows
bb-plugin-workflows:prepare:bundled: > bb-plugin-build prepare-bundled
bb-plugin-workflows:prepare:bundled:
//:ensure-native-modules:
//:ensure-native-modules: > bb@ ensure-native-modules TEMP_WORK/base-one
//:ensure-native-modules: > node scripts/ensure-native-modules.mjs
//:ensure-native-modules:
bb-plugin-workflows:lint:
bb-plugin-workflows:lint: > bb-plugin-workflows@0.1.0 lint TEMP_WORK/base-one/plugins/workflows
bb-plugin-workflows:lint: > oxlint --ignore-pattern node_modules --ignore-pattern dist .
bb-plugin-workflows:lint:
bb-plugin-workflows:test: cache miss, executing dc4e8bfbdfd47de0
bb-plugin-workflows:lint:
bb-plugin-workflows:lint: ! react(refs): Cannot access refs during render
bb-plugin-workflows:lint: ,-[src/app.tsx:499:16]
bb-plugin-workflows:lint: 498 | <button
bb-plugin-workflows:lint: 499 | ref={focus.triggerRef}
bb-plugin-workflows:lint: : ^^^^^^^^|^^^^^^^
bb-plugin-workflows:lint: : `-- Cannot access ref value during render
bb-plugin-workflows:lint: 500 | type="button"
bb-plugin-workflows:lint: `----
bb-plugin-workflows:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
bb-plugin-workflows:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
bb-plugin-workflows:lint:
bb-plugin-workflows:lint: ! react(refs): Cannot access refs during render
bb-plugin-workflows:lint: ,-[src/app.tsx:505:20]
bb-plugin-workflows:lint: 504 | aria-label={`Workflow: ${run.name}`}
bb-plugin-workflows:lint: 505 | onClick={focus.onTriggerClick}
bb-plugin-workflows:lint: : ^^^^^^^^^^|^^^^^^^^^
bb-plugin-workflows:lint: : `-- Cannot access ref value during render
bb-plugin-workflows:lint: 506 | className={cn(
bb-plugin-workflows:lint: `----
bb-plugin-workflows:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
bb-plugin-workflows:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
bb-plugin-workflows:lint:
bb-plugin-workflows:lint: ! react(refs): Cannot access refs during render
bb-plugin-workflows:lint: ,-[src/app.tsx:553:26]
bb-plugin-workflows:lint: 552 | <PromptStackCollapseRow
bb-plugin-workflows:lint: 553 | buttonRef={focus.collapseRef}
bb-plugin-workflows:lint: : ^^^^^^^^|^^^^^^^^
bb-plugin-workflows:lint: : `-- Cannot access ref value during render
bb-plugin-workflows:lint: 554 | controlsId={bodyId}
bb-plugin-workflows:lint: `----
bb-plugin-workflows:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
bb-plugin-workflows:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
bb-plugin-workflows:lint:
bb-plugin-workflows:lint: ! react(refs): Cannot access refs during render
bb-plugin-workflows:lint: ,-[src/app.tsx:556:27]
bb-plugin-workflows:lint: 555 | label={`Collapse workflow ${run.name}`}
bb-plugin-workflows:lint: 556 | onCollapse={focus.onCollapseClick}
bb-plugin-workflows:lint: : ^^^^^^^^^^|^^^^^^^^^^
bb-plugin-workflows:lint: : `-- Cannot access ref value during render
bb-plugin-workflows:lint: 557 | />
bb-plugin-workflows:lint: `----
bb-plugin-workflows:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
bb-plugin-workflows:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
bb-plugin-workflows:lint:
bb-plugin-workflows:lint: Found 4 warnings and 0 errors.
bb-plugin-workflows:lint: Finished in 377ms on 35 files with 21 rules using 20 threads.
bb-plugin-workflows:test:
bb-plugin-workflows:test: > bb-plugin-workflows@0.1.0 test TEMP_WORK/base-one/plugins/workflows
bb-plugin-workflows:test: > vitest run --config vitest.config.ts
bb-plugin-workflows:test:
bb-plugin-workflows:test:
bb-plugin-workflows:test: RUN v4.1.1 TEMP_WORK/base-one/plugins/workflows
bb-plugin-workflows:test:
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/cache.test.ts (23 tests) 14ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/source-resolution.test.ts (7 tests) 10ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/data.test.ts (20 tests) 76ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/ui-view.test.ts (2 tests) 11ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/workflow-validation.test.ts (7 tests) 48ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/settings.test.ts (15 tests) 23ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/validation.test.ts (15 tests) 103ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/parser.test.ts (25 tests) 171ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/runtime.test.ts (29 tests) 187ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/cli.test.ts (18 tests) 125ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/worker-abort-listeners.test.ts (2 tests) 861ms
bb-plugin-workflows:test: ✓ does not retain abort listeners from completed worker polls 813ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/app.test.tsx (22 tests) 1101ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/server-harness.test.ts (15 tests) 2410ms
bb-plugin-workflows:test: ✓ runs a structured workflow asynchronously and notifies its origin 760ms
bb-plugin-workflows:test: ✓ retries a transient provider failure before settling the call 1026ms
bb-plugin-workflows:test: ✓ |bb-plugin-workflows| src/service-policy.test.ts (54 tests) 12236ms
bb-plugin-workflows:test: ✓ keeps quiet workers alive until the total run timeout 814ms
bb-plugin-workflows:test: ✓ retries a transient origin lookup before execution check 2 1026ms
bb-plugin-workflows:test: ✓ keeps cleanup pending after stop fails and completes it after restart 1019ms
bb-plugin-workflows:test: ✓ owns and archives every retry attempt before history expires 2014ms
bb-plugin-workflows:test: ✓ cancels in-flight work and retains history when the origin is archived 1018ms
bb-plugin-workflows:test: ✓ does not retire a discovered worker while its spawn response is pending 1012ms
bb-plugin-workflows:test: ✓ does not retire a worker that attaches while cleanup archives an earlier one 2026ms
bb-plugin-workflows:test: ✓ owns a worker returned after cancellation wins the spawn race 1010ms
bb-plugin-workflows:test: ✓ retains cleanup ownership after expired history is deleted and retries after restart 1024ms
bb-plugin-workflows:test:
bb-plugin-workflows:test: Test Files 14 passed (14)
bb-plugin-workflows:test: Tests 254 passed (254)
bb-plugin-workflows:test: Start at 18:14:36
bb-plugin-workflows:test: Duration 13.42s (transform 2.38s, setup 0ms, import 7.92s, tests 17.38s, environment 1.20s)
bb-plugin-workflows:test:
Tasks: 12 successful, 12 total
Cached: 7 cached, 12 total
Time: 15.011s
Existing dispatch checks
• turbo 2.10.12 • Packages in scope: @bb/server • Running test in 1 packages • Remote caching disabled, using shared worktree cache @bb/templates:generate:templates: cache miss, executing 6b6db1f0ecfcbda2 @bb/templates:generate:plugin-scaffold: cache miss, executing 3c035eaba98ac179 @bb/server:generate:bb-official-marketplace: cache miss, executing 778496c85eb6ab18 //:ensure-native-modules: cache bypass, force executing 6de4acb5be85da73 @bb/process-utils:generate:profile-worker: cache miss, executing b5c4041b8fb54b30 @bb/plugin-build:generate: cache miss, executing f163e4faebf5110f @bb/server:generate:bb-official-marketplace: @bb/server:generate:bb-official-marketplace: > @bb/server@0.0.1 generate:bb-official-marketplace TEMP_WORK/base-one/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/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate TEMP_WORK/base-one/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/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker TEMP_WORK/base-one/packages/process-utils @bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs @bb/process-utils:generate:profile-worker: @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates TEMP_WORK/base-one/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 TEMP_WORK/base-one //: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 TEMP_WORK/base-one/packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @get-bb/plugin-sdk:build:types: cache miss, executing 7ab9021fd04cea6d @get-bb/plugin-sdk:build: cache miss, executing c9c177e0f9887e61 @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.109 build TEMP_WORK/base-one/packages/plugin-sdk @get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build:types: @get-bb/plugin-sdk:build:types: > @get-bb/plugin-sdk@0.6.109 build:types TEMP_WORK/base-one/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: Built 23 @get-bb/plugin-sdk runtime entries. @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 TEMP_WORK/base-one/packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.3.0) @bb/agent-runtime:generate:test-bridges: cache miss, executing 8e5699f623a0b1f7 @bb/agent-runtime:generate:test-bridges: @bb/agent-runtime:generate:test-bridges: > @bb/agent-runtime@0.0.1 generate:test-bridges TEMP_WORK/base-one/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: [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-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 @bb/server:test: cache miss, executing 8dc18f4704152e10 @bb/server:test: @bb/server:test: > @bb/server@0.0.1 test TEMP_WORK/base-one/apps/server @bb/server:test: > vitest run --config vitest.config.ts "test/threads/thread-command-reasoning.test.ts" @bb/server:test: @bb/server:test: @bb/server:test: RUN v4.1.1 TEMP_WORK/base-one/apps/server @bb/server:test: @bb/server:test: (node:11536) 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| test/threads/thread-command-reasoning.test.ts (3 tests) 1322ms @bb/server:test: @bb/server:test: Test Files 1 passed (1) @bb/server:test: Tests 3 passed (3) @bb/server:test: Start at 18:15:25 @bb/server:test: Duration 10.22s (transform 5.47s, setup 1.51s, import 5.44s, tests 1.32s, environment 0ms) @bb/server:test: Tasks: 10 successful, 10 total Cached: 0 cached, 10 total Time: 39.928s
All reproduction code and evidence are inline, following the reports repository's publication rules. Raw local files are not published.