Repository navigation
ci: split graph-accuracy-audit into parallel per-gate jobs (Part of #5501) - #5562
Conversation
…5501) Five gate jobs (import-graph, call-resolution python/typescript/java, span-anchoring), each installing only what it needs, plus an aggregate job that keeps the `graph-accuracy-audit` check name. Same baselines and --samples. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5562 @ 8c4e62d: 2 failed check(s) == Call resolution (Level 2, vs scip-java) (failure) -- real == graph-accuracy-audit (failure) -- real |
|
No description provided. |
Part of #5501 (workflow-only; one hand-written file).
Owner decisions
Owner OK (2026-10-18): graph-accuracy-audit.yml workflow edit for #5501 is approved (allow_workflows)
What
graph-accuracy-audit.ymlran every gate serially in one job. It is now five parallel jobs plus an aggregate:--samples)import-graphimport_graph_accuracy.py --ci --samples 5call-resolution-pythoncall_graph_resolution.py python --ci --samples 5call-resolution-typescript... typescript --ci --samples 5call-resolution-java... java --ci --samples 5span-anchoringspan_anchor_audit.py --ci --samples 3graph-accuracy-audit(aggregate)Each gate keeps its own step-summary section. The
if:draft skip (#5104) is on every job; the aggregate runs withalways()so a failed gate fails it, and a skipped draft skips it as before. Note: this check name is not in the main ruleset's required list (det, full-suite, ground-truth, mypy-audit, ruff-audit), so nothing to re-point.Measurement (3 recent successful PR runs, per-step seconds)
Setup (checkout, python, installs, npm, JDK, cache, crucible, corpus fetch) is ~35 s of ~9.3 min, so the split is worth it: the time is the gates.
import-graph 177-185, span anchoring 208-233, java 59-76, pyan 46-47, TypeScript 23-24.
The "after" row is an estimate until the first run on this PR; I'll fill in measured numbers from it. Wall time meets the <=5 min target. Span anchoring (3.5 min) and import-graph (3 min) are the floor; splitting either further would need changes inside the audit scripts (out of scope).
Class sweep
Class: serial multi-gate CI jobs. Sibling gaps: none in scope;
call-graph-accuracy-audit.yml(Level 1) is a single gate already. Other slow workflows are tracked as their own #5501-family issues.Checks run
tests/tools(minustest_pin_requirements_check_all, which fails on the staleci/requirementspins in this venv and is unrelated to this change), tree-wide guards,test_ci_retry.py(npm install still goes throughci_retry.sh): pass. YAML parses.🤖 Generated with Claude Code
Needs the owner
This PR's whole change is
.github/workflows/graph-accuracy-audit.yml, and the queue item has noallow_workflows:. The change cannot be dropped without emptying the PR, so it needs the owner's sign-off on the workflow edit.The red java gate (scip-java recall 64.9 -> 2.7, precision 99.8 -> 90.5) is not caused by this PR: #5465's run of the old single-job workflow fails with identical numbers. It needs its own issue.