Every test. One clear answer.
A self-hosted home for test runs, evidence, and release decisions.
Get started · Explore the concepts · Documentation
Lupin is a local-first QA control plane. Send it the reports your test tools already produce — Playwright, JUnit, Allure, k6 or OWASP ZAP, and SARIF, coverage, SBOM and mutation reports for repository health. It keeps each run, retry and artifact together, then shows your team what passed, what needs attention and what was never measured.
See what it finds on three built-in CI runs:
npx -p https://github.com/Sergey-Bar/Lupin/releases/download/v5.2.0/lupin-cli-5.2.0.tgz lupin check --demoRED: tests are failing.
11 tests over 3 report(s): 6 passed, 4 failed, 1 flaky, 0 skipped.
4 failure(s), 1 distinct cause(s) - fix these, biggest first:
4 x expected status 502 to be 200 from POST /api/payments
checkout.spec.ts › checkout › pays by card
...
Flaky tests (2) - fix or quarantine, do not just re-run:
account.spec.ts › account › updates the address - passed on a retry in 1 of 3 run(s)
login.spec.ts › login › signs in - passed 2, failed 1 across runs
Four red tests, one bug. Then point it at your own JUnit XML, or Playwright, Jest, Vitest, CTRF, Mochawesome or pytest-json-report JSON reports:
npx -p https://github.com/Sergey-Bar/Lupin/releases/download/v5.2.0/lupin-cli-5.2.0.tgz lupin check -- junit.xmlA test that started failing is a regression, not a flake: only a test that changes back again is
called flaky. --html report.html writes a page to attach to a pull request, and
--fail-on-flaky fails the job on flakiness. Nothing is uploaded anywhere.
- uses: Sergey-Bar/Lupin/actions/check@v5.2.0
if: always()
with:
reports: test-results/**/*.xmlThe verdict, causes and flaky tests land in the job summary and in one pull-request comment that is updated on every push. When you want history, gates and a release verdict for the whole team, run the server.
Running from source with Node 24 and pnpm:
pnpm install
pnpm dev # API on :3000, web on :5173
pnpm demo # in a second terminalpnpm demo registers a sample repository, sends three JUnit runs on one commit, and prints
the cockpit address. Two runs pass and one fails, and the payment test fails once and passes
twice, so Home has both a verdict and a flake to explain. It talks only to a loopback install,
so it needs no account and no network.
| See the signal | Keep the evidence | Make the call |
|---|---|---|
| Compare runs and spot flaky retries without losing the original outcome. | Open traces, screenshots and reports from the run they belong to. | Read quality gates that distinguish passed, failed, unknown and not configured. |
- One result model for every producer. Retries are recorded as
flaky, not as passes. - Quality gates that answer
unknownornot_configuredinstead of quietly passing. - Quarantine for flaky tests, with a required reason and an audit trail — set aside, never hidden. A quarantined failure excuses itself at the gate and in CI (
lupin test), and an optional per-project policy quarantines on retry-pass evidence and releases after a clean streak. - Live Playwright reporter and balanced CI shards.
@lupin/playwright-reporterstreams a run with failure traces;lupin shardsplits files by measured duration. An Allure results importer is on the upload door. See how Lupin compares, including what it does not do. - Live run updates over server-sent events, and a runner that executes declared commands outside the API process.
- A "Now" page that answers "what needs me?" in five items or fewer, with focus mode, compact density, reduced motion and keyboard shortcuts (
?lists them). - Scheduled reports, daily, weekly or custom, to Slack, Microsoft Teams, Telegram, WhatsApp, Signal, email or the built-in inbox — see scheduled reports.
- One server for your whole network.
LUPIN_LAN_MODE=1turns on sign-in everywhere, HTTPS with a local certificate, device pairing by QR code, a client allowlist and remote runners — see LAN mode.
The repository is built the way it asks you to test: every fix starts as a test watched failing first, coverage and complexity are ratchets that can only improve, and every confirmed defect is a row in a machine-checked findings ledger. See how this repository tests itself and how it is maintained.
You need Docker and nothing else.
- Download
lupin-<version>.zipfrom the latest release and unzip it. - Start Docker.
- Run
start.cmdon Windows (double-click it) or./start.shon macOS and Linux.
Your browser opens http://localhost:8080, and the terminal prints the key to sign in with.
stop, update and uninstall work the same way; Install has the
details. To send a report from CI, see sending results.
Requires Node.js 24 and pnpm 11 (corepack enable provides it). This runs on the
in-memory store, so nothing else needs installing.
pnpm install --frozen-lockfile
# Terminal 1: the API
NODE_ENV=development \
LUPIN_API_KEY=local-installation-key-32-characters \
COOKIE_SECRET=local-cookie-secret-32-characters-long \
REPORTER_SECRET=local-reporter-secret-32-characters \
pnpm --filter @lupin/api dev
# Terminal 2: the console
pnpm --filter @lupin/unified-web devOpen http://localhost:5173. Sign in with local-installation-key-32-characters if asked.
Getting started has the PowerShell version and the
PostgreSQL stack, and sending results shows the one
curl that gets a report from CI into a run.
Lupin is pre-1.0 and built for a single self-hosted install. What works and what doesn't is tracked in the capability register and the findings ledger. Open gaps today:
- Mobile agent domain: not built. Its routes answer
501 AGENT_NOT_CONFIGURED. - Security agent domain: a ZAP baseline adapter exists but has no recorded run yet.
- Agent-config skill scan: reported in CI, not yet blocking.
/api/v1/features reports which domains are available on your install.
| Read | For |
|---|---|
| Core concepts | Runs, attempts, results and evidence |
| Quality gates and quarantine | How a run is judged, and how flaky tests are handled |
| Architecture | The runtime, the evidence chain and the tenancy boundary |
| Capability register | What is implemented, partial or not built yet |
| Documentation index | Everything else, including ADRs and quality records |
Start with .github/CONTRIBUTING.md. Before a pull request, run pnpm verify
(or pnpm verify:local on a machine without semgrep and gitleaks). Security reports go
through .github/SECURITY.md.
MIT © 2026 Lupin Platform Contributors
