Back to home

Case study

PinePoint

This project is live right now

A QA tool for pull requests: it sends 10 simulated users through a pull request's preview site, each in a real browser on its own cloud computer, and posts what broke as a review on the pull request.

3rd place at the Pine Computer Hackathon: an AI QA tool that tests each pull request like a user, in parallel real browsers, in a median 2.7 minutes

Who had the problem#

Code gets written fast now, and then the pull request waits for someone to test it. Code review reads the diff, not the running app. And when a tester does find a bug, the developer often can't see it again: the report says "the total is wrong," the developer opens the preview, and the bug is gone.

Testing with a browser agent on your own laptop runs one user at a time, and the broken state ends when the session does. PinePoint runs many fresh users at once in the cloud and keeps the broken browser open for the developer.

What I built#

My team of 2 built PinePoint in one day at the Pine Computer Hackathon. You paste a pull request link and press Run, and PinePoint tests the pull request's Vercel preview with 10 simulated users. Each one has a persona, one goal and 1 to 3 exact checks aimed at a line the pull request changed, like a shopper who applies the same coupon twice.

All 10 users run in parallel, each on its own Pine Computer with a real browser. The dashboard shows a card for each user, a picture of every step and what the run cost. After each run, PinePoint posts one review on the pull request with the counts, and an inline comment on the changed line for each bug: short numbered steps, what was expected, what the user saw, what production does, and a screenshot.

The developer opens a finding to see the last screen or, while its computer is still running, the live browser at the broken state, and can take control of it. They mark it Bug or Not a bug, and PinePoint replies on the pull request. After Bug, it proposes one fix inside the changed lines, which the developer can post as a GitHub suggestion. It never pushes a commit.

I led the project, wrote its plan and set up the monorepo. I built the front end (the dashboard with its cost view and the live session panel), the Claude test planner that turns a pull request into its 10 missions, the GitHub side (reading the pull request, its preview and its notes file, posting the review and replying to decisions) and the demo store with its planted bugs. My teammate built the computer runner, the bug rules and the fix agent.

PinePoint's landing page with the headline "Find the break. Open the bug." and a Test a PR button. A demo card shows a pull request where one coupon gave two discounts: expected $21.60, preview $19.44.
PinePoint's landing page, with the kind of bug it is built to catch.
The Linen and Oat demo store in production. After the coupon SAVE10 is applied twice, the cart says Coupon already applied, and the total is $21.60.
Production: a second SAVE10 is refused, and the total stays $21.60.
The same store on the preview of the demo pull request, after the same steps. The cart says SAVE10 applied, lists SAVE10 twice, and the total is $19.44.
The pull request's preview: the coupon applies twice, and the total drops to $19.44. This is the planted bug.
A finished PinePoint run on the demo pull request: 10 of 10 users done, 3 Bugs, 0 Possible issues, 7 Passed, 0 Blocked and 2.6 minutes from Run to the end. User cards are grouped by lens, such as a Coupon abuser marked Bug.
A real run on the demo pull request on October 19: 10 users, 3 bugs, 7 passed, 2.6 minutes from Run to the end.
On a phone, a Bug titled Second SAVE10 shows wrong message and total, with the last screen the user saw and a picture of each step.
On a phone, a finding opens with the last screen and a picture of each step.
A finding's details: four short numbered steps, then Expected (Coupon already applied, $21.60), Saw (SAVE10 applied, $19.44) and the Production check (Coupon already applied, $21.60), above the bug screen.
What a reviewer needs in one view: the steps, what was expected, what the user saw and what production does.
On a phone, the bug screen above two buttons, Bug and Not a bug. Neither is pressed yet.
The developer makes the call: Bug or Not a bug.
A finding marked Bug at 5:43 PM, with a proposed fix for line 37 of the demo store's cart code that brings back the Coupon already applied check, a plain explanation and a Post to PR button.
After Bug, PinePoint proposes a fix inside the changed lines. This one comes from the hackathon-day run on October 17 and was never posted to the pull request.
The cost card of one run: $0.181 for 14 missions, the token counts, and a bar chart of the same tokens priced at six models' list prices.
What Pine charged for its agent's model use in the same October 19 run: $0.181 for 14 missions (10 users, 3 re-checks and 1 production check). Computer time and the planner call are not included.

How it works#

PinePoint is a TypeScript monorepo built with pnpm workspaces: a Next.js 16 app on Vercel, a small demo store, and four packages for the shared types and database, the computer runner, the GitHub code (pull request reading, review posting and sign-in), and the planner and fix agent. Runs, missions and findings live in Neon Postgres. The diagram follows one run, from the pull request to the review it posts.

One run, from the pull request to the review it postsA run reads the pull request, a planner model turns it into exactly 10 missions, and code checks the reply against a schema before anything runs. Code, not the model, decides what counts as a bug: a failed check runs once more on the preview and once on production, and the review is posted on the pull request.Pull requestthe diff, the changedfiles, the preview link andqa.mdNo previewPinePoint commentsand stopsPlanner modelturns all of this intoexactly 10 missionsCode checksthe replyagainst a schemabefore anything runsComputer runnereach mission stopsafter 12 actions or 4minutesFailed checkruns once more on thepreview and once onproductionCode decidesBug, Old bug orPossible issueReviewposted on thepull requestNeon Postgresruns, missionsand findings10 missionsfindingsOne run, from the pull request to the review it postsA run reads the pull request, a planner model turns it into exactly 10 missions, and code checks the reply against a schema before anything runs. Code, not the model, decides what counts as a bug: a failed check runs once more on the preview and once on production, and the review is posted on the pull request.Pull requestthe diff, the changed files, thepreview link and qa.mdNo previewPinePointcomments andstopsPlanner modelturns all of this into exactly10 missionsCode checks the replyagainst a schema beforeanything runsComputer runnereach mission stops after12 actions or 4 minutesFailed checkruns once more on thepreview and once onproductionCode decidesBug, Old bug or Possible issueReviewposted on the pull requestNeonPostgresruns, missionsand findings10 missions
One run, from the pull request to the review it postsDashed box: an AI model or agent
  1. A run starts by reading the pull request: the diff, the changed files, the preview link and qa.md.
  2. With no preview, PinePoint comments "No preview. No test." and stops.
  3. A planner model turns all of this into exactly 10 missions, and code checks the reply against a schema before anything runs.
  4. The computer runner runs each mission, and each mission stops after 12 actions or 4 minutes.
  5. A failed check runs once more on the preview to rule out a flaky result, and once on production.
  6. Code, not the model, decides: a Bug fails both times on the preview, an Old bug fails on production too, and a note without a failed check is only a Possible issue.
  7. Runs, missions and findings live in Neon Postgres, and the review is posted on the pull request.

A run starts by reading the pull request: the diff, the changed files, the preview link and qa.md, a plain notes file in the repo that says what the app does, what test data to use and what totals to expect. With no preview, PinePoint comments "No preview. No test." and stops. A planner model turns all of this into exactly 10 missions, and code checks the reply against a schema before anything runs.

Code, not the model, decides what counts as a bug. A failed check runs once more on the preview to rule out a flaky result, and once on production. A Bug needs an exact check that fails both times on the preview. If production fails it too, it is an Old bug and no fix is offered, and a note without a failed check is only a Possible issue. Each mission stops after 12 actions or 4 minutes.

On our Vercel plan, a function stops after 300 seconds, so no request waits for a whole run. Each status poll from the dashboard, every 3 seconds, does a short slice of work, and a run nobody is watching drives itself in 170-second slices, each handing off to a fresh signed request, for up to 40 minutes. Every state change is a conditional update on the current status, so two requests can't start the same computers or post the same review twice.

The hardest part#

The hardest part was making real runs work end to end within real limits. Pine allowed 20 computers at once and limited how fast they could be created, and pausing a computer wasn't enabled for our project. So computers start 3 at a time, a computer that passed stops right away, and up to 3 that failed stay running for a day, so the developer can open the broken browser.

On hackathon day the loop came together in the last half hour before our 5:45 PM submission target. At 5:03 PM a real run finished without posting a review, because nothing told the app that the run was done. My fix landed at 5:15 PM, and at 5:40 PM a run on the demo pull request found the planted coupon bug and posted its review 3 minutes 20 seconds after it started, inside our 6-minute target.

Two days later I tested real runs again and found three problems: no step pictures, a red Failed label on computers that were still starting, and no feedback after Run, because the server planned and started every computer before it answered (48 to 111 seconds). The pictures failed because a storage token stopped matching after the projects moved to a new Vercel team, so pictures now live in Postgres. Run now answers at once, the run page opens 3 seconds later with real progress, and each card shows one of 11 clear states.

The planted coupon bug had also turned into an Old bug, because the re-check clicked Apply on an empty coupon field, so a new rule tells the agent to type the value again when a step repeats.

Results in numbers#

PinePoint took 3rd place at the Pine Computer Hackathon. The 5:40 PM run on the demo pull request used 16 missions (10 users, 4 re-checks for flaky results and 2 production checks), found the planted coupon bug, 2 more bugs and 1 old bug, and posted its review 3 minutes 20 seconds after it started.

Across 22 runs, PinePoint ran 285 browser checks, and the median run took 2.7 minutes. Over 60 real missions on October 17, Pine charged about $0.012 per mission and $0.14 to $0.16 per run. That covers its agent's model use only: Pine didn't price computer time, and the planner and fix calls are not included. After the reliability pass, the run page opens 3 seconds after Run instead of 48 to 111 seconds.

The code has 2 apps, 4 packages, 23 API routes and 16 Postgres tables, and sign-in for GitHub organizations shipped on October 20. There are no outside users or pilots yet, and the planned evaluation on the demo pull requests hasn't been run.

What's next#

First, finish the re-run: after a fix, PinePoint should run the failed user again on the new preview and show on the pull request that the bug is gone. That work is in progress.

Then the evaluation the repo is set up for: run PinePoint on the 5 demo pull requests with planted bugs and the clean one, and count bugs caught and false alarms. After that comes a pilot with organizations, which has to pass its release gate first, and then optional automatic runs on new pull requests.