Repository navigation
2026.11.6
Flaky detection now works from the branch your tests target, when Mergify tracks it, instead of always the default branch. Jenkins pull request builds report their tests under the pull request's branch and head commit, mergify ci queue-info reads a merge queue batch on a GitHub Actions pull_request build, and mergify stack push no longer dismisses approvals over a conflict the merge queue resolves itself.
Test clients
These apply to every test client: pytest-mergify, rspec-mergify, minitest-mergify, @mergifyio/vitest, @mergifyio/playwright, @mergifyio/jest and @mergifyio/mocha.
-
Flaky detection asks Mergify for the tests of the branch the run targets: the pull request's base, else the branch built. A job on a tracked branch other than the default one, such as
staging, now gets that branch's known and unhealthy tests. Until now, every run got the default branch's, so a test new tostagingbut known onmainwas not treated as new, and the tests rerun were those unhealthy onmain. A branch Mergify does not track still gets the default branch's tests. -
On a Jenkins multibranch pull request build, the test clients and
mergify ci junit-processreport the tests under the branch the pull request comes from (CHANGE_BRANCH, a fork's included) and its head commit. Until now, they reported them underPR-<n>and, under the merge strategy, the merge commit Jenkins makes on the agent, which exists nowhere on GitHub. Runs already reported stay underPR-<n>. Under the merge strategy, the head is read from the checkout's.git: run the tests in the checkout, or mount it with its.gitin a container. -
On a Jenkins multibranch build of a Mergify merge queue draft pull request, Fail First now asks about the draft's batch and files its verdict under the draft's branch and head. Until now, the note was looked up under
PR-<n>, where it never is, so Fail First never asked. -
On CircleCI, when Mergify cannot be asked which pull request a run is for, the end-of-run summary and
mergify ci junit-processnow say so, with the error. Until now, the run was silently treated as a build of its branch, so its quarantine list and the tests flaky detection reran came from that branch. -
Linux builds need glibc 2.28 or newer on every client, as the documentation now states. macOS x86_64 builds are still published, but best effort: only Apple-silicon builds are tested before a release.
@mergifyio/vitest
- A test quarantined under the name Vitest's
junitreporter gives it (<file>.<suites> > <title>), as uploaded throughmergify ci junit-process, is now quarantined by the reporter too, and flaky detection knows it under that name. Until now, the dashboard showed the test quarantined while its failures still failed the job. A report with its ownclassnameTemplate,titleTemplateorancestorSeparatoris not matched.
CI
mergify ci queue-infoprints a merge queue batch on a GitHub Actionspull_requestbuild. Until now, it exitedINVALID_STATE(7) on every batch built from the defaultactions/checkout, which checks out GitHub's merge of the draft rather than its head. It now reads the notemergify ci git-refsreads. A pull request from a fork gets no batch.
Stacks
- When the bottom pull request of a stack conflicts with the trunk and Mergify reports that the merge queue resolves those conflicts when merging,
mergify stack pushno longer rebases: approvals are kept, and a queued bottom pull request stays in its queue. The push says why it skipped the rebase. Until now, it rebased, dismissing every approval in the stack.