Repository navigation
graph-accuracy-audit: plan job selects gates by changed language/tool/baseline (Part of #6501) - #6503
Merged
Merged
Conversation
…ol/baseline; toolchains install only for them (Part of #6501) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 17:00
Contributor
…iff can move them (Part of #6501) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 24, 2026 17:18
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
This was referenced Oct 24, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6501 (slice 1 of the language-audit plan-job family; CI cost, #6278).
What
graph-accuracy-audit.ymlgets a stdlibplanjob (tests/tools/graph_accuracy_plan.py, useschange_classifier.area()for the "no gate" reason) that maps changed files to gates:language_standards/languages/<lang>.pyimport_graph_corpus.json) + span anchoringscip_callgraph.py-> java, rust;clang_callgraph.py-> c, cpp;ts_callgraph.js-> typescript, javascript;go_callgraph/-> godetector,prism,call_resolver,network_risk_sensor), the workflow, the planner, crucible pins, the corpus list, any otherlanguage_standardsfileThe job
graph-accuracy-auditkeeps its name,needs: planwithalways(), so a failed plan resolves to every gate. Node/TS, JDK + scip-java cache, rustup + cargo cache, Go, the import-graph corpus fetch and the language-crucible clone each run only when a selected gate needs them; the lanes skip unselected gates (want). One runner, parallel lanes (#5501) kept. Haskell/Dart/Swift/PowerShell-only changes install no JDK, Rust, Go or Node.Class / Sibling gaps
Class: a broad-
paths:per-language audit workflow with no plan job, so every toolchain installs and every gate runs. Covered here:graph-accuracy-audit.yml. Sibling gaps (same plan shape, one PR each or one for the family; none needs a burned-estate program):call-graph-accuracy-audit.yml;tree-sitter-accuracy-audit.yml+-history.yml;tri-comparison-audit.yml+-history.yml;graph-comparison-history.yml;detection-accuracy-audit.yml. Not done: the rustup toolchain cache (not shown to be the slowest install; unmeasured).Replay of the last 50 merged PRs (
graph_accuracy_plan.py --replay 50)paths:filter is unchanged; the plan only narrows what a started run does). Merged PRs that edited this workflow (at least four of the 16) rightly plan all 10 gates._shared_patterns.pyis shared.Tests
tests/tools/test_graph_accuracy_plan.py(66 cases): every gate language, languages without a gate need no toolchain, adapter sharing, core/shared/unknown -> all, docs/tests/engine-tools -> none, union, non-PR event / empty diff -> all, failed plan -> all,call-cvscall-cppprefix, replay counts; workflow agreement (every lane gate is planned, every toolchain step is switch-gated, job name/needs/always/draft gate,paths:covers the planner's inputs). Also green:test_workflow_inputs,test_workflow_draft_gate,test_ci_retry,test_sweep_plan,test_source_reads,pr_gates --fast7/7,audit_check.pyclear.Notes
.claude/rules/ci-workflows.md(cited by the brief) is not on origin/main; I followed the issue text.docs/graph_accuracy.mdalso touched by cpp: a lock-annotation macro below the)is a func_start tail (Part of #3772) #6500; my edit is one appended paragraph.🤖 Generated with Claude Code