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.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
test: size the daemon-application wait budget for TSan's slowdown tail
Martin Vogel2af28c9d481f
diff --git a/tests/test_daemon_application.c b/tests/test_daemon_application.cindex 218ab13c3..167d5255f 100644--- a/tests/test_daemon_application.c+++ b/tests/test_daemon_application.c@@ -27,7 +27,12 @@#include <stdlib.h>#include <string.h>-enum { APP_TEST_TIMEOUT_MS = 2000, APP_TEST_PATH_CAP = 1024 };+/* Observation-wait budget. This is a HANG DETECTOR, not a latency+ * assertion: every waiter returns the moment its condition holds, so green+ * runs never pay it. It must absorb ThreadSanitizer's 5-20x slowdown on a+ * loaded 3-core CI runner — at 2000 ms the cancel-delivery wait lost the+ * tail of that distribution once in seven otherwise-green TSan rounds. */+enum { APP_TEST_TIMEOUT_MS = 10000, APP_TEST_PATH_CAP = 1024 };typedef struct {char runtime_parent[APP_TEST_PATH_CAP];