From 81d35d5c93a9c5b7419ac064e8e6bb5e0f840cfe Mon Sep 17 00:00:00 2001 From: Sam Gutentag <1404219+samgutentag@users.noreply.github.com> Date: Thu, 28 May 2026 22:29:13 -0700 Subject: [PATCH] docs(changelog): Flaky Tests AI investigations delivered via webhooks Add changelog entry for AI-powered flaky test investigations that run automatically when a test first becomes flaky, delivering findings to a configured webhook endpoint. Source eng PR: trunk-io/trunk2#3475 (Part 8/9: Trigger AI FT investigations and emit results to Svix), merged 2026-04-06. Linear: TRUNK-17938 (no absorbed duplicates). Date basis: source eng PR mergedAt. Wired into all four sites: changelog/2026-04-06-flaky-tests-ai-investigations-webhooks.mdx, docs.json nav, changelog/index.mdx, flaky-tests/changelog.mdx. Co-Authored-By: Claude Opus 4.8 (1M context) --- ...04-06-flaky-tests-ai-investigations-webhooks.mdx | 13 +++++++++++++ changelog/index.mdx | 6 ++++++ docs.json | 1 + flaky-tests/changelog.mdx | 6 ++++++ 4 files changed, 26 insertions(+) create mode 100644 changelog/2026-04-06-flaky-tests-ai-investigations-webhooks.mdx diff --git a/changelog/2026-04-06-flaky-tests-ai-investigations-webhooks.mdx b/changelog/2026-04-06-flaky-tests-ai-investigations-webhooks.mdx new file mode 100644 index 0000000..cc9691c --- /dev/null +++ b/changelog/2026-04-06-flaky-tests-ai-investigations-webhooks.mdx @@ -0,0 +1,13 @@ +--- +title: "Flaky Tests: AI Investigations Delivered via Webhooks" +description: "AI-powered investigations run automatically when a test first becomes flaky, with the findings delivered to your configured webhook endpoint." +date: 2026-04-06 +category: Flaky Tests +type: new-feature +--- + +**AI-powered investigations now run automatically when a test first becomes flaky, and the findings are delivered to your configured webhook endpoint.** + +When the detection engine marks a test as flaky for the first time, Trunk kicks off an AI investigation in the background. The investigation gathers context from CI runs, Git history, and related code, then emits a structured payload to your webhook. This is useful for teams that want flaky test triage to land directly in Slack, a ticket, or any internal automation, without engineers chasing down context by hand. + +[Read the docs](https://docs.trunk.io/flaky-tests/webhooks) to learn more. diff --git a/changelog/index.mdx b/changelog/index.mdx index b96978f..7b41db9 100644 --- a/changelog/index.mdx +++ b/changelog/index.mdx @@ -106,6 +106,12 @@ rss: true Merge Queue can now be managed fully through Terraform. Previously, creating, updating, and managing a Trunk Merge Queue was a manual process handled through our UI. + + **[Flaky Tests: AI Investigations Delivered via Webhooks](/changelog/2026-04-06-flaky-tests-ai-investigations-webhooks)** + + AI-powered investigations run automatically when a test first becomes flaky, with the findings delivered to your configured webhook endpoint. + + **[Flaky Tests: No-Monitors Banner and Jira Custom Fields](/changelog/2026-04-06-flaky-tests-no-monitors-banner-jira-fields)** diff --git a/docs.json b/docs.json index 7e62fe3..a738564 100644 --- a/docs.json +++ b/docs.json @@ -631,6 +631,7 @@ "changelog/2026-04-15-flaky-tests-linked-tickets-survive-moves", "changelog/2026-04-15-flaky-tests-repositories-overview-dashboard", "changelog/2026-04-13-merge-queue-terraform-provider", + "changelog/2026-04-06-flaky-tests-ai-investigations-webhooks", "changelog/2026-04-06-flaky-tests-no-monitors-banner-jira-fields", "changelog/2026-03-27-flaky-tests-automatically-create-jira-issues-from-webhooks", "changelog/2026-03-26-merge-queue-testing-details-api-now-includes-impacted-target-information", diff --git a/flaky-tests/changelog.mdx b/flaky-tests/changelog.mdx index b90cc91..30b95d8 100644 --- a/flaky-tests/changelog.mdx +++ b/flaky-tests/changelog.mdx @@ -70,6 +70,12 @@ rss: true The Flaky Tests landing page now summarizes every repo's flaky test health instead of redirecting into a single repo. + + **[Flaky Tests: AI Investigations Delivered via Webhooks](/changelog/2026-04-06-flaky-tests-ai-investigations-webhooks)** + + AI-powered investigations run automatically when a test first becomes flaky, with the findings delivered to your configured webhook endpoint. + + **[Flaky Tests: No-Monitors Banner and Jira Custom Fields](/changelog/2026-04-06-flaky-tests-no-monitors-banner-jira-fields)**