← Back to Pull requests

Disable config streaming by default on node agent containers #3736

Closed
unknown closed this pull request without merging on Nov 05, 2026 23:10 UTC
View on GitHub
unknown unknown commented on Nov 05, 2026 21:59 UTC
Author

What does this PR do?

Sets DD_REMOTE_AGENT_CONFIGSTREAM_CONSUMER_ENABLED=false by default on the node agent containers that consume the config stream: core agent (or unprivileged single agent), trace-agent, process-agent, security-agent and system-probe. This matches the container set the Helm chart uses.

Motivation

Mirrors DataDog/helm-charts#3052. Starting with Agent 7.85.0, config stream consumers drop their own environment and take their configuration from the core agent, which loses per-container Agent settings (e.g. per-container DD_LOG_LEVEL).

Additional Notes

  • Check-runner, agent-data-plane, otel-agent, private-action-runner and host-profiler are intentionally not touched, same as the Helm chart.

  • To opt in, set the env var to "true" via spec.override.nodeAgent.containers.<name>.env or spec.global.env. Env vars are merged by name, so the override replaces the default.

  • Adding the env var changes agentspechash, so node agent pods roll once on upgrade.
  • Minimum Agent Versions

    Agent: N/A (this is a no-op on Agents earlier than 7.85.0)
    Cluster Agent: N/A

    Describe your test plan

  • make golden-update: the only golden diffs are the new env var on the containers listed above and the updated agentspechash values.

  • go test ./internal/controller/... ./pkg/... ./cmd/... passes.

  • On a cluster running Agent 7.85.0+, deploy a default DDA and check that the env var is "false" on the core, trace, process, security and system-probe containers, and that per-container settings such as log level are applied. Then set the env var to "true" through an override and check that it replaces the default.
  • 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

    🤖 Generated with Claude Code

    Diff: 261 lines (+195 / -66) across 3 files Reviewer: gabedos Review duration: 71m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.62) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.62 · 261 lines diff across 3 files
    0.62
    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.333
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.062
    Real PR Conversation Timeline
    1 comments
    "Review active on #3736"
    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: 62.4% (MEDIUM) · Higher = larger blast radius
    62.4%
    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: 24.6% · Safe to merge
    24.6%