[SDCD-2096] Mention Bits Deployment Analysis rules in deployment gate options #2590
<a target='_blank' href='https://app.datadoghq.com/ci/pipeline-executions?query=ci_level%3Ajob+%40git.commit.sha%3A5324424fa8c7a3fc50d76f3398ecd4dbc1fbac74&referrer=pr-comment&start=1794323589000'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-ok.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-ok-light.svg" alt="Pipelines" align="center" /></picture></a> <a target='_blank' href='https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest+%40git.commit.sha%3A5324424fa8c7a3fc50d76f3398ecd4dbc1fbac74&referrer=pr-comment&start=1794323589000'><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>
<details><summary><b>🎉 All green!</b></summary>
🧪 All tests passed
❄️ No new flaky tests detected
</details>
<sub>
This comment will be updated automatically if new data arrives. <br />
🔗 Commit SHA: 5324424 | <a href="https://docs.datadoghq.com/integrations/guide/source-code-integration/#pr-comments">Docs</a> | <a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RhdGFkb2ctY2kvMjU5MA==?referrer=pr-comment">View more details</a> | Give us <a href="https://dd.enterprise.slack.com/archives/C07E3U2QRMM">feedback</a>!
</sub>
@datadog please fix my ci
I can only run on private repositories.
<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"1c16665f899e889cc31f5d835c5fabbcfae9642e","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-06T13:03:47.679777Z">2026-11-06T13:03:47.679777Z</relative-time> | 1c16665 | Draft marked ready |
<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
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
</details>
<details>
<summary>More details</summary>
The updated option descriptions are consistent with the existing implementation, which forwards version, APM primary tag, and arbitrary rule types to the API.
</details>
Was this helpful? React 👍 or 👎
<sub>Open Bits AI session</sub>
<sub>🤖 Bits Code Review · Commit 1c16665</sub>
<!-- autotest-meta model=gpt-6.1-sol engine=codex reasoning_effort=high verdict=PASS ddrs_bucket=unknown session_id=5e6d5559-c862-40c5-b382-7e515d0a59ac -->
<!-- datadog-code-review reviewer-id=bad90057-5c12-4101-ad47-d91c9dff0f90 -->
<!-- datadog-autotest:v1:prod -->
<!-- datadog-autotest-delivery:v1:prod:b435137007a90f9334433c442a5eb10099aa9e4c694f1060eaba1f1fc258cf3e:bundle -->
Approved these changes.
Approved these changes.
As agreed, let's make sure to update the name with the definitive name if we decide to change it before release
Reminder before merging: the customer-facing name of the "Automatic Detection" rule isn't final. It is "Bits Deployment Analysis" for now, and Mike suggests "Agentic FDD". Once Mike settles the name, update the help text and README here to match. Do not merge until then.
Drarig29
Aaron-9900
What and why?
Deployment Gates now support Bits Deployment Analysis rules (SDCD-2096). Like Faulty Deployment Detection rules, they need
--versionand honor--apm-primary-tag. The help text and README only mentioned Faulty Deployment Detection.How?
Docs-only change to the
--versionand--apm-primary-tagdescriptions indeployment gateand its README. No behavior change: rule types and--configcontents are already passed through to the API as-is.Review checklist
[SDCD-2096]: https://datadoghq.atlassian.net/browse/SDCD-2096?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sub-task: SDCD-3640. Related: ddoghq/dd-source#172740 (API), ddoghq/web-ui#40555 (UI), ddoghq/datadog-api-spec#7501 (OpenAPI), DataDog/terraform-provider-datadog#4510 (Terraform).
[SDCD-3640]: https://datadoghq.atlassian.net/browse/SDCD-3640?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ