You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI minutes: shepherd reconcile runs on 25 workflow_run triggers (204 runs/day, 63% cancelled/skipped); thin workflow_run fan-in #4935
Measured over the 24h to 2026-10-11 21:00Z (500 runs, API cap, so a slight undercount):
Workflow
Runs
Cancelled
Skipped
Median
CI shepherd (reconcile)
204 (41% of all runs)
99
30
0.4 min
Main Watch
45
0
8
0.3 min
Mainframe Ground Truth
25
4
0
14.7 min
Smoke Tests
24
6
0
12.8 min
Class: workflow_run fan-in triggers and duplicate heavy runs. Members:
Shepherd reconcile: it triggers on completion of 25 workflows, with concurrency group shepherd and cancel-in-progress: false. That's a run per finished workflow, so 63% end up cancelled or skipped, and they queue behind each other on the shared group. Fix: trigger only on the workflows that gate merging (the required checks), filter on PR and label in the job's if:, and let the 20-minute cron catch the rest. Expected saving: about 130 runs a day, and less queueing for label merges.
Main Watch: 45 runs a day on workflow_run, 8 skipped. Fix: trigger only on the gate workflows' completion on main.
Heavy jobs on both pull_request and the post-merge push: Mainframe Ground Truth and Smoke Tests, about 500 wall minutes a day combined. Fix: skip the push run when the merged tree equals the tested PR head (e.g. a squash merge of an up-to-date PR), or move to a merge queue. Part of CI v3 (nice-to-haves after CI v2 / #4825) #4847.
Superseded PR pushes: about 2 cancelled per PR workflow per day. Already fine (cancel-in-progress works); listed for completeness.
Acceptance: shepherd reconcile runs fall by more than half with no slower label merges (compare shepherd (label events) merge latency before and after). Main Watch triggers only on gate workflows. Member 3 either lands or is tracked in #4847 with numbers.
Note: this edits .github/workflows and the shepherd, so the churn workers leave it alone (night-shift "Never"). It's for the CI owner (#4825 hand-off).
Siblings: #4959 (Main Watch runs on every green completion; owner decision). Main Watch trim reviewed in #4958: all 15 entries run on main and are acted on, so nothing to cut without dropping push-time watches (owner call).
Closed: all three members have landed: Member 1 (shepherd reconcile fan-in reduction) in PR #4936, Member 2 (Main Watch trigger thinning) in PR #4958, and Member 3 (tested-tree push-run skipping for heavy workflows) in PR #4961. Sibling gaps for remaining workflows are tracked in #4964.
Activity
ci: shepherd reconcile wakes on the required checks only and coalesce…
squid-protocol commentedon Oct 12, 2026
Siblings: #4959 (Main Watch runs on every green completion; owner decision). Main Watch trim reviewed in #4958: all 15 entries run on main and are acted on, so nothing to cut without dropping push-time watches (owner call).
test: every workflow Main Watch subscribes to exists and runs on main…
squid-protocol commentedon Oct 12, 2026
Siblings: #4964 (tested-tree gate for the remaining pull_request+push workflows, the sibling gaps of PR #4961).
ci: skip the push run of Mainframe Ground Truth / Smoke Tests when th…
ci: leave protected smoke-test.yml alone; exempt it in test_cache_keys (
ci: pip caches share one hash-only key; nightly cache prune (Part of #…
squid-protocol commentedon Oct 12, 2026
Closed: all three members have landed: Member 1 (shepherd reconcile fan-in reduction) in PR #4936, Member 2 (Main Watch trigger thinning) in PR #4958, and Member 3 (tested-tree push-run skipping for heavy workflows) in PR #4961. Sibling gaps for remaining workflows are tracked in #4964.
ci(#6675): no cache is saved by a pull request; graph-accuracy seeds …