← Back to Pull requests

Fix NPM on GKE Autopilot and remove ADP from e2e coverage #3688

Closed
unknown closed this pull request without merging on Oct 29, 2026 14:56 UTC
View on GitHub
unknown unknown commented on Oct 29, 2026 09:42 UTC
Author

What does this PR do?

Disable protocol classification on system-probe through NPM's Autopilot provider capabilities when NPM is enabled and the Agent version is newer than 7.84.6 (or uses the rolling 7-rc tag), with a TODO linking to the upstream Agent issue.
Remove Agent Data Plane force enablement, assertions, and the explicit-disable rollout test from Autopilot e2e coverage.

Motivation

The Agent RC fails to start NPM's classifier on Autopilot (datadog-agent#59189), while ADP crashes opening its DogStatsD socket on a read-only filesystem. These failures prevent the nightly suite from completing.

Additional Notes

The NPM workaround applies to Agent versions newer than 7.84.6 and the rolling 7-rc tag without requiring a CR override. Agent 7.84.6 and older versions, unknown custom images, and other providers retain their existing behavior. Remove the workaround once the upstream Agent issue is fixed. Keep the existing e2e telemetry checks and general workload diagnostics.

Minimum Agent Versions

Unchanged; the suite continues to use Agent 7-rc and Cluster Agent rc.

Describe your test plan

  • https://gitlab.ddbuild.io/DataDog/datadog-operator/-/jobs/2189805748 (before the version gate)

  • make lint

  • NPM unit tests cover the version boundary, prereleases, rolling RC, full image names, default images, and custom images.

  • Renderer regression tests cover NPM enabled/disabled, both Autopilot annotations, and the default provider using 7-rc.
  • Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies

  • PR has a milestone or the qa/skip-qa label

  • All commits are signed (see: [signing commits][1])
  • [1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

    Diff: 239 lines (+179 / -60) across 2 files Reviewer: khewonc Review duration: 313m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 239 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.328
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3688"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 37.2% (MEDIUM) · Higher = larger blast radius
    37.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.7% · Safe to merge
    14.7%