Repository navigation
Graph Accuracy Audit: span anchoring as two shards in the one job (Part of #5501) - #6371
Merged
Merged
Conversation
…e (Part of #5501) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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 16:00
squid-protocol
enabled auto-merge (squash)
October 24, 2026 16:03
Contributor
3 tasks done
Owner
Author
|
No description provided. |
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 #5501.
Checklist: partial [c:5b57f5a0] -- 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.
Needs the owner
This PR edits
.github/workflows/graph-accuracy-audit.yml, which is the whole change, and the queue item carries noallow_workflows. The brief said the grant covers it, but the gate's precheck found none. Dropping the workflow change would empty the PR, so it is kept and flagged: the owner must approve before merge.Design decision (deviates from the issue text)
The issue asks for separate jobs. That was already tried (#5562): five jobs + an aggregate measured 6.5 / 8.8 / 13.3 min wall, because each runner request waited in the queue while setup was only ~30 s per job; #6100 folded it back into one job with three lanes. #6355 then made span anchoring (the longest gate, ~320 s) shardable. This PR is the remaining slice named in #6355: four lanes in the same job and step,
span anchoringas--shard 0/2and--shard 1/2plus the--merge --cibaseline gate. Job namegraph-accuracy-audit(the required check) is unchanged; no aggregate job.Change
.github/workflows/graph-accuracy-audit.yml, gate step only.run_gateruns a command with a per-gate log;gateadds--ci --summary. Shards userun_gate(a shard refuses--ci). Afterwait, the merge runs the one span-anchoring baseline gate, with the same--samples 3, and writes the same step-summary section; it is skipped only if a shard produced no JSON (that shard's failure is already recorded infailed). Other gates and--samplesare untouched.Measurement (acceptance)
Not measurable yet: this is a draft and the workflow skips drafts. Before (from #6100, 3 lanes): lanes 320 / 282 / 274 s, wall 6.1 min with 1.7 min queue wait, ~4.3 runner-min. Expected after: critical lane ~160-180 s of span anchoring if the 4 vCPUs allow, so execution ~3-3.5 min; risk is CPU contention across four lanes (each scan uses cpu_count-1 workers). To be filled from the first ready-for-review run (job step times in the
timesoutput).Class / Sibling gaps
Class: a multi-gate CI audit whose longest lane sets the wall-time floor. Members: span anchoring (handled here, sharded), import-graph (245 s, next-longest; no shard mechanism, only needed if span drops below it), call-java / call-python / call-typescript (194 / 80 / 37 s, already shorter than the lanes). Sibling gaps: queue wait is external (runner capacity, not a repo change); separate jobs per gate: rejected by measurement (#5562), not a gap.
Facts checked
tests/tools/test_ci_retry.py,test_sweep_plan.py,test_ci_critical_path_split.py,test_span_anchor_audit.py: 158 passed.🤖 Generated with Claude Code