mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
docs(eval-plan): stop the kept daemon before its root is removed
§7 step 8 removed the kept runtime root while the graph session of steps 4-7 may still have a daemon running under it; stop that daemon under the sourced CBM_RUNTIME_DIR first. §13 Reproducibility still cleared ~/.cache/codebase-memory-mcp/*.db and called the harness unflagged, which no longer describes what the harness does: it indexes into a run-private root, and only CBM_BENCH_KEEP_RUNTIME=1 hands that root, via runtime-root.txt, to the graph phase. Signed-off-by: Anton Standrik <astandrik@yandex-team.ru>
This commit is contained in:
1 parent
a2ac0540c1
commit
54c18648c2
1 file changed
+8
-2
@@ -298,6 +298,9 @@ for lang in $ALL_LANGS; do # ALL_LANGS = full 159-name list
|
||||
# + per-language report + (deferred, blind) judge ---
|
||||
|
||||
# --- step 8: delete THIS language's index so the next is cold, then mark done ---
|
||||
# The graph session (steps 4-7) may still have a daemon running under the kept
|
||||
# CBM_RUNTIME_DIR (exported above); stop it before its root goes away.
|
||||
~/.local/bin/codebase-memory-mcp daemon stop || true
|
||||
rm -rf -- "$CBM_BENCH_RUNTIME_ROOT"
|
||||
manifest_mark_done "$lang" "$index_ms"
|
||||
done
|
||||
@@ -865,10 +868,13 @@ Deep-Dive section.
|
||||
# 1. Clone all 159 repos (shallow; skip existing)
|
||||
scripts/clone-bench-repos.sh /tmp/bench
|
||||
|
||||
# 2. Cold index all 159 (LSP cohort in full mode)
|
||||
rm -f ~/.cache/codebase-memory-mcp/*.db
|
||||
# 2. Cold index all 159 (LSP cohort in full mode). Each language is indexed into a run-private
|
||||
# runtime and cache (#1696); CBM_BENCH_KEEP_RUNTIME=1 keeps that root after a successful
|
||||
# index and records its paths in /tmp/eval-results/<lang>/runtime-root.txt. Source it
|
||||
# before the graph phase, then stop the daemon and remove the root, as in §7 step 8.
|
||||
mkdir -p /tmp/eval-results
|
||||
for lang in $ALL_LANGS; do
|
||||
CBM_BENCH_KEEP_RUNTIME=1 \
|
||||
scripts/benchmark-index.sh ~/.local/bin/codebase-memory-mcp "$lang" /tmp/bench/"$lang" /tmp/eval-results
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user