Skip to content

2026.11.7

Choose a tag to compare

@mergify-ci-bot mergify-ci-bot released this 10 Nov 09:31
· 15 commits to main since this release
Immutable release. Only release title and notes can be modified.
48ecd00

The test clients now skip the tests Mergify has in the skipped state instead of running them. In GitHub Actions, a short-lived Mergify token handed in MERGIFY_TOKEN is renewed before it expires, flaky detection reruns nothing after a run that stopped, in every client, and mergify tests quarantines no longer needs a field the API is dropping. On-premise users: read Before you upgrade first.

Before you upgrade

  • On-premise: the test clients and mergify ci junit-process now ask Mergify for the skipped tests along with the quarantined ones, and no on-premise Mergify released so far, 8.18.0 included, serves the skipped state. It refuses the request, and the run goes without quarantine: every quarantined test that fails fails the job. Stay on 2026.11.6 until your Mergify serves the skipped state.

Test clients

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

  • A test Mergify has in the skipped state for the run's branch, pipeline or job is now skipped the framework's way and reported as skipped, with its reason where the framework takes one. Parallel workers and forked processes skip it too, and flaky detection and test retry leave it out. Until now, every client ran it, and its failure failed the job. A test the client cannot reach before it runs still runs: a test in Vitest's browser mode or workerd pool, a Playwright test not imported from @mergifyio/playwright, a Jest project not wrapped with withMergify. Some hooks of a skipped test can still run where the framework keeps them, such as Playwright's beforeAll and afterEach.

  • A short-lived Mergify token (mrt_…) handed in MERGIFY_TOKEN, as gha-mergify-ci exports the one it gets for the job, is now renewed five minutes before it expires, and once more after a 403, in a job that can still ask for an ID token. The mergify ci commands do the same. Until now, the token was sent as given, so requests made more than an hour after the step that got it failed with a 403. An application key is sent as given, as before.

  • When a run stops early (an interrupt, a failure limit such as Playwright's maxFailures, Jest's watch mode), flaky detection now reruns, tags, reports and fails nothing, in every client, and test retry's attempts made during the run stay in its report and spans. Until now, each client decided on its own: Playwright reran tests after maxFailures and its flaky detection report claimed reruns that never happened, and with flaky detection on, Vitest, Jest and parallel Mocha left test retry's attempts out.

  • On a Jenkins pull request build, a file named HEAD in the checkout no longer stops the test clients, mergify ci git-refs, mergify ci scopes and mergify ci queue-info from reading the merge queue's note. Until now, it made the commit ambiguous to git, and the note went unread.

CI

  • On a Jenkins multibranch pull request build, mergify ci scopes-send reads the pull request's head commit from the checkout, under the merge strategy too, so --head-sha is no longer needed there. Pass it when the command runs where git cannot read the checkout, or on an agent that merges with JGit.

Tests

  • mergify tests quarantines list and get now tell whether a test recovered from its health status. Mergify's API is dropping the is_recovered field three months after this release, and until now these commands failed on any record without it: upgrade before then. The "recovered" line and the is_recovered field of --json keep their shape, so scripts reading them keep working.

Agent skills

  • The mergify-config and mergify-merge-queue skills now cover conflict_resolvers, a Preview feature available on request: starting from the auto entry, what auto leaves alone, the strategies that discard one side's change, and how the queue rule's merge_method decides what happens to a resolution.

  • The examples no longer put the Mergify key on a command line, where other users of the host could read it in the process list: mergify ci junit-process reads it from MERGIFY_TOKEN, and the activity log curl reads its header from standard input.

  • The CI examples pin actions/checkout and the Buildkite docker-compose plugin by commit, with the tag as a comment, and the mergify-config validation job asks for contents: read only.