Files
codebase-memory-mcp/tests
Andrew Hundt 961cea5d98 perf(store): bulk publish delta edges
Use a connection-local temp table to publish high-fanout file-delta edges in bulk while preserving SQLite ON CONFLICT/json_patch semantics and edge-owner upserts. Small deltas stay on the existing per-edge path via ST_DELTA_EDGE_BULK_MIN so temp-table setup does not penalize tiny exact rows.

Add store-level TDD for repeated endpoint publication, rollback on missing endpoints, and bulk-threshold duplicate edge json_patch merging.

Validation: git diff --check; make -f Makefile.cbm -j16 build/c/test-runner; CBM_ONLY_SUITE=store_nodes build/c/test-runner; CBM_ONLY_SUITE=pipeline build/c/test-runner; make -f Makefile.cbm -j16 cbm; make -f Makefile.cbm lint-source-safety; CBM_PROFILE=1 uv run python scripts/benchmark-incremental-speed.py --matrix --matrix-scenarios fastapi_insert_probe,route_decorator,python_reexport,go_create --fastapi-repo /private/tmp/cbm-test-fastapi-0.99.1-cache --min-speedup 0 --config incremental_exact_max_affected_paths=64.
Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-07-05 05:35:28 -04:00
..
2026-06-03 02:13:30 +02:00