Base Dispatcher repository-wide paths on what pull request test jobs run #25375
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 303 lines diff across 3 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.342
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #25375"
general
weight: 0.35
HadhemiDD
What does this PR do?
Reworks
REPOSITORY_WIDE_PATTERNS, the paths that make the Dispatcher test every eligible target, around one criterion: a path belongs there only if a pull request's own test jobs run it from the pull request checkout, and a change to it can break some targets but not others.ddev/src/ddev/cli/ci/tests/.test-dispatch.ymlchecks out master and plans, dispatches, and gathers with master's ddev, so a pull request's changes to the Dispatcher never run in its own Dispatcher run. Its unit tests still run through the direct rule on theddevtarget.-
ddev/src/ddev/plugin/external/hatch/, the Hatch environment collector that builds every test environment.-
datadog_checks_dev/datadog_checks/dev/plugin/**, the pytest plugin loaded in every test session. The existingdev/[^/]+\.pypattern skips subdirectories.-
datadog_checks_base/pyproject.tomlanddatadog_checks_dev/pyproject.toml, whose dependencies end up in every test environment.ddev/pyproject.tomlstays out: the direct rule already selects theddevtarget for it. Shared CI actions are handled separately in #25374.Planning against this repository with the change applied:
Motivation
ddev/src/ddev/cli/ci/testshad 51 commits in the last 90 days, each fanning out to every target (about 857 jobs) without exercising the changed code. Meanwhile changes to the Hatch environment collector, the pytest plugin, or the base and dev dependencies, which do run in every job, only selected their own target.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