Document comments.disabled YAML field for Code Coverage#37023
Merged
nikita-tkachenko-datadog merged 7 commits intoMay 27, 2026
Merged
Conversation
Adds a "PR comments" section to the Code Coverage configuration page explaining how to opt out of Code Coverage PR comments via the new `comments.disabled` field, while keeping PR Gate checks active. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Datadog updates a single coverage summary on the PR rather than posting one comment per upload; reword to reflect that without adding extra detail. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Rename heading to "PR Comments", drop the small example, the field reference, and the redundant explanation. Note that gates are unaffected by the setting. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Preview links (active after the
|
Use "summary comment" to match the section heading, drop the gates block from the example (unrelated to comments), and inline the snippet like the Carryforward section does. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
OliviaShoup
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do? What is the motivation?
Adds a "PR comments" section to the Code Coverage Configuration page documenting the new `comments.disabled` YAML field. When set to `true`, Datadog stops adding the Code Coverage section to the pull request summary comment; PR Gate checks continue to evaluate and report as commit checks.
Also updates the top-level example configuration on the page to surface the new field for discoverability (with the explicit default value `false`).
The backing implementation lives in DataDog/dd-source#449253.
Merge instructions
Merge readiness:
Additional notes
Page preview: the new section appears between "PR Gates" and "Carryforward".