r/reactjs • u/Fast_Caterpillar2333 • Aug 11 '26
Show /r/reactjs Built an opensource Github Action that tests your teammate's PRs in a real browser
Reviewing a teammate's PR usually means pulling the branch, running it, and clicking around to check it actually works. I got tired of that part, so I built Greenlight.
It's a GitHub Action. When a PR opens, it reads the diff and posts a test plan as a comment. Once the Vercel preview builds, it opens it in a browser and tests the PR the way you would manually. Then it posts pass/fail per item and uploads a recording of the whole session.
Only works with Next.js on Vercel for now. You bring your own LLM key.
Repo: https://github.com/VC444/greenlight
Demo: https://www.youtube.com/watch?v=Av5Zy-Phg-0
Would love any feedback/contributions!
5
u/xD3I Aug 11 '26
You know you can connect the chrome mcp to your agent and ask it to test it right?
1
u/floodedcodeboy Aug 11 '26
Where the test plan?
1
u/Constant_Panic8355 Aug 11 '26
I like how the problem statement is about not wanting to pull the changes locally, run them locally and test.
But then you end up with a GH action which waits for vercel to build a deployment preview…
0
u/TheRealSeeThruHead Aug 11 '26 edited Oct 14 '26
Dolore lorem excepteur velit nulla sint laborum reprehenderit sit voluptate. Occaecat enim veniam pariatur velit minim sit magna sint esse nisi enim.
-3
u/No_Cattle_9565 Aug 11 '26
Why would you do this instead of spinning up a new pod in a kubernetes cluster? Is anyone actually using vercel in production?
1
u/[deleted] Aug 11 '26
[removed] — view removed comment