From c7e373355ae772d59df09c1a9537899b9a36d5be Mon Sep 17 00:00:00 2001 From: carlos-alm <127798846+carlos-alm@users.noreply.github.com> Date: Mon, 6 Apr 2026 01:00:57 -0600 Subject: [PATCH] fix: increase embedding benchmark worker timeout to 30 min The 20-minute timeout was too short for CPU-only GitHub Actions runners. Each model needs ~17-20 min for embedding 6k+ symbols, leaving no headroom for the search queries that follow. All 3 model workers were being SIGKILL'd, producing empty results and failing the report update. --- scripts/embedding-benchmark.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/embedding-benchmark.ts b/scripts/embedding-benchmark.ts index 8091cfdc..ff72ec01 100644 --- a/scripts/embedding-benchmark.ts +++ b/scripts/embedding-benchmark.ts @@ -125,7 +125,7 @@ const dbPath = path.join(root, '.codegraph', 'graph.db'); const { MODELS } = await import(srcImport(srcDir, 'domain/search/index.js')); -const TIMEOUT_MS = 1_200_000; // 20 min — model download + embedding can be slow on CI +const TIMEOUT_MS = 1_800_000; // 30 min — CPU-only CI runners need ~20 min per model for 6k+ symbols const hasHfToken = !!process.env.HF_TOKEN; const modelKeys = Object.keys(MODELS); const results = {};