diff --git a/changelog/2026-10-05-dynamic-ci-configuration-rollout-force-run.mdx b/changelog/2026-10-05-dynamic-ci-configuration-rollout-force-run.mdx new file mode 100644 index 00000000..325e7188 --- /dev/null +++ b/changelog/2026-10-05-dynamic-ci-configuration-rollout-force-run.mdx @@ -0,0 +1,20 @@ +--- +title: "Dynamic CI: Job configuration, rollout modes, and Force Run" +description: "Configure each job's schedule and path filters, roll out Dynamic CI gradually with Learning and Enforced modes, and force skipped jobs to run from GitHub." +slug: dynamic-ci-configuration-rollout-force-run +date: 2026-10-05 +category: Dynamic CI +type: new-feature +--- + +**More control over which jobs Dynamic CI runs, and how you roll it out.** + +## New features + +- **Per-job configuration.** Set a schedule for each job on pull requests and in the merge queue: **Automatic**, **Always Run**, or **Always Skip**. Add path filters to tell Dynamic CI which changes matter to a job. See [Configuration](/ci/dynamic-ci/configuration). +- **Learning and Enforced modes.** Start a repository in **Learning** mode to score jobs without skipping any. Use the allow list to enforce Dynamic CI for selected engineers or GitHub labels, then switch to **Enforced** when you're ready. See [Settings](/ci/dynamic-ci/settings). +- **Force Run from GitHub.** The Trunk browser extension labels skipped jobs as **Skipped by dynamic-ci** and lets you force any of them to run right away. You can also set Force Run from the pull request view in the Trunk web app. See [GitHub Integration](/ci/dynamic-ci/github-integration). + +## Updates + +- **Buildkite.** The Buildkite plugin is now at `v0.1.5`. Add a Buildkite API token in **Settings** → **Organization** → **Buildkite** so Trunk can see the steps it skips. See [Buildkite setup](/ci/dynamic-ci/getting-started/buildkite). diff --git a/changelog/2026-10-05-flaky-tests-collection-ids-cli-downloads-tests-api.mdx b/changelog/2026-10-05-flaky-tests-collection-ids-cli-downloads-tests-api.mdx new file mode 100644 index 00000000..021a45d2 --- /dev/null +++ b/changelog/2026-10-05-flaky-tests-collection-ids-cli-downloads-tests-api.mdx @@ -0,0 +1,20 @@ +--- +title: "Flaky Tests: Collection IDs, faster CLI downloads, and the v2 Tests API" +description: "Uploads now name a test collection, the analytics CLI downloads from trunk.io, and the v2 API adds a Tests reference with ticket linking." +slug: flaky-tests-collection-ids-cli-downloads-tests-api +date: 2026-10-05 +category: Flaky Tests +type: update +--- + +**A few updates to how you upload results and work with the API.** + +## New features + +- **Link a ticket through the API.** The v2 API can now link a ticket to a test. Previously this was only possible in the web app. See the [API reference](/flaky-tests/reference/api-reference). + +## Updates + +- **Uploads name a test collection.** Pass the collection ID with `--test-collection-id`, or `test-collection-id` in GitHub Actions. The ID isn't a secret, so you can put it directly in your workflow. Every [CI provider guide](/flaky-tests/get-started/ci-providers/github-actions) now includes it. See [Migrate to test collections](/flaky-tests/get-started/migrate-to-test-collections). +- **Download the CLI from trunk.io.** Fetch `trunk-analytics-cli` from `trunk.io` instead of GitHub releases, which rate-limits downloads in CI. See the [CLI reference](/flaky-tests/reference/cli-reference#manual-download). +- **v2 "test cases" are now "tests".** The v2 API reference groups its endpoints under **Tests**, matching the rest of the product. diff --git a/changelog/2026-10-05-merge-queue-skip-redundant-bisection-tests.mdx b/changelog/2026-10-05-merge-queue-skip-redundant-bisection-tests.mdx new file mode 100644 index 00000000..4919ca7a --- /dev/null +++ b/changelog/2026-10-05-merge-queue-skip-redundant-bisection-tests.mdx @@ -0,0 +1,18 @@ +--- +title: "Merge Queue: Skip Redundant Bisection Tests" +description: "A new opt-in batching setting reuses failures from the current bisection instead of rerunning the same set of PRs." +slug: merge-queue-skip-redundant-bisection-tests +date: 2026-10-05 +category: Merge Queue +type: new-feature +--- + +**Spend less CI time isolating a failed batch.** + +When a batch fails, bisection can test the same set of PRs more than once. With **Skip Redundant Bisection Tests** on, Trunk skips a test whose exact set of PRs already failed in the same bisection. Those PRs fail with `TEST_RUN_FAILED_BY_OPTIMIZATION`, and bisection keeps splitting them. + +- **Only failures are reused.** A PR never passes without its own test run. +- **Off by default.** Turn it on under **Settings** → **Batching** for your queue, or through the [API](/merge-queue/reference/api-v2/mergequeues/update-a-merge-queues-configuration) or Terraform. +- **Watch for flaky tests.** A flaky failure is reused, not retried. Pair this with [Anti-flake protection](/merge-queue/optimizations/anti-flake-protection) if your queue sees frequent flakes. + +See [Test caching during bisection](/merge-queue/optimizations/batching#test-caching-during-bisection). diff --git a/changelog/index.mdx b/changelog/index.mdx index b61b1290..4edaef7a 100644 --- a/changelog/index.mdx +++ b/changelog/index.mdx @@ -6,6 +6,26 @@ rss: true ## 2026 +### October 2026 + + + **[Dynamic CI: Job configuration, rollout modes, and Force Run](/changelog/2026-10-05-dynamic-ci-configuration-rollout-force-run)** + + Configure each job's schedule and path filters, roll out Dynamic CI gradually with Learning and Enforced modes, and force skipped jobs to run from GitHub. + + + + **[Flaky Tests: Collection IDs, faster CLI downloads, and the v2 Tests API](/changelog/2026-10-05-flaky-tests-collection-ids-cli-downloads-tests-api)** + + Uploads now name a test collection, the analytics CLI downloads from trunk.io, and the v2 API adds a Tests reference with ticket linking. + + + + **[Merge Queue: Skip Redundant Bisection Tests](/changelog/2026-10-05-merge-queue-skip-redundant-bisection-tests)** + + A new opt-in batching setting reuses failures from the current bisection instead of rerunning the same set of PRs. + + ### September 2026 diff --git a/docs.json b/docs.json index 95862db7..d9f77c6d 100644 --- a/docs.json +++ b/docs.json @@ -925,6 +925,14 @@ { "group": "2026", "pages": [ + { + "group": "October", + "pages": [ + "changelog/2026-10-05-dynamic-ci-configuration-rollout-force-run", + "changelog/2026-10-05-flaky-tests-collection-ids-cli-downloads-tests-api", + "changelog/2026-10-05-merge-queue-skip-redundant-bisection-tests" + ] + }, { "group": "September", "pages": [ diff --git a/flaky-tests/changelog.mdx b/flaky-tests/changelog.mdx index cdda14a5..20bc663a 100644 --- a/flaky-tests/changelog.mdx +++ b/flaky-tests/changelog.mdx @@ -7,6 +7,14 @@ og:title: "Trunk Flaky Tests changelog" ## 2026 +### October 2026 + + + **[Flaky Tests: Collection IDs, faster CLI downloads, and the v2 Tests API](/changelog/2026-10-05-flaky-tests-collection-ids-cli-downloads-tests-api)** + + Uploads now name a test collection, the analytics CLI downloads from trunk.io, and the v2 API adds a Tests reference with ticket linking. + + ### September 2026 diff --git a/merge-queue/changelog.mdx b/merge-queue/changelog.mdx index dd3a09b2..7a923c74 100644 --- a/merge-queue/changelog.mdx +++ b/merge-queue/changelog.mdx @@ -7,6 +7,14 @@ og:title: "Trunk Merge Queue changelog" ## 2026 +### October 2026 + + + **[Merge Queue: Skip Redundant Bisection Tests](/changelog/2026-10-05-merge-queue-skip-redundant-bisection-tests)** + + A new opt-in batching setting reuses failures from the current bisection instead of rerunning the same set of PRs. + + ### August 2026