v3.9.35: Restore HnswAdapter subpath + split heavy learning tests
·
123 commits
to main
since this release
What's New
A test-infrastructure release. Two things land together:
import 'agentic-qe/kernel/hnsw-adapter' works again (PR #497, merged earlier). The compiled file shipped in dist/kernel/hnsw-adapter.js, but the subpath was missing from package.json#exports, so Node ESM strict resolution refused the import. Fixed, with a contract test pinning every declared subpath against future regressions.
Vitest fork workers no longer time out on the heaviest learning tests (issue #448 steps 2 + 3):
- Split
qe-reasoning-bank.test.ts(1019 → 386 lines core, + utilities and feedback-loop companions) andaqe-learning-engine.test.ts(622 → 366 lines core, + patterns and factory companions). Each thematic group runs in its own sequential fork, capping per-fork heap. - Release module-level singletons between tests:
clearEmbeddingCache()+ a new_resetWitnessChainForTests()inafterEach,resetInitialization()inafterAll. Per-test memory growth no longer compounds across the file.
No production-code behavior changes. The two cheap split files (*-utilities.test.ts, *-factory.test.ts) are re-included in test:unit:fast, restoring coverage that was previously dark.
Getting Started
npx agentic-qe init --autoSee CHANGELOG for full details.