Test CI infrastructure changes on configured Dispatcher targets #25374
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 416 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.361
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #25374"
general
weight: 0.35
HadhemiDD
What does this PR do?
Adds an
InfrastructureRuleto Dispatcher target selection. When a pull request changes the CI plumbing every test job runs (.github/actions/setup-ddev,run-test-job,setup-test-target-scripts,tag-job), the Dispatcher now tests the targets listed in the newdispatcher.batching.test_infrastructure_targetssetting, which defaults to["disk"].A configured target that is not testable fails planning with a
PlanningErrorinstead of being skipped silently.Motivation
Batch jobs run these actions from the pull request checkout, but no rule matched them. A PR that only changes one of them planned zero jobs, as in this run for #25373:
Adding them to the repository-wide rule would fan out to every target (about 857 jobs) for code that runs the same way in each job, varying only by platform and job type. A single target that goes through every branch of
run-test-jobvalidates the change at a fraction of the cost.diskwas chosen because it is the fastest target that covers all of them: unit and E2E jobs on Linux and Windows, including a real Windows E2E environment, plus minimum-base-package jobs on both platforms, which covers the Windows-onlyUV_LINK_MODEstep. Its maximum job durations on master over the last 7 days were 98s (Linux E2E), 58s (Linux min-base), 318s (Windows E2E) and 247s (Windows min-base), with no failed jobs in the last 30 days. The alternatives each miss something:krakendonly runs on Linux.networkdisables its E2E environment on Windows.dns_checkandtcp_checkcover the same jobs but are slower and depend on external DNS and TCP endpoints.Because
diskis the target that exercises every branch, a change to one of these files always adds its jobs, whatever else the pull request selects. The result is the union with the other rules: changing an integration andsetup-ddevruns both that integration anddisk. Another selected target is not enough on its own, since it may not cover every platform and job type. For example,krakendwould leave Windows untested.Planning against this repository with the change applied:
test-batch.ymlandtest-dispatch.ymlstay out of the rule because both are loaded from master, so a pull request cannot exercise its own changes to them.The repository-wide patterns are reviewed against what runs from the pull request checkout in #25375.
Review checklist (to be filled by reviewers)
qa/requiredif this PR needs QA validation, orqa/skip-qaif it does not. Exactly one of the two is required.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged