← Back to Pull requests

Remove dormant DatadogAgent deployment reconciliation #3659

Closed
unknown closed this pull request without merging on Oct 26, 2026 14:49 UTC
View on GitHub
unknown unknown commented on Oct 26, 2026 10:18 UTC
Author

What does this PR do?

Remove the unused DatadogAgent (DDA) component registry and its deployment reconciliation, lookup, cleanup, and event helpers, together with tests that exclusively exercise that path.

Motivation

CONTP-2218: DDA delegates workload reconciliation to DatadogAgentInternal (DDAI), so the legacy unmaintained DDA implementation adds maintenance burden without affecting active reconciliation.

Additional Notes

Scoped to the dormant DDA path. DDAI reconciliation, shared rendering helpers, profiles, dependencies, CSI management, and active event emission retain their existing behavior. Other audit (for dead code) findings are tracked separately in CONTP-2227 through CONTP-2235.

Minimum Agent Versions

No change to minimum supported versions.

Agent: unchanged
Cluster Agent: unchanged

Describe your test plan

For QA, e2e tests and internal testing should be sufficient on top of renderer goldens and existing tests; a dedicated manual QA pass is not needed (qa/skip-qa). E2E tests were not run locally.

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

    [CONTP-2218]: https://datadoghq.atlassian.net/browse/CONTP-2218

    Diff: 195 lines (+146 / -49) across 2 files Reviewer: gabedos Review duration: 270m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.59 · 195 lines diff across 2 files
    0.59
    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.316
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.059
    Real PR Conversation Timeline
    1 comments
    "Review active on #3659"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 59.2% (MEDIUM) · Higher = larger blast radius
    59.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: 23.4% · Safe to merge
    23.4%