Skip to content

2026.11.12

Choose a tag to compare

@mergify-ci-bot mergify-ci-bot released this 17 Nov 15:05
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.
d50d779

Test retry now also retries in runs your merge queue checks: a failing test the target branch already knows is retried there, within the same budget as on the default branch, so a flaky test no longer sends a batch back. A repository that configured test retry gets it in its queue as soon as its jobs run this release. Each test client now names a test's file from the root of the git checkout, so Test Insights locates it in a monorepo too, and mergify ci scopes treats a glob too large or too costly to match as a configuration error, as Mergify does.

Test clients

These apply to every test client: pytest-mergify, rspec-mergify, minitest-mergify, @mergifyio/vitest, @mergifyio/playwright, @mergifyio/jest and @mergifyio/mocha.

  • In a run the merge queue checks, a batch or a pull request checked in place, test retry now retries every failing test the target branch already knows, within the same time budget and per-test limit as on a push to the default branch. A new test is never retried there: it stays flaky detection's to judge, so a pull request cannot merge a new test that is flaky. Quarantined, opted-out and broken tests are left alone, as on the default branch. Until now, test retry only retried on a push to the default branch, and a flaky failure in a queue run failed the check and sent the batch back. A pull request the queue does not check still retries nothing. MERGIFY_TEST_RETRY_ENABLE=false still turns it off for a job. Mergify has to tell the client that its merge queue checks the run's commit: with an on-premise Mergify older than this feature, queue runs retry nothing, as before.
  • Flaky detection and test retry now share one download of the tests the target branch already knows: a run asks for it once, and only when one of them needs it. Until now, flaky detection received the list with its settings on every run, and a queue run with both features on would have downloaded it twice.
  • A test's file, which Test Insights shows in a test's details, above a failure's stack trace and in mergify ci tests show, is now named from the root of the git checkout the run is in, the same way in every client, so a monorepo package's tests include the package's directory. Outside a git checkout, files are named from the directory the run started in. Until now, each client named it from a directory of its own (pytest's rootdir, Vitest's root, Jest's rootDir, Playwright's testDir, the directory Mocha, RSpec or Minitest ran in), and in a monorepo the file could not be found from the repository's root. Test names are unchanged, so quarantine, flaky detection and Test Selection match the same tests as before.

CI

  • mergify ci scopes now refuses a glob past the size Mergify accepts in .mergify.yml as a configuration error, exit code 8. Until now, it failed with exit code 1, as for a bug.
  • When a glob gets too costly to match against a changed file, mergify ci scopes now stops matching it on that file instead of answering slowly, and decides the scopes over all the changed files at once, as Mergify does: a scope another file or glob settles is still reported. Only a scope nothing settles fails the command, with a configuration error naming the glob and saying to rewrite it with fewer ? and character classes after a *.