It works on my machine is a cliche because it is true so often. A laptop has warm caches, seeded data, relaxed timeouts and none of the real network between services. Passing there is necessary and nowhere near sufficient.
What the preview adds
A preview deployment runs the build your users will get, behind the real edge, talking to real services. Problems with environment variables, build flags, cold starts and cross-origin rules only show up here. So do the slow queries that a small local database hides.
Wiring tests to the preview
Trigger the run from the deployment event rather than the push, so the tests start when the preview is actually ready. Point the suite at the preview URL for that pull request, and post the verdict back to the pull request itself. The reviewer then reads one line instead of opening a dashboard.
Keep reading
Engineering
Asserting meaning, not values: why testing has to become agentic
Scripts check that a value equals another value. Products break in ways no assertion was written for. Here is what changes when the tester can reason.
Guide
A pre-merge checklist for AI-generated pull requests
Seven checks to run before an agent-written change lands, and how to automate the ones that should never depend on a tired reviewer.
Guide
How to tell a real bug from a flaky test
A red test is a question, not an answer. This framework sorts failures into product bugs, test problems and environment issues in a few minutes.
Ship at agent speed. Merge knowing it works.
Start free with one app and one flow. Your first verdict takes about ten minutes.
Run 483 on preview
8 of 8 passed
Promo code applies discount
Checkout with a saved card
Guest checkout by email
Order shows in the account
Ready to merge. Replay attached.