Orion
Autonomous QA & GitHub Self-Healing Platform
Created on 14th June 2026
•
Orion
Autonomous QA & GitHub Self-Healing Platform
The problem Orion solves
Here's the submission answer:
The Problem Orion Solves
Every engineering team reviews pull requests for logic, architecture, and bugs. Nobody reviews them for quality.
Not because they don't care — because it's slow, manual, and always someone else's problem. So broken experiences ship to production every day:
🐌 Pages with 4-second load times that kill conversions
♿ Images without alt text that screen readers can't parse
🔗 Broken links that 404 silently
🔍 Missing meta descriptions that tank SEO rankings
🔒 Missing security headers that leave users exposed
You find out three days later. Sometimes three weeks.
What Orion Does
Orion is an autonomous QA platform that integrates directly into your GitHub workflow. The moment a PR is opened, Orion:
Crawls your staging URL using four specialized AI agents — Discovery, Performance, Hygiene, and Scoring
Posts a score (0–100) as a GitHub status check on the PR — blocking merges below your threshold
Drops a full report in the PR comments — every finding, its severity, and a suggested fix
Leaves inline review comments on the exact files that caused the issues
No CI yaml. No configuration files. No new tools to learn. Just install the GitHub App and every PR gets automatically audited.
Who It's For
UserHow They Use OrionFrontend developersCatch performance regressions before mergeSolo foundersGet QA coverage without hiring a QA engineerOpen source maintainersEnforce quality standards on every contributionStartup engineering teamsShip fast without sacrificing quality
What Makes It Different
Most tools are passive — they sit in a separate dashboard, generate reports nobody reads, and tell you about problems that already shipped.
Orion is active — it lives inside the PR, speaks the language developers already use, and catches issues at the only moment that matters: before the merge.
Challenges we ran into
Challenges I Ran Into
- The Signature Verification Bug That Broke Everything
The single most painful bug was GitHub webhook signature verification silently failing on every request.
The webhook handler was verifying signatures like this:
typescripthmac.update(JSON.stringify(req.body)).digest("hex")
This looks correct but is completely wrong. GitHub signs the raw request bytes — the exact bytes it sent over the wire. But Express was parsing the body into a JavaScript object first, and JSON.stringify() of that object doesn't match the original bytes — key ordering, whitespace, and encoding all differ.
The result: every single webhook returned 401. Silently. No error in GitHub's delivery logs except a failed response.
The fix was to mount the webhook route with express.raw() before the global express.json() middleware, and sign the raw Buffer directly:
typescript// BEFORE (broken)
app.use(express.json()) // parses body globally
app.use("/api/v1/github/webhook", webhookRoutes)
// AFTER (fixed)
app.use("/api/v1/github/webhook", express.raw({ type: "application/json" }), webhookRoutes)
app.use(express.json()) // everything else
The order of middleware in Express matters more than almost anything else — and this one cost hours.
- ngrok Forwarding to the Wrong App
The monorepo runs multiple apps simultaneously via Turborepo — the Next.js frontend on port 3000 and the Express API on port 4000. ngrok was tunneling to port 4000, but GitHub's webhook responses were returning Next.js HTML pages.
The cause: ngrok on Windows sometimes can't reach 0.0.0.0:4000 via localhost. The fix was explicitly binding to 127.0.0.1:
bash# Broken
ngrok http --domain=xxx.ngrok-free.dev 4000
Fixed
ngrok http 127.0.0.1:4000 --domain=xxx.ngrok-free.dev
One flag. Two hours lost.
- Route Path Mismatch — The Silent 404
The GitHub App webhook URL was set to /api/v1/github/webhook. The Express router was mounted at /api/v1/webhooks. Inside that router, the route was router.post("/github", handler).
The actual path the handler was listening on: /api/v1/webhooks/github.
The path GitHub was posting to: /api/v1/github/webhook.
GitHub was getting 404s but still returning 200 to GitHub (Express's default HTML 404 has a 200 status in some proxy configurations), so the delivery logs showed green checkmarks while nothing actually worked.
The fix was aligning the mount path in app.ts with the webhook URL, and changing the router's internal route from /github to /:
typescriptrouter.post("/", handleGithubWebhook) // not "/github"
- Repo Not Registered — The Silent Skip
Even after the webhook was working perfectly, the Orion QA Agent check never appeared on PRs. The server logs showed:
[webhook] no staging URL for Mohfazam/FOODZY — skipping run
The installation webhook that should have auto-registered the repo fired before the server was correctly set up, so the repo was never saved to the database. With no staging URL in the DB, the handler silently returned 200 and did nothing.
The fix was manually registering the repo via the API with the correct installationId, owner, repo, and stagingUrl — and then redelivering the pull_request webhook from GitHub's delivery logs.
The Pattern
Every single one of these bugs had the same underlying theme: silent failures. No crash, no error, just a 200 response that masked the real problem. The lesson — always log the event name and action at the very top of a webhook handler, before any logic runs, so you can see exactly what's being received.
Tracks Applied (1)
Gemini
Major League Hacking
Technologies used
