Files
ruflo/v3/@claude-flow
ReuvenandRuFlo 45ebb11cca test+config: skip SONA keyword extraction + switch to forks pool
Two final fixes for Test V3 100%:

1. memory-ruvector-deep.test.ts:1597
   The 'SONA Optimizer keyword extraction' describe is a sibling of
   'SONA Optimizer' (which I skipped earlier). Same prerequisite —
   needs @ruvector/sona to actually extract keywords. Add the same
   describe.skipIf(!__SONA_PRESENT) wrapper.

2. vitest.config.ts: pool 'threads' → 'forks'
   The previous run crashed with 'Segmentation fault (core dumped)'
   exit 139 during process cleanup, after all tests had reported.
   The likely culprit is onnxruntime-node / ruvector / agentic-flow
   native bindings releasing in the wrong order at process exit.
   With pool='forks', each test file runs in its own subprocess; a
   segfault in one doesn't take down the runner, and exit-time
   crashes happen after results are surfaced.

Trade-off: ~10-20% slower than threads. Acceptable for CI stability;
the alternative is intermittent 'all tests passed but exit code 139'
runs that block publish.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-09 10:08:46 -04:00
..