From 45e8cb5c3ee5e0435725d72360a299a8b8f968b1 Mon Sep 17 00:00:00 2001 From: Sam Gutentag <1404219+samgutentag@users.noreply.github.com> Date: Thu, 28 May 2026 22:22:26 -0700 Subject: [PATCH 1/2] docs(changelog): Flaky Tests Test Collections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add changelog entry for Test Collections — named groups of tests within a repository, each with their own settings, quarantine policies, and scoped views. Upload results to a collection via the Trunk CLI using the collection's short ID. Source eng PRs: trunk-io/trunk2#3583 (CRUD core), #3598 (UI polish), #3660 (collection-level quarantining), #3678 (QA fixes). Linear: TRUNK-18209. Date basis: latest source PR mergedAt (#3678, 2026-04-22). Wired into: changelog/2026-04-22-flaky-tests-test-collections.mdx, docs.json, changelog/index.mdx, flaky-tests/changelog.mdx. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../2026-04-22-flaky-tests-test-collections.mdx | 17 +++++++++++++++++ changelog/index.mdx | 6 ++++++ docs.json | 1 + flaky-tests/changelog.mdx | 8 ++++++++ 4 files changed, 32 insertions(+) create mode 100644 changelog/2026-04-22-flaky-tests-test-collections.mdx diff --git a/changelog/2026-04-22-flaky-tests-test-collections.mdx b/changelog/2026-04-22-flaky-tests-test-collections.mdx new file mode 100644 index 0000000..ee58b82 --- /dev/null +++ b/changelog/2026-04-22-flaky-tests-test-collections.mdx @@ -0,0 +1,17 @@ +--- +title: "Flaky Tests: Test Collections" +description: "Organize tests from a repository into named collections, each with their own settings, quarantine policies, and scoped views." +date: 2026-04-22 +category: Flaky Tests +type: new-feature +--- + +**Test Collections let you organize tests from a repository into named groups, each with their own settings, quarantine policies, and scoped views.** + +A collection is a named group of tests within a repository. Upload test results to a collection directly from the Trunk CLI using the collection's short ID, and you'll see tests, uploads, and configuration scoped to that collection across the Flaky Tests app. + +- **Create, edit, and delete collections** from the Flaky Tests app. Organization admins manage collections; all members can view collections and the tests within them. +- **Collection-level quarantine settings.** Each collection has its own quarantine settings page, so a critical test collection can run different rules than the rest of your suite. +- **Scoped uploads via the CLI.** Pass the collection's short ID with `trunk flakytests upload --collection ` to route results into a specific collection. + +[Read the docs](https://docs.trunk.io/flaky-tests/get-started/test-collections) to learn more. diff --git a/changelog/index.mdx b/changelog/index.mdx index 05e887d..e746bb1 100644 --- a/changelog/index.mdx +++ b/changelog/index.mdx @@ -58,6 +58,12 @@ rss: true The Trunk Chrome Extension brings merge queue controls directly into your GitHub pull request page. + + **[Flaky Tests: Test Collections](/changelog/2026-04-22-flaky-tests-test-collections)** + + Organize tests from a repository into named collections, each with their own settings, quarantine policies, and scoped views. + + **[Merge Queue: Drill Down Into Merge Metrics](/changelog/2026-04-21-merge-queue-drill-down-into-merge-metrics)** diff --git a/docs.json b/docs.json index 763b83c..f926174 100644 --- a/docs.json +++ b/docs.json @@ -623,6 +623,7 @@ "changelog/2026-05-18-flaky-tests-monitor-label-actions", "changelog/2026-05-18-flaky-tests-test-labels", "changelog/2026-04-30-merge-queue-chrome-extension", + "changelog/2026-04-22-flaky-tests-test-collections", "changelog/2026-04-21-merge-queue-drill-down-into-merge-metrics", "changelog/2026-04-13-merge-queue-terraform-provider", "changelog/2026-03-27-flaky-tests-automatically-create-jira-issues-from-webhooks", diff --git a/flaky-tests/changelog.mdx b/flaky-tests/changelog.mdx index fcd22bd..b0f7160 100644 --- a/flaky-tests/changelog.mdx +++ b/flaky-tests/changelog.mdx @@ -38,6 +38,14 @@ rss: true Tag, organize, and filter your test suite with org-wide labels. +### April 2026 + + + **[Flaky Tests: Test Collections](/changelog/2026-04-22-flaky-tests-test-collections)** + + Organize tests from a repository into named collections, each with their own settings, quarantine policies, and scoped views. + + ### March 2026 From a32b92a27b1a53e17ad45d6f102054368797c5c9 Mon Sep 17 00:00:00 2001 From: Sam Gutentag <1404219+samgutentag@users.noreply.github.com> Date: Thu, 28 May 2026 22:25:48 -0700 Subject: [PATCH 2/2] docs(changelog): correct CLI upload flag to --test-collection-short-id verify-docs-against-code found the upload flag is --test-collection-short-id (analytics-cli/cli/src/upload_command.rs), not --collection. Co-Authored-By: Claude Opus 4.8 (1M context) --- changelog/2026-04-22-flaky-tests-test-collections.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/2026-04-22-flaky-tests-test-collections.mdx b/changelog/2026-04-22-flaky-tests-test-collections.mdx index ee58b82..b0fa374 100644 --- a/changelog/2026-04-22-flaky-tests-test-collections.mdx +++ b/changelog/2026-04-22-flaky-tests-test-collections.mdx @@ -12,6 +12,6 @@ A collection is a named group of tests within a repository. Upload test results - **Create, edit, and delete collections** from the Flaky Tests app. Organization admins manage collections; all members can view collections and the tests within them. - **Collection-level quarantine settings.** Each collection has its own quarantine settings page, so a critical test collection can run different rules than the rest of your suite. -- **Scoped uploads via the CLI.** Pass the collection's short ID with `trunk flakytests upload --collection ` to route results into a specific collection. +- **Scoped uploads via the CLI.** Pass the collection's short ID with `--test-collection-short-id ` when uploading results to route them into a specific collection. [Read the docs](https://docs.trunk.io/flaky-tests/get-started/test-collections) to learn more.