Repository navigation
Description
Measured (2026-10-16 to 2026-10-18, last 4 successful PR runs): graph-accuracy-audit.yml takes 9.3 min median, 9.6 max. The slowest step is "Gate span anchoring against the baseline" (3.5 min). It is path-filtered, so it runs on few PRs (4 in the window). This is lower priority than its siblings for that reason.
Where the time goes: one job runs every gate one after another. First setup: tree-sitter-language-pack + pyan3, the TypeScript checker via npm, JDK 21 + scip-java + the Maven cache, the language-crucible corpus and the pinned import-graph repos. Then the gates: import-graph precision/recall, call-resolution vs pyan3, call-resolution vs the TypeScript checker, call-resolution vs scip-java, and span anchoring. The gates don't depend on each other, and each needs only part of the setup. For example, only the scip-java gate needs the JDK.
Proposed
- Split into parallel jobs (a matrix or separate jobs), each installing only what its gate needs: pyan3 / TypeScript / scip-java / span anchoring + import-graph. Each job keeps its own baseline gate and step-summary section. (Graph Accuracy Audit: import-graph as three subsets, lanes rebalanced (Part of #5501) #6581)
- Keep one required check name: add an aggregate job if
graph-accuracy-auditis required. (Graph Accuracy Audit: one job, three parallel gate lanes (Part of #5501) #6100) - Check first whether the setup steps are a large share. If they are, the split gains less, so measure wall time per step from a recent run before deciding on the split. (Graph Accuracy Audit: one job, three parallel gate lanes (Part of #5501) #6100)
Rule: every gate still runs against the same baseline with the same--samples.
Acceptance: PR wall time before and after (target ≤ 5 min), and total runner-minutes, in the PR body.
Activity
ci: split graph-accuracy-audit into parallel per-gate jobs (Part of #…
squid-protocol commentedon Oct 19, 2026
Churn run
5501-20261019T1131Z(host nyx) ended without a PR. Acceptance needs a Graph Accuracy Audit run after the fix, and none had happened yet. Nothing to change in code; the issue stays open until that run is measured.🤖 Generated with Claude Code
graph-accuracy-audit: gate() ran exit in the lane shell, ending the l…
graph-accuracy-audit: clone the crucible in the foreground so the ci_…
Graph Accuracy Audit: one job, three parallel gate lanes (Part of #5501…
8 remaining items
Merge origin/main into churn/5501-20261024T0524Z (Part of #5501)
Merge origin/main into churn/5501-20261024T0524Z (Part of #5501)
Merge origin/main into churn/5501-20261024T0524Z (Part of #5501)
Graph Accuracy Audit: span anchoring as two shards plus the merge gat…
squid-protocol commentedon Oct 24, 2026
#6371 merged: a partial slice of [c:5b57f5a0] "Split into parallel jobs (a matrix or separate jobs), each installing only what its gate needs: pyan3 / TypeScript / scip-java / span anchoring + import-graph. Each job keeps its own baseline gate and"; left: span anchoring now runs as two shards in the one job; separate per-gate jobs were NOT done (measured worse in #5562, reverted in #6100). Wall time vs the 5 min target is not yet measured. (promoter-bot)
squid-protocol commentedon Oct 24, 2026
Churn run
5501-20261024T1821Z(host nyx) ended without a PR. Already satisfied on main (#5562/#6100/#6355/#6371/#6503); no change. 5-min target unmet: queue wait 5-18 min is outside the workflow, exec 6-7.5 min. Checklist done [c:5b57f5a0].Graph Accuracy Audit: import-graph as three language subsets, lanes r…
Graph Accuracy Audit: rebalance the four lanes on run 40160191245's g…
squid-protocol commentedon Oct 25, 2026
Re-measure after #6588 (merged 2026-10-25T05:28:51Z). First non-draft run after it: run 40166452433 (PR #6500, a cpp change). The plan job selected a subset (call-cpp, the three import-graph subsets, both span shards); the other toolchain installs were skipped.
Before (issue body, 2026-10-16 to 18): 9.3 min median, one job running every gate serially.
Gate times, run 40166452433 (the "Graph-accuracy gate times" step summary): import-graph-1 240 s, call-cpp 199 s, span-shard-1 172 s, import-graph-2 171 s, import-graph-3 66 s, span-shard-0 60 s, span-anchoring merge 0 s. Lane totals: 306 s (import-graph-1 + 3), 199 s (cpp), 172 s (span-shard-1), 231 s (import-graph-2 + span-shard-0); a perfect split of the 1008 s is about 252 s.
Full-plan run 40163033519 lane totals: 455 / 536 / 425 / 461 s (mean 469 s). The import-graph-1 lane is 67 s over the mean.
Decision: no code. The slowest lane is 54 s over the ideal split on the first post-merge run (under the 60 s threshold). On the full-plan run it is 67 s over the mean, but import-graph-1 moved from 407 s to 240 s between the two runs, so one sample is too noisy to tune on. Candidate if the next full-plan run shows the same lane over by more than 60 s: move import-graph-3 (66 to 116 s) or call-javascript off the import-graph-1 lane. The 5-min target holds for execution on a partial plan (5.9 min job, 306 s gate step); a full-plan run is still about 10 min.
Checklist state unchanged (the gate ticks it).
🤖 Generated with Claude Code
squid-protocol commentedon Oct 25, 2026
Churn run
5501-20261025T0616Z(host melek) ended without a PR. measurement posted on #5501, no code change; lane rebalance deferred until next full-plan run shows import-graph-1 >60s over meansquid-protocol commentedon Oct 27, 2026
Closing (owner OK, 2026-10-26: close what's done). All three checklist items are ticked. After #6588 the audit job took 5.9 min on a partial plan (run 40166452433), against the 9.3 min this issue started from. The lane rebalance is conditional (only if a full-plan run shows import-graph-1 over 60 s above the mean); open a new issue if that shows up.