Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion content/en/pr_gates/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ You can create rules to block code changes from being merged when a pull request

{{< img src="pr_gates/setup/flaky_tests.png" alt="A PR Gate rule that fails when a pull request introduces at least one new flaky test" style="width:80%" >}}

Use this PR Gate together with [Early Flake Detection][1] to detect newly added flaky tests.

[1]: /tests/flaky_tests/early_flake_detection

Choose a reason for hiding this comment

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

P1 Badge Use a unique label for the Early Flake Detection ref

The newly added reference definition reuses [1], which is already used by the document’s existing link map for Static Code Analysis. Markdown reference labels are document-scoped, so this duplicate causes one of the links to resolve to the wrong destination (either the table’s Static Code Analysis link or the new Early Flake Detection link, depending on parser precedence). Switch this new reference to an unused label and update the inline link to avoid silently misrouting readers.

Useful? React with 👍 / 👎.

{{% /tab %}}
{{< /tabs >}}

Expand Down Expand Up @@ -133,4 +136,4 @@ You can see all of the rules defined by the organization.
[8]: https://app.datadoghq.com/ci/pr-gates
[9]: /monitors/
[10]: /security/code_security/secret_scanning/
[11]: /tests/flaky_tests/
[11]: /tests/flaky_tests/
Binary file modified static/images/pr_gates/setup/flaky_tests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading