[CONTP-1777] Fix the nightly Autopilot trigger rule #3674
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 260 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.333
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3674"
general
weight: 0.35
khewonc
What does this PR do?
Add
NIGHTLY_BUILD_CONDUCTOR_NAMEto the variables inherited bytrigger_autopilot_nightly. Its nightly rule comparesCONDUCTOR_TARGETagainst this default variable, but the inheritance allowlist removed it before rule evaluation, so GitLab excluded the trigger entirely.Motivation
CONTP-1777. The October 27 nightly pipeline ran the merged Autopilot change and successfully built, published, and deployed the nightly, but never created an Autopilot child pipeline. GitLab's bridge API and CI Lint dry-runs confirmed the missing trigger.
Additional Notes
The existing Conductor target in
ddoghq/k8s-datadog-agent-opsneeds no change. The fix adds only the detached QA trigger; it preserves the single nightly image publication and reuses that pipeline's built image. QA failure and retry duration remain independent of Conductor.The companion failure monitor is still in draft PR ddoghq/terraform-config#60470.
Minimum Agent Versions
No change.
Describe your test plan
mainwith simulated nightly variables: the original configuration excludes the trigger; the fixed configuration adds onlytrigger_autopilot_nightly, withallow_failure: true.make lint: passed, including Go vet.Checklist
tooling).qa/skip-qalabel (CI-only change).[CONTP-1777]: https://datadoghq.atlassian.net/browse/CONTP-1777?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ