Runs
A run is one piece of Merget work on a pull request or batch; learn the kinds of run and what their outcomes mean.
On this page
Everything Merget does for a pull request is recorded as a run: analyzing it, preparing it, testing a batch or merging it. Each run has its own page and a row in your run history, and most runs also update the Merget check on GitHub, so you can see what Merget did and why.
What a run is
A run is one piece of work on one set of inputs: a pull request's head commit, the target it is checked against, and the repository's settings at that moment. When any of those change, the old run no longer describes the pull request, and Merget starts a new one. A pull request usually collects several runs over its life.
Each run records:
its kind and what started it;
its status while it works, and its outcome when it ends;
the counts and findings it produced;
what it resolved, validated and published;
how long each stage took, the tokens it used and the credits it cost.

The run page separates the outcome from the evidence behind it.
What to look for
- The header identifies the pull request, analyzed commits and final outcome.
- Each count is what the analysis detected, the same as in Runs; the line beneath says how many Merget resolved and how many remain.
- Finding dispositions distinguish fixed findings from remaining work. Read Detection and resolution below to review changes.
Run kinds
| Kind | Job kind filter | What it does |
|---|---|---|
| Analyze | Analysis | Checks a pull request against its target in Advisory mode, or, in Queue and Autonomous modes, a fork or bot pull request awaiting a maintainer's approval (Pull requests from forks and bots). It changes nothing and runs none of the pull request's code. |
| Prepare | Preparation | Checks a pull request in Queue or Autonomous mode, resolves conflicts and repairs findings, certifies the result, publishes fixes to the pull request's branch when needed and, unless Merget's own build verified them, stages them for your CI to verify. |
| Land | Merge | Merges one pull request: Merget's own merge in Autonomous mode, or landing one member of a batch. |
| Batch | (none) | Tests several prepared pull requests together. It has no pull request of its own, so its title reads like "Batch 1a2b3c4". |
The run page identifies the kind of work and what started it. Use the queue's Activity tab to follow planning and order changes.
Statuses
A run's status says where it is in its life:
| Status | Meaning |
|---|---|
| Queued | The run is waiting to start. Most runs go straight to Running. |
| Running | The run is working now. |
| Done | The run finished and has an outcome. |
| Failed | The run ended without a result. Its outcome says how: Error, Timed out or Out of memory. |
| Cancelled | The run was stopped before it finished. |
Queued and running runs are active: their duration counts up and their pages update automatically. A preparation's page goes on updating after it is Done, while Merget waits for your CI and the pull request becomes ready to merge; see Live phases and refresh.
Illustration: queue activity, pull request readiness and run results answer different questions.
What to look for
- A queue state describes the repository’s current activity, such as Planning, Preparing batch or Testing on CI. Waiting for gates means a GitHub requirement holds the queue head.
- PR readiness answers whether one pull request can move. Ready in sequence still waits; Ready to merge applies to the cleared queue head.
- A run’s status describes execution; its outcome explains the result. Done with Prepared with fixes is different from a pull request being ready to merge.
Outcomes
The outcome says how a run ended. Once a run has one, its badge shows the outcome instead of the status. Hover the badge to read what it means.
Clean: an Advisory analysis found no textual conflicts and no findings.
Conflicts: an analysis found textual conflicts. Red while a conflict is with the target branch; orange when every conflict is with pull requests ahead in the queue that haven't merged yet, which leaves nothing to do until they merge. When Merget recorded which, the words beside the badge say what the conflicts are with, such as "with main". A run recorded before Merget had this outcome reads Conflicts too, from its conflict count.
Nothing blocking: an Advisory analysis found findings, none that blocks the merge.
Prepared: the pull request was prepared and checked. It can include resolved textual conflicts.
Prepared with fixes: Merget also repaired findings. Read the report to distinguish fixes published to the branch from changes held in the queue candidate.
Waiting for your CI: Merget pushed a fix and your CI is verifying it on a staged commit. The run settles as Prepared or Prepared with fixes when your CI passes (and also, marked not verified in its Verification section, when your CI can't be asked or doesn't answer in time), or as Blocked when it fails. See Verification through your CI.
Blocked: Merget stopped and handed the pull request back. See When Merget hands the work back. In Advisory mode, the analysis found a blocking finding, which the run's reason names; see Findings in Advisory repositories.
Could not publish: the result was ready, but Merget could not push it to the branch.
Merged by Merget: Merget merged the pull request.
Merge declined by GitHub: GitHub declined a merge, and the pull request stays in the queue.
Replaced by a new push, PR closed, PR merged by hand, Outdated, Outdated (target moved): something changed while the run worked. See Outdated runs.
Cancelled, Timed out, Out of memory, Error: the run didn't finish its work. See below.
Every outcome, with its exact label in each place it appears, is in Statuses and outcomes.
Where runs appear
Home. The Recent Runs card shows recent work for the selected Last 7D or Last 30D period. Open a run, or choose View All for the run history. See Home.
The Runs page. Open Runs from the sidebar, or press G then I. It lists every run in your organization. The tiles above the list summarize the loaded runs; the last two, Conflicts detected and Conflicts resolved, count the textual conflicts those runs found and how many of them Merget resolved, and under a run's Textual Conflicts count the list says N resolved when Merget resolved any. See Run history and details.
A repository's Runs tab. On a repository's queue page, switch to Runs (or press 3) for its Recent Runs. View run history → opens the Runs page filtered to that repository or pull request. See Repository queue.
The queue details panel. Select a pull request in the queue: View PR runs opens its run history, and the Preparation details section has a View run link to its latest preparation.
The queue's order and Now line. On a repository's queue page, the run icon beside a row in Merge order opens that pull request's latest run, and View run on the Now line opens the run behind what the queue is doing. See What the queue is doing now.
The check on GitHub. The Merget check's Details link, and the Run details link at the end of its summary, open the run page. See The Merget check.
Elsewhere in the dashboard. Analytics provides chart and detail links for the underlying work; its delivery tiles jump to the relevant charts. The Repositories page shows each repository’s Last run.
Live phases and refresh
While a run is active, its badge has a phase next to it (and under the State badge in run lists) that says what it is doing now:
| Phase | What is happening |
|---|---|
| Starting | The run has just begun. |
| Fetching | Merget is fetching the commits it needs. |
| Queueing | Merget is setting up the pull request for analysis. |
| Analyzing | Merget is analyzing the merged result. |
| Resolving conflicts | Merget is resolving conflicts and repairing findings. |
| Validating | Merget is running your build and tests. Only when Merget's own build is on for the repository. |
| Publishing | Merget is getting the prepared commit ready to push. |
| Composing the batch | Merget is combining the members of a batch. |
Starting shows only briefly. Batch runs don't report their phases, so after that they show only Running.
A preparation's work goes on after its run is Done: Merget pushes the fix, waits for your CI to verify it and then finds the pull request ready to merge. Until then, the badge keeps the newest of these next to it, in the same words as the GitHub check, such as "Fixes pushed; waiting for your CI to verify the merge" or "Verified by your CI". Other finished runs don't show a phase; their outcome says how they ended.
The run page and the Runs list update automatically while a run is active, and only while the browser tab is visible. A preparation's run page also goes on updating after the run is Done, so your CI's verdict and "Ready to merge" appear without a reload: every 30 seconds while something new has happened in the last ten minutes, and every two minutes after that. It stops once there is nothing more to wait for, such as when your CI fails or the run goes out of date, and two hours after the run finished, or once your CI's own time limit has passed if that is longer. A merge run that ended before GitHub confirmed the merge, because GitHub was still finishing it or never answered, also goes on updating on the same schedule, so the merge appears once GitHub completes it.
The run page's Progress card shows the same journey as five steps, Analyze, Prepare, Publish, CI and Merge; see Progress. The queue's details panel shows them in one line under View run.
Counts and findings appear on a running run as soon as analysis completes. They are what the analysis detected and do not drop when the run ends; the run page then adds how many Merget resolved and how many remain. See Outcome tiles.
When Merget resolved textual conflicts, the run page lists them right under the tiles, headed by their number: each file with what it conflicted with, such as "with main", linked to its conflict card. A run recorded before Merget kept a record per conflict shows the heading alone and says its paths were not recorded. In an Advisory repository, where the outcome is a table, a Resolved row sits between Detected and Remaining.
Outdated runs
A run goes out of date when something changes before it finishes, most often a push to the pull request. Its badge names the change when the run recorded it:
| Badge | What happened |
|---|---|
| Replaced by a new push | Someone pushed to the pull request while the run worked. The run for the new commit is the one that counts. |
| PR closed | The pull request was closed while the run worked. |
| PR merged by hand | The pull request was merged on GitHub while the run worked. |
| Outdated | The run didn't record what changed, or what changed was something else, such as the target branch or the repository's setup. The error line under the run's title says more when there is one. |
| Outdated (target moved) | The target branch moved under the prediction Merget was preparing the pull request against. Merget prepares it again on its own, with a new run. The check says "Merget: prediction went stale; preparing again". See Troubleshooting. |
The line under such a run's title is the reason it went out of date, for example "merged on GitHub by octocat while Merget's merge was in flight". It is shown muted, as a note rather than an error: nothing went wrong.
On GitHub the check says the run was stopped or that the head moved while it was in progress. If Merget had already prepared a commit, it doesn't push it ("Inputs changed; obsolete preparation was not published.").
You don't need to do anything. A new run follows on the current inputs when there is something left to do, and that run is the one that counts.
A preparation can also end Could not publish with a reason ending in "preparation superseded" when the pull request changed just before Merget pushed. A fresh preparation follows on its own. If the pull request was closed or merged just then, the run reads PR closed or PR merged by hand instead, and pushes nothing. If the target branch moved off the prediction just then, the run reads Outdated (target moved), pushes nothing, and Merget prepares the pull request again; a target that only landed the pull requests ahead of it, as predicted, changes nothing, and the run publishes.
Cancelled and timed-out runs
| Outcome | What happened | What happens next |
|---|---|---|
| Cancelled | Merget stopped the run, for example during Merget maintenance. The check concludes Cancelled. | Merget picks the work up again on its own shortly afterward, as a new run. You can ignore the cancelled run's error line once the new run appears. |
| Timed out | The run went past Merget's time limit. The status is Failed. | Not retried on its own. Start a new run (below). |
| Out of memory | The run ran out of memory. The status is Failed. | Not retried on its own. Start a new run. |
| Error | The run failed on an error, without a result. The status is Failed, and the check title says the run failed. | Temporary problems are retried automatically a limited number of times, each attempt as its own run. Otherwise start a new run. |
On GitHub, Error, Timed out, Out of memory and Cancelled all conclude Cancelled (neutral in Advisory mode). A run that ended this way keeps its counts but publishes no findings list. If the same failure repeats, contact us.
Start a new run
Apart from the automatic retries for temporary problems, Merget doesn't retry a Blocked, Error, Timed out or Out of memory run on its own while its inputs are unchanged. This keeps a real failure from being retried over and over. A new run starts when:
someone pushes to the pull request;
the target branch moves;
the repository's mode or settings change;
you ask for a retry.
To ask for a retry without changing anything:
From the dashboard. In the repository's queue, select the pull request, use Preparation actions when shown, or expand Preparation details, then click Retry preparation. Only that pull request is analyzed and prepared again, and the queue plan is kept. Anyone with Write access to the repository on GitHub can do this. See Retry preparation.
From GitHub. Click Re-run on the Merget check. This also rebuilds the whole queue plan, and can interrupt a merge that is already running. See Re-run the check.
A connected agent can request a retry when you have granted queue-action permission and both the organization and repository allow it. See Connect coding agents. Fix the cause first when there is one; see Unblock a pull request.
Tokens
A run's page shows a Tokens card: the tokens the run's model calls used, every prompt and generated token, with the split by kind (input, output, cache reads and writes, reasoning) and the number of measured requests, then a row per resolution step and phase with its own tokens and requests. A row the run was stopped before reporting is marked partial. The card names what each step did, never which model did it or what it cost in money.
A run that needed no model calls says so. When Merget's attempts reached a model but no usage was recorded, the card says the tokens are unknown, not zero.
Credits
A run's page shows a Credits card: every charge the run made, with its kind (an analysis, a preparation, a fix attempt, a landing), why Merget ran (a first look, your push, main moving, the queue reordering, a pull request ahead changing) and how it came out. A fix attempt is charged whether or not it produced a fix, and its outcome is shown. A run Merget failed or abandoned is listed at 0 credits with the reason.
Note
A charge is recorded once its run has ended, and is final from then on. Many runs add nothing: the card then says no credits were recorded for the run yet.
Full receipt for #N opens the pull request's receipt in its repository's queue: every run Merget made for the pull request, in order, grouped by the month it was billed in. Analytics totals tokens across your organization, and Settings › Billing shows the organization's plan, this month's credits and the spending cap.