Files
ruvnet__ruflo/scripts/benchmark-graph.mjs
rUv 60f37f2d37 fix(ci): graph benchmark process.exit — eliminate 40-min hang (#2148)
The ADR-130 Phase 6 graph benchmark completed all measurements in ~87s but
sat idle for the remaining ~38min of the 40-min CI job until cancellation:
the sql.js/agentdb bridge keeps a native handle alive that the script's
`_resetBridgeDb()` cleanup (which only nulls the JS reference) can't close.

Add `process.exit(0)` after the report block. Benchmark now exits in <1s
locally with the same 4/6 targets met outcome (write throughput ✓, k-hop
depth=3 ✓, PQ encode ✓, PQ decode ✓; SQLite-footprint ✗, k-hop depth=1 ✗
preserved as informational FAIL lines, not exit code).

Unblocks `graph benchmark (ADR-130 P6)` on main (last 10+ runs cancelled).
2026-05-26 00:14:53 -04:00

11 KiB