← Back to Pull requests

upgrade(remote-config): Disable Remote Config for FED customers #17967

Closed
unknown closed this pull request without merging on Jul 07, 2023 08:16 UTC
View on GitHub
unknown unknown commented on Jul 03, 2023 15:17 UTC
Author

What does this PR do?


  • Centralises Remote Configuration enablement check

  • Disables Remote Configuration for FED customers as Remote Config isn't supported for them
  • Motivation


    [RCM-1079]

    Additional Notes


  • This is prep work to enable Remote Config by default. Nothing will change functionally, Remote Configuration isn't enabled by default and isn't supported for FED customers. This PR just enforces that so such customers don't feel threatened when RC gets enabled by default.

  • This won't cover all FED customers as some may be using proxies. We will update documentation accordingly before enabling Remote Configuration by default
  • Possible Drawbacks / Trade-offs


    Enabling Remote Configuration for FED customers will require another agent change in the future

    Describe how to test/QA your changes


    Try to enable FIPS while enabling RC and see that RC is actually disabled in the agent

    Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.

  • Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.

  • A release note has been added or the changelog/no-changelog label has been applied.

  • Changed code has automated tests for its functionality.

  • Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.

  • At least one team/.. label has been applied, indicating the team(s) that should QA this change.

  • If applicable, docs team has been notified or an issue has been opened on the documentation repo.

  • If applicable, the need-change/operator and need-change/helm labels have been applied.

  • If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.

  • If applicable, the config template has been updated.
  • [RCM-1079]: https://datadoghq.atlassian.net/browse/RCM-1079?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    Diff: 316 lines (+237 / -79) across 3 files Reviewer: Yqnn Review duration: 5339m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.64) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.64 · 316 lines diff across 3 files
    0.64
    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.345
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.064
    Real PR Conversation Timeline
    1 comments
    "Review active on #17967"
    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: 63.5% (MEDIUM) · Higher = larger blast radius
    63.5%
    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: 25.1% · Safe to merge
    25.1%