Repository navigation
2026.11.7
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-processnow ask Mergify for the skipped tests along with the quarantined ones, and no on-premise Mergify released so far, 8.18.0 included, serves theskippedstate. 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 theskippedstate.
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
skippedstate 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 withwithMergify. Some hooks of a skipped test can still run where the framework keeps them, such as Playwright'sbeforeAllandafterEach. -
A short-lived Mergify token (
mrt_…) handed inMERGIFY_TOKEN, asgha-mergify-ciexports 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. Themergify cicommands 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 aftermaxFailuresand 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
HEADin the checkout no longer stops the test clients,mergify ci git-refs,mergify ci scopesandmergify ci queue-infofrom 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-sendreads the pull request's head commit from the checkout, under the merge strategy too, so--head-shais 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 listandgetnow tell whether a test recovered from its health status. Mergify's API is dropping theis_recoveredfield three months after this release, and until now these commands failed on any record without it: upgrade before then. The "recovered" line and theis_recoveredfield of--jsonkeep their shape, so scripts reading them keep working.
Agent skills
-
The
mergify-configandmergify-merge-queueskills now coverconflict_resolvers, a Preview feature available on request: starting from theautoentry, whatautoleaves alone, the strategies that discard one side's change, and how the queue rule'smerge_methoddecides 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-processreads it fromMERGIFY_TOKEN, and the activity logcurlreads its header from standard input. -
The CI examples pin
actions/checkoutand the Buildkitedocker-composeplugin by commit, with the tag as a comment, and themergify-configvalidation job asks forcontents: readonly.