Repository navigation
fix(testing): grade missing parallel dispatch contracts as not applicable - #2900
Conversation
There was a problem hiding this comment.
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/*.mdatpatch— 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_contractsplit can flipoverall_passedto 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.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean delta pass on the storyboard runner skip grading.
Checked:
- runner.ts:4727-4738 — reclassification of missing
parallel_dispatch_runnercontracts to canonicalnot_applicableis 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.
Summary
parallel_dispatch_runnercontract as the canonicalnot_applicableoutcomemissing_test_kit_contract/unsatisfied_contractsemantics for every other runner contractVerification
node --test-timeout=60000 --test test/lib/storyboard-requires-gate.test.js test/lib/storyboard-parallel-dispatch.test.js(86 passed)npm run typechecknpm run build:libnpm run lint(0 errors; pre-existing warnings only)npm run ci:quickwas also attempted. Its full-suite phase encountered unrelated workspace baseline failures: PostgreSQL tests could not connect to their localhost service,cli-project-dx.test.jsreproduced 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