From 0b03d1970f551414311c626c14ad17ca4663a140 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 20:35:25 +0000 Subject: [PATCH] docs: add changelog entry for flaky test investigation limits --- .../2026-08-26-browser-extension-1-0.mdx | 4 +-- ...vestigation-limits-and-analysis-status.mdx | 26 +++++++++++++++++++ changelog/index.mdx | 8 ++++++ docs.json | 6 +++++ flaky-tests/changelog.mdx | 8 ++++++ 5 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 changelog/2026-09-01-flaky-tests-investigation-limits-and-analysis-status.mdx diff --git a/changelog/2026-08-26-browser-extension-1-0.mdx b/changelog/2026-08-26-browser-extension-1-0.mdx index 2ebe9c09..55a1bf27 100644 --- a/changelog/2026-08-26-browser-extension-1-0.mdx +++ b/changelog/2026-08-26-browser-extension-1-0.mdx @@ -1,8 +1,8 @@ --- -title: "Browser Extension 1.0.0 : Out of beta" +title: "Browser Extension 1.0: Out of beta" description: "The Trunk browser extension graduates from beta with more reliable queue controls, clearer failure details, and groundwork for expanding Merge Queue beyond GitHub." slug: "browser-extension-1-0" -date: "2026-08-26T00:00:00.000Z" +date: "2026-08-26" category: "Merge Queue" type: "update" --- diff --git a/changelog/2026-09-01-flaky-tests-investigation-limits-and-analysis-status.mdx b/changelog/2026-09-01-flaky-tests-investigation-limits-and-analysis-status.mdx new file mode 100644 index 00000000..09d1066d --- /dev/null +++ b/changelog/2026-09-01-flaky-tests-investigation-limits-and-analysis-status.mdx @@ -0,0 +1,26 @@ +--- +title: "Flaky Tests: Investigation limits and clearer analysis status" +description: "Automatic flaky test investigations now have monthly per-repository and per-test limits, and the Analysis tab explains why an analysis was skipped or failed." +slug: flaky-tests-investigation-limits-and-analysis-status +date: 2026-09-01 +category: Flaky Tests +type: update +--- + +**Automatic flaky test investigations are now rate-limited per calendar month, so a burst of newly flaky tests can't consume an unbounded amount of analysis.** + +Two limits apply, and both reset on the first of the month: + +| Limit | Default | +| ---------------------------------------------- | ------- | +| Investigations per repository, per month | 100 | +| Investigations per individual test, per month | 5 | + +What this means for you: + +- **Automatic and MCP-triggered investigations count.** Investigations Trunk starts when a test moves from **Healthy** to **Flaky** or **Broken**, and ones started through the [`fix-flaky-test`](/flaky-tests/reference/mcp-reference/fix-flaky-test) MCP tool, count against both limits. Only investigations that finish and produce a result are counted. +- **Manual investigations are always available.** Investigations you start from a test's detail page in the Trunk app are exempt from both limits, even after a repository or test hits its cap. +- **Clearer status when an analysis doesn't run.** The Analysis tab now shows a banner explaining why an analysis was skipped, such as the monthly limit being reached or a previous run still in progress. +- **Limits can be raised.** If you expect higher volume, such as driving fixes with an agent through MCP, contact [support@trunk.io](mailto:support@trunk.io). + +See the [Autofix Flaky Tests docs](/flaky-tests/agents/autofix-flaky-tests#investigation-limits) for full details. diff --git a/changelog/index.mdx b/changelog/index.mdx index cc256507..8c0d1642 100644 --- a/changelog/index.mdx +++ b/changelog/index.mdx @@ -6,6 +6,14 @@ rss: true ## 2026 +### September 2026 + + + **[Flaky Tests: Investigation limits and clearer analysis status](/changelog/2026-09-01-flaky-tests-investigation-limits-and-analysis-status)** + + Automatic flaky test investigations now have monthly per-repository and per-test limits, and the Analysis tab explains why an analysis was skipped or failed. + + ### August 2026 diff --git a/docs.json b/docs.json index 941e49ef..b4680838 100644 --- a/docs.json +++ b/docs.json @@ -633,6 +633,12 @@ { "group": "2026", "pages": [ + { + "group": "September", + "pages": [ + "changelog/2026-09-01-flaky-tests-investigation-limits-and-analysis-status" + ] + }, { "group": "August", "pages": [ diff --git a/flaky-tests/changelog.mdx b/flaky-tests/changelog.mdx index 72462ed5..8d001a2d 100644 --- a/flaky-tests/changelog.mdx +++ b/flaky-tests/changelog.mdx @@ -7,6 +7,14 @@ og:title: "Trunk Flaky Tests changelog" ## 2026 +### September 2026 + + + **[Flaky Tests: Investigation limits and clearer analysis status](/changelog/2026-09-01-flaky-tests-investigation-limits-and-analysis-status)** + + Automatic flaky test investigations now have monthly per-repository and per-test limits, and the Analysis tab explains why an analysis was skipped or failed. + + ### August 2026