> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Pull request comments

> Flaky Tests provides summary analytics about tests running on Pull Requests

Flaky Tests can post comments on GitHub pull requests that summarize test results across CI jobs. These comments indicate which failures are flaky and include the test’s failure history and related context.

**Note:** Flaky Tests will only post a comment when there are failing tests.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/trunk-4cab4936/FEDBBs5EPDEY6kRF/assets/_shared/github-comment-light.png?fit=max&auto=format&n=FEDBBs5EPDEY6kRF&q=85&s=8c40fe051ddac3cb7a28be2f30c1a2c9" alt="" width="5600" height="2768" data-path="assets/_shared/github-comment-light.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/trunk-4cab4936/FEDBBs5EPDEY6kRF/assets/_shared/github-comment-dark.png?fit=max&auto=format&n=FEDBBs5EPDEY6kRF&q=85&s=7715eb25c0550160ff8671e6b43a8ffc" alt="" width="5600" height="2768" data-path="assets/_shared/github-comment-dark.png" />
</Frame>

Each GitHub comment includes a summary report showing all tests that passed, failed, flaked, were skipped, or were quarantined on the PR.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/trunk-4cab4936/WAR0qJ1WO0rtUlqz/assets/flaky-tests/management/pr-test-summary.png?fit=max&auto=format&n=WAR0qJ1WO0rtUlqz&q=85&s=094f10c3a34f28d759f1b7bb6ae73411" alt="" width="5632" height="2784" data-path="assets/flaky-tests/management/pr-test-summary.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/trunk-4cab4936/WAR0qJ1WO0rtUlqz/assets/flaky-tests/management/pr-test-summary_(1).png?fit=max&auto=format&n=WAR0qJ1WO0rtUlqz&q=85&s=26093c403dc4bc4a36246da0f11060c4" alt="" width="5632" height="2784" data-path="assets/flaky-tests/management/pr-test-summary_(1).png" />
</Frame>

Each test case includes the full stack trace when expanded, and the job run link takes you to the complete CI logs.

## Configuration

Install the [Trunk GitHub App](../../setup-and-administration/github-app-permissions) and [upload JUnit XML](../get-started/frameworks/) test results on pull requests. Once both are in place, expect to start seeing comments on your pull requests soon.

## Disable commenting

Pull Request comments are enabled by default. If you wish to disable the comments, you can do so by navigating to **Settings** → **Repositories** → **\[your repository]** → **Flaky Tests** and toggling the **Summary Flaky Tests Reports** setting.

## Troubleshooting

At any point, feel free to reach out to our team at [support@trunk.io](mailto:support@trunk.io).
