{"slug": "don-t-just-have-agents-review-your-code-make-them-run-it", "title": "Don't just have agents review your code, make them run it", "summary": "Requiring coding agents to boot the running app and exercise it hands-on caught 5 real bugs that council code reviews and unit test suites had both missed across roughly 27 agent runs, according to a practitioner account of a shipping workflow. The failures included a sign-up button that bounced signed-out visitors to the sign-in screen, an input field wiped immediately after typing, and an async delete race condition that passed CI three times but failed 6 of 10 repeated runs in a sandbox. The author now runs hands-on QA as a required step after council approval of the diff and again on the final commit before merging, with the agent booting the app in a disposable Boat sandbox and posting a pass/fail table in the PR description.", "body_md": "# Don't just have agents review your code, make them run it\n\nHaving agents scan your PR and run unit tests catches a lot, but actually booting the app, clicking around and hitting your API catches real bugs both of them miss.\n\nHaving coding agents review your PRs is great and genuinely helps. I wrote earlier about how [a council of models reviews my work before I do](https://ryanmccue.ca/writing/council-reviews-it-first/), and how [most of my changes don't wait for a human reviewer anymore](https://ryanmccue.ca/writing/most-changes-dont-wait-for-a-reviewer/).\n\nBut I haven't heard many people talking about the step that actually makes me comfortable landing those changes: making the agent prove its work by spinning up the app and using it. Reading the diff and running unit tests are a good start, but actually booting the frontend UI and clicking around, hitting your API directly, testing edge cases and checking performance catches a different class of bugs and gives me way more confidence in my agents' changes.\n\nAt this point I have my agents run hands-on QA on every behavior change before a PR lands.\n\n## What running the app catches\n\nCode review and unit tests share a pretty big blind spot. A reviewer only sees how code reads, and tests only cover the cases someone (or agent) already thought to write. Real browsers, real databases, timing and responsive layouts break plenty of code that looks clean in a PR.\n\nAfter I made hands-on QA required across my shipping skills, I had an agent check ~27 runs across my machines. Running the app caught 5 real bugs that both the council reviews and the test suites had missed.\n\nA few real examples from my sessions:\n\n- **A broken sign-up button.** On a new public landing page, unit tests passed and the council approved the PR. When the agent booted the app and clicked \"Create free account\" as a signed-out visitor, a layout effect fired mid-navigation and bounced straight to the sign-in screen.\n- **Input wiped after three 9/10 reviews.** On a personal app, tests were green and three rounds of council review approved at 9/10. Live browser QA opened a picker and started typing right away, and the app immediately wiped the text.\n- **A race condition that passed CI three times.** On a backend sync change, all three reviewers scored it 8.5/10 with no blockers and CI passed three for three. Running the real stack repeatedly in a sandbox failed 6 of 10 runs because an async delete logged done while its rows were still readable milliseconds later.\n- **Layout bugs and bad data assumptions.** On other PRs that had already cleared review, rendering pages at phone and wide-screen sizes caught clipped buttons and overflowing panels, and running a reporting job against real data shape caught a metric that would have printed zero for an entire customer because their human sessions had no user ID.\n\n## How I wire it into my workflow\n\nIn my shipping skills, hands-on QA runs as a required step right after the council approves the diff, and again on the final commit before merging. Here is a trimmed piece of the checklist my agents follow:\n\n```\nWrite a test plan first:\n- each changed flow, with steps and the result you expect;\n- edge cases (empty or huge inputs, another user or role, double submit,\n  refresh mid-flow, back button, error paths, narrow screens);\n- neighbouring flows the change could break.\n\nUse the change:\n- Web apps: open the running app in a browser and click through the plan.\n- APIs and CLIs: call them directly and check status codes, bodies and\n  data written.\n- Watch the app's logs and the browser console while you test.\n```\n\nCouncil reviewers also list the flows and edge cases a tester should try, and those go straight into the plan. The agent boots the app in a disposable [Boat](https://ryanmccue.ca/writing/moving-my-coding-agents-around/) sandbox, clicks or calls through every line, fixes what breaks and puts the pass/fail table in the PR description.\n\nDocs, tests-only and CI config diffs skip the sandbox, so runs don't waste time when nothing visible changed.\n\n## The catch\n\nThere is a trade-off. Booting the real app adds time to every run, and QA is only as trustworthy as your sandbox and environment. On one CLI repo, three tests kept failing only inside our cloud sandbox, and over ~15 runs agents got used to explaining those failures away. Noisy failures train agents to ignore real red, so keeping the sandbox clean matters.\n\nSome apps are harder to automate too. Web apps, APIs and CLIs are straightforward, and phone simulators work well, whereas desktop apps are still somewhat challenging to initially set up.\n\nEven with those limitations, requiring hands-on QA has easily paid for itself. Having agents review a PR is a great first filter, and making them actually run the app is what gives me real confidence to land the change.", "url": "https://wpnews.pro/news/don-t-just-have-agents-review-your-code-make-them-run-it", "canonical_source": "https://ryanmccue.ca/writing/dont-just-review-make-agents-run-it/", "published_at": "2026-12-01 02:22:24+00:00", "updated_at": "2026-12-01 02:45:27.140514+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Boat"], "also_reported_by": [], "takeaway": "Booting the app and clicking through a written test plan caught 5 bugs that code review and unit tests missed, including a race condition that passed CI three times but failed 6 of 10 sandbox runs.", "recommendation": {"advice": "Make hands-on QA a required step after review and before merge: have the agent write a test plan, boot the app in a disposable sandbox, click or call through every changed flow, and post a pass/fail table in the PR.", "playbook": "coding-agents", "playbook_url": "https://wpnews.pro/playbooks/coding-agents"}, "alternates": {"html": "https://wpnews.pro/news/don-t-just-have-agents-review-your-code-make-them-run-it", "markdown": "https://wpnews.pro/news/don-t-just-have-agents-review-your-code-make-them-run-it.md", "text": "https://wpnews.pro/news/don-t-just-have-agents-review-your-code-make-them-run-it.txt", "jsonld": "https://wpnews.pro/news/don-t-just-have-agents-review-your-code-make-them-run-it.jsonld"}}