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(daemon): widen worker/frontend hang-guard deadlines for slow ARM CI
Martin Vogel8d465bc9ce0d
diff --git a/tests/test_cli.c b/tests/test_cli.cindex 8646be412..422480587 100644--- a/tests/test_cli.c+++ b/tests/test_cli.c@@ -758,7 +758,7 @@ TEST(cli_activation_quiesce_does_not_wait_on_bootstrap_startup) {bool setup =endpoint && manager &&cbm_daemon_runtime_process_build_fingerprint((uint64_t)getpid(), fingerprint) &&- cbm_version_cohort_acquire(manager, &identity, cbm_now_ms() + 15000U, &lease,+ cbm_version_cohort_acquire(manager, &identity, cbm_now_ms() + 45000U, &lease,&conflict) == CBM_VERSION_COHORT_OK &&cbm_daemon_ipc_startup_lock_try_acquire(endpoint, &startup) == 1 && startup;char ready = setup ? 'R' : 'E';diff --git a/tests/test_daemon_frontend.c b/tests/test_daemon_frontend.cindex 02d4aa326..7fe74774b 100644--- a/tests/test_daemon_frontend.c+++ b/tests/test_daemon_frontend.c@@ -68,13 +68,13 @@ enum {/* Hang guards, not benchmarks: starved 3-4-core CI runners need several* seconds for frontend/daemon startup paths that finish instantly on a* dev machine (see the index-supervisor calibration). */- FRONTEND_EOF_TEST_REQUEST_TIMEOUT_MS = 10000,+ FRONTEND_EOF_TEST_REQUEST_TIMEOUT_MS = 30000,FRONTEND_EOF_TEST_CATASTROPHIC_TIMEOUT_S = 30,FRONTEND_BACKPRESSURE_MESSAGE_BYTES = 2 * 1024 * 1024,FRONTEND_BACKPRESSURE_FRONTEND_TIMEOUT_S = 12,FRONTEND_BACKPRESSURE_DAEMON_TIMEOUT_S = 20,- FRONTEND_BACKPRESSURE_RUNTIME_TIMEOUT_MS = 30000,- FRONTEND_BACKPRESSURE_CLEANUP_TIMEOUT_MS = 10000,+ FRONTEND_BACKPRESSURE_RUNTIME_TIMEOUT_MS = 90000,+ FRONTEND_BACKPRESSURE_CLEANUP_TIMEOUT_MS = 30000,/* The production queue is deliberately bounded below this count. Keep the* regression black-box: it must remain valid if the exact capacity changes* while still proving that overload cannot hide an already-pending EOF. */diff --git a/tests/test_index_supervisor.c b/tests/test_index_supervisor.cindex 0f2f28a5a..d94fe7329 100644--- a/tests/test_index_supervisor.c+++ b/tests/test_index_supervisor.c@@ -27,8 +27,8 @@ enum {* old 5 s/3 s deadlines. These are hang guards, not benchmarks: a* genuinely wedged worker still fails loudly here, and the failure* dumps the (empty) worker log as proof. */- INDEX_SUPERVISOR_TEST_TERMINAL_MS = 20000,- INDEX_SUPERVISOR_TEST_READY_MS = 15000,+ INDEX_SUPERVISOR_TEST_TERMINAL_MS = 90000,+ INDEX_SUPERVISOR_TEST_READY_MS = 60000,INDEX_SUPERVISOR_TEST_BACKLOG_LINES = 1024,};