Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Raise soak query latency threshold to 60s (MSYS2 overhead)

Martin Vogel0c81278777e8
diff --git a/scripts/soak-test.sh b/scripts/soak-test.sh
index fe29de025..12083337d 100755
--- a/scripts/soak-test.sh
+++ b/scripts/soak-test.sh
@@ -437,8 +437,9 @@ fi
MAX_LATENCY=$(awk -F, 'NR>1 && $2!="index_repository" { if ($3>max) max=$3 } END { print max+0 }' "$LATENCY_CSV")
MAX_INDEX=$(awk -F, 'NR>1 && $2=="index_repository" { if ($3>max) max=$3 } END { print max+0 }' "$LATENCY_CSV")
echo "Max query latency: ${MAX_LATENCY}ms (index: ${MAX_INDEX}ms)" | tee -a "$SUMMARY"
-if [ "${MAX_LATENCY:-0}" -gt 10000 ] 2>/dev/null; then
- echo "FAIL: max query latency ${MAX_LATENCY}ms > 10s" | tee -a "$SUMMARY"
+# 60s threshold — MSYS2/Wine adds significant overhead to all operations
+if [ "${MAX_LATENCY:-0}" -gt 60000 ] 2>/dev/null; then
+ echo "FAIL: max query latency ${MAX_LATENCY}ms > 60s" | tee -a "$SUMMARY"
PASS=false
fi