Skip to content

fix(testing): grade missing parallel dispatch contracts as not applicable - #2900

Merged
bokelley merged 2 commits into
mainfrom
conductor/fix-adcp-client-2859
Sep 14, 2026
Merged

bokelley merged 2 commits into
mainfrom
conductor/fix-adcp-client-2859

Conversation

@bokelley

@bokelley bokelley commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • grade a missing parallel_dispatch_runner contract as the canonical not_applicable outcome
  • preserve missing_test_kit_contract / unsatisfied_contract semantics for every other runner contract
  • cover full-storyboard and standalone-step runner entry points and add a patch changeset

Verification

  • node --test-timeout=60000 --test test/lib/storyboard-requires-gate.test.js test/lib/storyboard-parallel-dispatch.test.js (86 passed)
  • npm run typecheck
  • npm run build:lib
  • npm run lint (0 errors; pre-existing warnings only)
  • push hook: format check, typecheck, and library build passed

npm run ci:quick was also attempted. Its full-suite phase encountered unrelated workspace baseline failures: PostgreSQL tests could not connect to their localhost service, cli-project-dx.test.js reproduced an existing scaffold assertion failure in isolation, and a separate batch exhausted the VM Node heap. The focused runner tests, typecheck, build, and lint all pass.

Fixes #2859


Open workspace in Conductor

Comment thread src/lib/testing/storyboard/runner.ts Resolved
@bokelley
bokelley enabled auto-merge (squash) September 14, 2026 12:07
aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Sep 14, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — grading fix routes a missing parallel_dispatch_runner contract to canonical not_applicable instead of unsatisfied_contract, aligning the early requires_contract gate with the existing parallel_dispatch gate.

What I checked:

  • Type inference is sound; the patch changeset accurately reflects the impact (a witness-preserving grading correction, no wire-shape fabrication or normalization).
  • Tests cover both full and standalone runner paths.
  • Diff touches src/lib/** (non-generated) and includes a .changeset/*.md at patch — appropriate for a behavior-consistency fix with no export/param/enum/shape changes.

Medium findings:

  • src/lib/testing/storyboard/runner.ts — the not_applicable/missing_test_kit_contract split can flip overall_passed to false for a required phase mixing both skip categories.

A single medium finding with no blocking issues, no escalation trigger, no gated paths, and no author team gate falls through to the approve row. gated_paths is false (review_decision REVIEW_REQUIRED does not gate here), high_risk is false. Worth a quick look at the overall_passed interaction, but not blocking.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — clean delta pass on the storyboard runner skip grading.

Checked:

  • runner.ts:4727-4738 — reclassification of missing parallel_dispatch_runner contracts to canonical not_applicable is correct and type-safe; does not widen to other unsatisfied-contract reasons. No witness-not-translator violation.
  • runner.ts:3968-3993 — consolidation of the two required-phase skip predicates into a single mixed-reason check is correct.
  • Changeset present and correctly typed patch; tests cover the new paths.

No critical/high/medium findings. Not gated (gated_paths false), no no-auto-approve team match, high_risk false. Prior decision was also approve. None of decision-table rows 1–8 fire; falls through to row 9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parallel_dispatch_runner not implemented; not-found path aborts the storyboard instead of grading not_applicable

1 participant