Landing approved PRs
Once you approve a PR or stack, getting it merged still takes attention: CI runs, the base branch moves, and teammates leave comments or dismiss stale approvals. SimpleEdit can carry PRs from approval to merge without waking you for every green check or clean rebase.
There are two ways to land:
- With remote CI (GitHub): a workflow landing task (
lands) watches GitHub, rebases cleanly, fixes red checks or teammate feedback in a loop, and merges when everything is clear. - Without remote CI: the Verify Queue tests the exact merge result locally and merges what passed (
land: true).
What CI-aware landing does
When a workflow reaches a lands task after a review gate, SimpleEdit runs the landing itself rather than keeping a lead or worker session open:
- Watches GitHub. SimpleEdit tracks each approved PR’s checks, base branch, and teammate reviews.
- Rebases cleanly. If the base branch moves, SimpleEdit rebases the PR (and restacks upper layers in a chained stack) as long as the rebase applies cleanly and leaves your approved content unchanged.
- Runs Fixer + Verify on issues. If a required check fails, a teammate asks for changes, or a rebase hits a conflict, SimpleEdit starts a fresh Fixer worker, runs the project’s Verify command through the Verify Queue, and runs a fresh Agent review over the changes since the head you approved. The Fixer drafts replies for teammate comments without posting anything to GitHub.
- Wakes you only when needed. A clean rebase merges without asking you again. If code changed since you approved, or if the Fixer drafted replies for teammates, SimpleEdit opens a new round in the Review Room at the pinned head. You inspect the changes since your last approval, adjust any drafted replies, and choose who to re-request on Submit.
- Merges when clear. Once CI has settled with no required check red, no teammate asks or
CHANGES_REQUESTEDreviews remain, and your approved head (or a clean rebase of it) is covered, SimpleEdit merges the PR or stack bottom-up.
The landing card and popup
In the Workflow tab, each landing task covers one repository (often titled Land · ‹repo›) and shows:
- Phase and round count in the header, such as
Waiting,Fixing · worker 1/3,Your review,QA,Ready to merge,Merging,Landed,Accepted,Needs lead, orBlocked. Merges to <base>chip (blue while the workflow is a draft) and⚠ No re-reviewwhen the workflow opts into shipping fixer changes after the agent reviewer passes.- One row per PR with
#number, CI status, approvals (1/2from the base branch’s rule), and open asks. When GitHub dismissed a teammate’s approval after a push, that PR row includes Re-request @login so you can re-request them in one click. - A Review Room or QA board row while a round or QA board is open, opening it in one click.
Select the card to open its popup with fixed tabs: Overview, Fixer, Verify, and Agent review (plus Lead after an escalation). Overview shows the “Your review” banner with Open Review Room or Open QA board. The Fixer, Verify, and Agent review tabs include an Iteration picker to inspect earlier rounds alongside the live terminals.
When it stops for the lead
SimpleEdit hands the task to the workflow’s lead (Needs lead or Blocked) if a required check stays red for three heads in a row, the Fixer loop hits its round limit or escalates, the base branch uses a merge queue, or GitHub refuses the merge. The lead can fix the problem and resume watching, or accept the task as-is (Accepted, leaving unmerged PRs open).
Verify Queue merge train (land: true)
On repositories without remote CI, you don’t need GitHub checks to settle before merging. Both enqueue_verify (or simpleedit verify enqueue --land from a terminal) and a verify workflow task can set land: true:
- Verified merge result. The Verify Queue batches the approved branch onto fresh
origin/main(or the configured base), runs the command, and merges the PR at the exact head and base it tested. - Automatic merge method. If GitHub cannot rebase-merge a branch (for example, branches with merge commits or over 100 commits), the queue picks another method the repository allows (merge commit or squash) and re-verifies if GitHub refuses the first method at landing.
- Serialized landings. Lands queued together run together, and the Verify Queue waits for a running land to finish merging before the next run starts so requests aren’t tested against stale
main. - Manual fallback. A failed land run can still be merged by hand from the Verify Queue with Land anyway… and a reason.
Both lands and land: true accept a Review Room approval you kept locally in SimpleEdit (or approved on the head branch before opening the PR) at the same head.
My PRs and event triggers
While a running landing task owns a PR:
- My PRs marks the PR
With workflow ‹name›. Its asks and approval don’t count toward your waiting PR count, and Hand to and session controls stay hidden. ci-failedandchanges-askedtriggers skip that PR automatically so they don’t start a separate session beside the workflow.
On your phone
The phone Workflow screen shows the same landing card, lets you open the Review Room when a round is ready for your review, and lets you tap Re-request @login on a PR row with a dismissed teammate approval. QA boards remain desktop-only.
Related
- Running a Workflow
- Running heavy checks in the Verify Queue
- Handling review comments on your PRs
- Reviewing the next round
main moved ahead by one commit.main. No review needed — you stay out of the loop.main and moved on to #413.