← Back to Pull requests

rename controller files #3377

Merged
khewonc merged 22 files (0 lines) on Aug 20, 2026 20:03 UTC
View on GitHub
khewonc khewonc commented on Aug 20, 2026 14:10 UTC
Author

What does this PR do?

Rename controller files, mostly removing controller prefix from controller_.go files

Motivation

https://datadoghq.atlassian.net/browse/CONTP-1538

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

Agent: vX.Y.Z

  • Cluster Agent: vX.Y.Z
  • Describe your test plan

    Write there any instructions and details you may have to test your PR.

    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: 0 lines (+0 / -0) across 22 files Reviewer: adel121 Review duration: 352m
    All Vouch review confidence checks passed
    Residual risk 0.05 = Change Risk (0.32) × (1 − Review Confidence (0.83)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.32 · 0 lines diff across 22 files
    0.32
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.77 · 2 substantive comment(s)
    0.77
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    83%
    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
    Mass File Touch mass_file_touch
    0.080
    Diff Size diff_size
    0.000
    Real PR Conversation Timeline
    5 items
    adel121 adel121 approved these changes on Aug 20, 2026 14:11 UTC
    Approved Reviewer

    Approved these changes.

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Aug 20, 2026 14:12 UTC
    Reviewer

    💡 Codex Review

    https://github.com/DataDog/datadog-operator/blob/19365a420fdbbd82bd4551ced10cd51dd108c357/internal/controller/datadogagent/reconcile.go#L1
    <sub><sub>!P2 Badge</sub></sub> Update documentation references to the renamed files

    When maintainers follow the GKE Autopilot deep dive, the “Relevant code” and focused-test entries still point to the removed controller_reconcile_v2.go, controller_reconcile_agent.go, and controller_v2_test.go paths (docs/gke_autopilot/internal.md:38,57-58,167). Update those references to the new reconcile.go, reconcile_agent.go, and reconcile_test.go names so the rename does not leave the development guide pointing at nonexistent files.

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review".
  • If Codex has suggestions, it will comment; otherwise it will react with 👍.

    Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

    </details>

    khewonc khewonc commented on Aug 20, 2026 14:15 UTC
    Author

    will make docs update in separate pr

    datadog-official[bot] datadog-official[bot] commented on Aug 20, 2026 14:23 UTC
    Bot

    <a target='_blank' href='https://app.datadoghq.com/ci/pipeline-executions?query=ci_level%3Ajob+%40ci.status%3Aerror+%40git.commit.sha%3A033f6257da513fb45b31172944c9d2490f56d157&referrer=pr-comment&start=1787250908000'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-warning.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-warning-light.svg" alt="Pipelines" align="center" /></picture></a> &nbsp;<picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/tests-ok.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/tests-ok-light.svg" alt="Tests" align="center" /></picture> &nbsp;<a target='_blank' href='https://app.datadoghq.com/ci/code-coverage/github.com%2Fdatadog%2Fdatadog-operator/pull-requests/3377'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/code-coverage-ok.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/code-coverage-ok-light.svg" alt="Code Coverage" align="center" /></picture></a>

    ⚠️ Warnings

    🚦 1 Pipeline job failed

    <blockquote>
    <div>

    <details open>
    <summary>DataDog/datadog-operator | build_operator_image_amd64 — 🔄 Retry may pass, looks flaky</summary>

    <a href="https://app.datadoghq.com/ci/pipeline-executions?query=ci_level%3Ajob&#43;ci.job_correlation_id%3A7357bbdc48ced675&amp;referrer=pr-comment&amp;start=1787250908000">View in Datadog</a> · <a href="https://gitlab.ddbuild.io/DataDog/datadog-operator/-/jobs/1970479937">View in GitLab</a>
    </details>
    </div>
    </blockquote>

    ℹ️ Info

    🔄 Datadog auto-retried 4 jobs - 1 passed on retry <a href="https://app.datadoghq.com/ci/pipeline-executions?query=ci_level%3Ajob+%40git.repository.id_v2%3A%22github.com%2Fdatadog%2Fdatadog-operator%22+%40git.commit.sha%3A033f6257da513fb45b31172944c9d2490f56d157+%40ci.job.retry_reason%3Aauto_retry&referrer=pr-comment" title="View in Datadog"><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/datadog_icon.svg" alt="View in Datadog" align="center" /></a>

    🎯 Code Coverage (<a target='_blank' href='https://app.datadoghq.com/ci/code-coverage/github.com%2Fdatadog%2Fdatadog-operator/pull-requests/3377'>details</a>)<br>• <strong><span title="Percentage of modified executable lines covered by tests in this PR">Patch Coverage</span></strong>: 100.00%<br>• <strong><span title="Percentage of all executable lines covered by tests in the entire codebase">Overall Coverage</span></strong>: 50.12% <span title="Change in overall coverage compared to the base branch">(+0.00%)</span><br>

    Useful? React with 👍 / 👎

    <sub>
    This comment will be updated automatically if new data arrives. <br />
    🔗 Commit SHA: 033f625 | <a href="https://docs.datadoghq.com/integrations/guide/source-code-integration/#pr-comments">Docs</a> | <a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RhdGFkb2ctb3BlcmF0b3IvMzM3Nw==?referrer=pr-comment">View more details</a> | Give us <a href="https://dd.enterprise.slack.com/archives/C07E3U2QRMM">feedback</a>!
    </sub>

    Reviewers
    Assignees
    khewonc khewonc
    Labels
    risk: low confidence: 83.3% 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: 31.5% (LOW) · Higher = larger blast radius
    31.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: 83.3% · Lower = rushed or shallow review
    83.3%
    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: 5.3% · Safe to merge
    5.3%