How to test pull requests from AI coding agents before merging

To test a pull request from a coding agent before you merge it, don't go by the agent's word or its own tests: have something else try the change in the running app, and make the result a required check. ProcessControl does that for each pull request it tests. An agent builds and opens your app at the pull request's commit on a machine of its own, tests the claims it finds in the title and description, and posts the verdict as a GitHub check that links to the run's evidence, such as screenshots and a screen recording.

Why "done" and a green CI aren't enough

When a coding agent says a change is done, it is grading its own work. The tests it ran are often ones it wrote or changed in the same pull request, so they can agree with the code and still miss the point: a mocked call, a loosened assertion, a skipped test. And CI only checks what those tests cover, not whether the button does anything or the screen still fits on a phone.

Reading every diff doesn't keep up either. An agent can open several pull requests in an afternoon, and a diff doesn't show a label cut off on a screen it never touched, as AI code review vs UI review explains.

Ask the agent for claims

The easiest pull request to test is one that says what it does. Ask your coding agent, in AGENTS.md or in your prompt, to describe each change as behaviors a reviewer could try:

Email notifications can be turned off in Settings.

The setting survives signing out and back in.

In Claude Code and Codex, the ProcessControl plugin adds a skill that teaches the agent to write descriptions this way.

ProcessControl tests each one

  • After each push. Test every ready pull request and retest its latest commit after a push or an edit to its title or description, or only those where a collaborator with write access starts a comment with @processcontrol-app. Once such a comment starts a run, the pull request's later pushes and edits are tested too. Drafts aren't tested.
  • In the running app. The tester builds the commit, starts local services such as PostgreSQL or Redis itself, and uses the interface the way a person would to try each user-facing claim. Other claims get a command or a measurement, and a claim that tests, lint, type checks or a build pass can cite a passing CI check on the commit that runs them. It reports each claim verified, contradicted or blocked, with the evidence, such as screenshots, that shows why. Without claims, it derives checks from the diff.
  • On the screens too. Every screen it looks at is checked against your team's UI standards, such as "text is never cut off", with web pages in a desktop window and, when the product supports phones, at a phone size.
  • As a check you can require. A contradicted claim fails the check, which you can make required like any CI check. A blocked claim names what the tester was missing, such as a test account. Getting started covers forks and the runs that end without testing anything.

It tests whether the change does what its description says, not whether it is the change you wanted or whether the code is sound. Keep your code review for that—and if your team runs several coding agents at once, pingpong lets them coordinate work and share context before their pull requests collide.

Set it up from your agent

Tell your coding agent:

Set up ProcessControl using processcontrol.dev/agents.md

You sign in with GitHub, install the GitHub App and approve the agent's access, and the agent does the rest. ProcessControl is free to start; see pricing.