From 3b2447c468dc76536571fb12760ca6b9fef322fc Mon Sep 17 00:00:00 2001 From: datadog-bits <263423550+datadog-bits@users.noreply.github.com> Date: Fri, 11 Sep 2026 13:23:19 +0000 Subject: [PATCH] Update Bits Code PR/MR collaboration docs for GitLab and Azure DevOps --- hugo/content/en/bits_ai/bits_code/_index.md | 5 +++-- hugo/content/en/bits_ai/bits_code/setup.md | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hugo/content/en/bits_ai/bits_code/_index.md b/hugo/content/en/bits_ai/bits_code/_index.md index 7a923e720a3..32a8e6a5c1f 100644 --- a/hugo/content/en/bits_ai/bits_code/_index.md +++ b/hugo/content/en/bits_ai/bits_code/_index.md @@ -110,16 +110,17 @@ Bits Code also [ingests custom instructions][33] defined in your repository and Bits Code integrates with [source code providers](#supported-source-code-providers) to: - Create pull or merge requests, generating titles and descriptions based on your repository's pull or merge request template -- Iterate on pull requests in response to comments (GitHub only); mention `@Datadog` in a comment to prompt Bits for updates +- Iterate on pull or merge requests in response to comments on GitHub, GitLab, and Azure DevOps: mention `@Datadog` in a comment to ask Bits Code for updates - Monitor CI logs and pull or merge request state to fix failures and merge blockers +While Bits Code works on your request, it keeps a single status comment up to date on the pull or merge request. The comment shows the state of the run and the actions and links available to you, including a link to the Datadog session when the request is backed by one. When CI Auto-fix is available, the comment also shows its status and controls to fix failing CI checks. + Bits Code never auto-merges PRs or MRs. See all the PRs or MRs that Bits Code is working on in {{< ui >}}Bits AI{{< /ui >}} > {{< ui >}}Bits Code{{< /ui >}} > [{{< ui >}}Sessions{{< /ui >}}][7]. ## Limitations - Bits Code is an AI product, which means it can make mistakes. Use best practices when reviewing and testing agent-generated code. - Bits Code does not support multi-repository investigations. -- When using GitLab, mentioning `@Datadog` in a comment to prompt Bits for updates is not supported. ## Further reading diff --git a/hugo/content/en/bits_ai/bits_code/setup.md b/hugo/content/en/bits_ai/bits_code/setup.md index 0b256000dc1..d924ebb3c1b 100644 --- a/hugo/content/en/bits_ai/bits_code/setup.md +++ b/hugo/content/en/bits_ai/bits_code/setup.md @@ -72,6 +72,7 @@ Set up Bits Code for one of the [supported source code providers][11]. - Contribute to pull requests - Create branch - Read +3. To make CI Auto-fix available in the status comment on pull requests, verify that the service principal can [view builds][105] on each project. Without this permission, the status comment prompts you to grant it instead of offering to fix failing CI checks. If [commit author email validation][104] is enabled, add `no-reply@dtdg.co` to the allowed email addresses. Bits Code uses this address for commits it creates. @@ -79,6 +80,7 @@ If [commit author email validation][104] is enabled, add `no-reply@dtdg.co` to t [102]: /integrations/azure-devops-source-code/ [103]: https://learn.microsoft.com/en-us/azure/devops/repos/git/set-git-repository-permissions [104]: https://learn.microsoft.com/en-us/azure/devops/repos/git/repository-settings#commit-author-email-validation-policy +[105]: https://learn.microsoft.com/en-us/azure/devops/pipelines/policies/permissions {{% /tab %}} {{< /tabs >}}