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(pipeline): githistory_coupling_limits_output zeroes its commits
Martin Vogel87bffc869317
diff --git a/tests/test_pipeline.c b/tests/test_pipeline.cindex 7684868e4..60a639ae1 100644--- a/tests/test_pipeline.c+++ b/tests/test_pipeline.c@@ -15707,7 +15707,9 @@ TEST(githistory_coupling_limits_output) {int idx = 0;char *pair_files[2450][2]; /* 50*49/2 pairs * 3 repetitions = 3675 commits */char pair_bufs[2450][2][32];- cbm_commit_files_t commits[3675];+ /* Zeroed: the loop sets only files/count, and cbm_compute_change_coupling+ * also reads each commit's timestamp (MSan found it uninitialized). */+ cbm_commit_files_t commits[3675] = {0};int ci = 0;for (int i = 0; i < 50 && ci < 3675; i++) {for (int j = i + 1; j < 50 && ci < 3675; j++) {