Skip to content
Empryo

Pull requests

Follow the GitHub pull requests each tab opens, pushes to or reviews: live checks, reviews and merge state, and merge, close or comment without leaving Empryo.

Tools4 minutes to read
Copy & share
On this page6 sections

Empryo keeps a list of the GitHub pull requests each tab works on. When the agent opens a pull request, pushes to its branch, views it or comments on it, the pull request joins that tab's list. Its state, checks, reviews and merge readiness stay up to date while you work, on the desktop, in the terminal and on your phone.

Tracking is on by default. To turn it off, switch off Track pull requests in Settings → Experimental, or set "github": { "pullPool": false } in your configuration.

What gets trackedLink to this section

A pull request joins a tab's list when, in that tab:

  • the agent runs gh pr create, including several in a loop or at the end of a long script;
  • the agent pushes to a pull request's branch, or views, comments on, closes, reopens or updates it with gh;
  • the agent names it in its final answer (a number, owner/repo#123 or a link);
  • you add it yourself: type its number, or paste a link or owner/repo#123.

What it needsLink to this section

Empryo reads pull requests through the GitHub CLI. Install `gh` and run gh auth login once. The panel tells you what is missing:

NoteWhat it means
Git isn't installedPull requests can't be matched to the folder. Links still work
This folder isn't a Git repoAdd pull requests by link or owner/repo#123
No GitHub remote in this folderAdd pull requests by link or owner/repo#123
GitHub CLI (gh) isn't installedPublic repositories only
GitHub CLI isn't signed inPublic repositories only
GitHub rate limit reachedReading resumes at the time shown

Pull requests in tabs you can see refresh more often than the rest.

Desktop appLink to this section

Open the Pull requests view in the side panel, or type /prs. The view's tab shows how many pull requests the tab has.

  • All tabs or This tab at the top picks whose pull requests you see. All tabs is the default; each card names the tab it belongs to, and clicking that name switches to the tab.
  • Pull requests are grouped into Needs you, In progress, Ready to merge and Merged or closed. A pull request merged or closed more than a day ago moves into the folded Done list.
  • Filter tags narrow the list: All, Failing, Needs review, Ready, Open, Draft, Merged and Closed.
  • Add a pull request takes a number, a link or owner/repo#123.

Open a card to see its merge state, checks, reviews and threads. From there:

ActionWhen
Merge: Squash and merge, Create a merge commit or Rebase and mergeThe pull request is ready to merge
Ready for reviewIt is a draft
CloseIt is open. Asks you to confirm
ReopenIt is closed
Show commentsReads its comments and reviews, newest first

Each card's menu also has Ask agent to fix checks, Ask agent to resolve conflicts, View diff (in the pull request's own project), open in the browser, copy the link or number, Refresh and Remove from list, which you can undo.

Tabs with a pull request show its icon and number on the tab and on project rows. Click it to open the panel on that pull request; with several, pick one from the list.

When the agent's final answer names pull requests, a Pull requests card appears under it with each one's live title and state. Click a row to open it, or Open panel to see them all.

Terminal and headlessLink to this section

/prs lists the pull requests the tab touched, with their state and checks. Open or copy each one from there. It works in the terminal UI, the desktop app and headless runs.

PhoneLink to this section

On iPhone and Android, a chat with pull requests shows the main one on its row: its state, its number, how many more are open, and a red outline when checks fail or there are conflicts. Tap it to see that chat's pull requests. Tap one to see its branch, the size of its diff, and its merge, checks, reviews and threads, with Open on GitHub.

Answers that name pull requests show the same live card as on the desktop.

NextLink to this section