rename controller files #3377
Approved these changes.
💡 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
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>
will make docs update in separate pr
<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> <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> <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+ci.job_correlation_id%3A7357bbdc48ced675&referrer=pr-comment&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>
adel121
khewonc
What does this PR do?
Rename controller files, mostly removing
controllerprefix fromcontroller_.gofilesMotivation
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
Describe your test plan
Write there any instructions and details you may have to test your PR.
Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel[1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits