mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
iter-98 added a CLI-dispatcher round-trip for drift-from-history but
only asserted JSON shape. iter-67 promised ~19x speedup via
--baseline-file; iter-98 didn't verify that promise actually holds
in CI. A regression that reverts the fast-path to slow would still
produce the correct JSON shape (path field, skippedAuditList) but
take ~26s instead of ~1.4s.
WHAT SHIPPED — metaharness-ci.yml iter-98 step extended
After the iter-95 path + iter-66 skippedAuditList assertions:
WALL=$(node -e "
const j = JSON.parse(\`\$OUT\`);
console.log(j.timing?.parallelWallMs ?? 0);
")
if [ "$WALL" -gt 30000 ]; then
echo "FAIL: dispatcher fast-path wall ${WALL}ms > 30000ms (regression?)"
exit 1
fi
Budget rationale: iter-67 measured 1.4s on Apple Silicon. CI runners
are ~3-5x slower. 30s budget gives ~5x headroom from the local
baseline while still catching a 10x regression (slow path's 26s
fits inside the budget — so this catches the regression to slow path
ONLY when CI is already slow, but most CI runs are <30s for the
fast path).
A stricter budget (5s, 10s) would risk false positives on slow CI
runners. 30s is the lowest budget that's reliably safe across
GitHub-Actions runner classes.
The pass-message now includes the actual measured wall:
✓ drift-from-history dispatcher round-trip green (fast-path via CLI; wall 1342ms)
So even when the budget passes, the Actions UI shows what was measured —
ops users can spot creeping regressions (e.g., wall trending from 1.4s
to 5s over weeks) before they breach the 30s ceiling.
SMOKE STEP 17z62 anchors:
- Wall-budget failure message literal
- parallelWallMs extraction in node -e
- WALL variable assignment
GATES THIS ITER
smoke: 101 → 102 (step 17z62 green)
yaml: python yaml.safe_load passes
ci: iter-98 step now also gates wall < 30s
DISPATCHER-LAYER ARC + PERF (iters 42-66-67-95-97-98-99)
42 — dispatcher flag-drop fix
66 — --baseline-key fast-path (~14x)
67 — --baseline-file fast-path (~19x)
95 — timing.path field
97 — weekly cron summary surfaces path
98 — CI dispatcher JSON shape contract
99 — CI dispatcher wall budget ◀ this iter
The dispatcher path is now contract-anchored at BOTH the shape level
(iter 98) AND the performance level (iter 99). A regression in either
fails CI with a specific named error.
Co-Authored-By: RuFlo <ruv@ruv.net>