Skip to content

Comments

Add YAML-based PR Gates to Code Coverage docs#34625

Merged
ManuelPalenzuelaDD merged 7 commits intomasterfrom
mpalenzuela/code-coverage-yaml-pr-gates
Feb 19, 2026
Merged

Add YAML-based PR Gates to Code Coverage docs#34625
ManuelPalenzuelaDD merged 7 commits intomasterfrom
mpalenzuela/code-coverage-yaml-pr-gates

Conversation

@ManuelPalenzuelaDD
Copy link
Contributor

@ManuelPalenzuelaDD ManuelPalenzuelaDD commented Feb 16, 2026

Summary

  • Document the new gates field in code-coverage.datadog.yml that allows users to define PR coverage gates as code in their repository
  • Update configuration.md with full gate syntax reference, field descriptions, and collapsible examples (basic, service-scoped, code owner-scoped)
  • Update setup.md PR Gates section to present both UI and YAML configuration options
  • Update monorepo_support.md to add a "Using the YAML configuration file" subsection for service/code owner-scoped gates

This PR shouldn't be merged until we finalize deploying the feature.

  • Ready to merge: NO

Document the new `gates` field in `code-coverage.datadog.yml` that allows
users to define PR coverage gates as code in their repository, alongside
the existing UI-based configuration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ManuelPalenzuelaDD ManuelPalenzuelaDD marked this pull request as ready for review February 16, 2026 17:38
@ManuelPalenzuelaDD ManuelPalenzuelaDD requested a review from a team as a code owner February 16, 2026 17:38
Copy link
Contributor

@nikita-tkachenko-datadog nikita-tkachenko-datadog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The YAML gates work for flags too, right? We should mention this, and maybe add a per-flag gate to the list of examples

…d YAML gates

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Contributor

@domalessi domalessi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few suggestions, but overall this looks fantastic! Thanks for the PR!

ManuelPalenzuelaDD and others added 4 commits February 17, 2026 16:06
Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
…d rename example

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Contributor

@domalessi domalessi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for the changes!

@ManuelPalenzuelaDD ManuelPalenzuelaDD merged commit 51b58e9 into master Feb 19, 2026
19 of 22 checks passed
@ManuelPalenzuelaDD ManuelPalenzuelaDD deleted the mpalenzuela/code-coverage-yaml-pr-gates branch February 19, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants