Repository navigation
Releases
v5.1.0
Added
lupin check: reads JUnit XML or Playwright JSON on disk, with no server or token, and
prints the verdict, the distinct failure causes (failures differing only in values are one
cause), the flaky tests (retries, and tests that flip back and forth across runs) and the
slowest tests.--demoruns it on three built-in CI runs;--html,--markdownand
--jsonwrite the result for a pull request, a job summary or a script (REL-22).- The
lupin checkGitHub Action (Sergey-Bar/Lupin/actions/check@v5.1.0): the result in
the job summary and one pull-request comment, updated on every push. A job with no report fails.
Changed
- A test that started failing in the newest run is a regression, not flaky:
lupin checkcalls a
test flaky only when it passed on a retry or changed back after changing.
v5.0.0
Every journey a QA engineer or SDET needs is proven end to end against PostgreSQL, and
pnpm release:readiness says so. @lupin/cli and @lupin/playwright-reporter move from 1.0.0
to 5.0.0, in step with the product. They are not on npm yet: both are attached to this release as
tarballs (npx -p <release url>/lupin-cli-5.0.0.tgz lupin). Upgrade notes: site/guide/upgrade-5.md.
Fixed
- Connecting a repository said it failed when it had worked (REL-1). The registration
response dropped each command's label, which the web client requires. - Home never saw a quality gate on a PostgreSQL install, and a green CI upload could not pass
one (REL-2). The readiness card andGET /runs/:id/gatenow read one gate
(execution/run-gate.ts), and a run from an uploaded report records the report as its evidence. - A token printed in a failing test's output was stored as it was (REL-3). Failure messages
are redacted where both reporter doors store them. - A fifty-thousand-test suite could not be recorded (REL-4). Test reports may be 32 MiB (was
5 MiB), and tests are written in batches: 50 000 tests ingest in 6.7 s. - Uploading a passing suite graded a repository F (REL-5). A plain JUnit upload no longer
counts as a measured Tests score of 0. lupin gatepassed a commit whose tests failed, or were never sent (REL-8, REL-12). It now
fails both; a scan-only job passes--allow-no-tests.- The gate read only the newest run on a commit (REL-13), so a later shard hid a failing one.
Every run counts, and a re-run replaces the results it repeats. A run still streaming, an
interrupted one, an all-skipped one, and one whose every failure is quarantined while nothing
passed, all fail the gate (REL-21). - Streamed Playwright runs belonged to no project (REL-14). The reporter sends
LUPIN_PROJECT. - Home mixed branches, ignored the flaky allowance and counted every project's quarantine
(REL-15, REL-18). It reads the release branch, detected from git or set in Settings. - One flaky test failed a run twice (REL-19). A flaky result counts as passed; the default
policy allows 5% flaky tests. - Auto-quarantine re-quarantined a test it had just released (REL-21).
- The CLI read no GitLab or Jenkins variables, and the reporter none of GitLab's (REL-7,
REL-11, REL-17).
Added
pnpm release:readiness, the release as data (docs/quality/release-journeys.json):
seven journeys and seven connectors, each naming the specs that prove it.- Journey specs: onboarding to an exact grade, CI ingestion through the packed CLI and
reporter, the release verdict on Home, AI-era signals (eval regression, agent-config scan),
failure triage, the MCP server over HTTP and stdio, and a 50 000-test suite. - Connector fakes for all seven platforms, built from their public API documentation, and the
opt-in live connector probes (connectors:live,.github/workflows/connectors-live.yml). pnpm tools:smokeand the CI tools matrix: the packed tarballs on ubuntu, windows and
macos, with Playwright 1.40.0 and latest. The reporter declares@playwright/test >= 1.40.0
as an optional peer.pnpm dogfood, nightly: Lupin grades its own repository through the packed CLI.pnpm upgrade:rehearse, in the release gate: from the published 4.1.0 zip to this release
and back to the backup.- Docs: your first release verdict in thirty minutes (GitHub Actions, GitLab, Jenkins),
connectors and their verification levels, the 4.x upgrade, and what 5.0.0 does not do yet.
Changed
- Breaking for scan-only pipelines:
lupin gatefails a commit with no uploaded test results.
Add--allow-no-tests, or the action inputallow-no-tests. - The AI provider settings no longer say a provider powers chat; no chat screen exists.
v4.1.0
Added
-
Quarantine decisions from the list (plan task 1). Approve, reject and release on each row,
with a required reason, audited; a viewer sees the controls disabled with who decides. A
failing test in run detail opens the quarantine form filled in. -
Rerun failed tests (task 2). Beside Retry run, a rerun of the failed tests only, for
Playwright and generic-command jobs; the new run links to the one it reran. Flaky tests are
not included. -
An issue from a failure cause (task 3). Each cause on Tests opens a Jira or GitHub issue,
or links the one it already has.GET /api/v1/projects/:id/cluster-issues, viewer. -
Edit a scheduled report (task 4).
PUT /api/v1/report-subscriptions/:id, admin. A delivery
already queued sends with the edited settings. -
Release sign-off on Home (task 5). Ship or hold per project and commit, with a reason and the
verdict the server computed; shipping against no-go needs an admin and is labelled an override.
Not yet in the cockpit report orlupin gate --post. -
Token expiry, rotation and scopes (tasks 6, 7). A token can expire (90 days by default in
the UI), rotate with a day's grace, and carry a subset of its role's permissions; the role
guard refuses a request whose area needs a permission the token lacks. Per-project roles are
deferred. -
A request budget (task 8). 600 requests a minute per access token, and per client sending
none (LUPIN_API_RATE_LIMIT, 0 turns it off), answered with 429 andretry-after. Probes and
the reporter ingestion routes are not counted. -
An outbound address guard (task 9). Webhooks, notification bridges, the Jira base URL and
URL settings are refused when their host resolves to a private, loopback, link-local or
metadata address, on save and before each send.LUPIN_OUTBOUND_ALLOWnames what a LAN
install needs. A Signal or email bridge on the LAN now needs an entry there. URLs set in
the environment are not checked. -
Vault keys at 600,000 PBKDF2 iterations (task 10). Older entries open at their recorded
count and are re-sealed on their next write. -
Stored failure causes (task 11). A job clusters each workspace's last 90 days every five
minutes (LUPIN_CLUSTER_JOB_INTERVAL_MS) and the Tests page reads the stored causes, with
first seen, last seen, occurrences and runs. -
Known failures (task 12). A known-issue label takes a reason when there is no issue to link,
and the cause shows it on every later occurrence; it is still counted as a failure. -
Trend rollups (task 13). Daily rollups per project serve any trend window at the same cost,
andGET /api/v1/dashboard/analytics/trend?from=&to=serves a custom range of up to 366 days. -
Run retention (task 14).
GET/PUT /api/v1/retention(viewer / admin) sets how many days a
workspace keeps runs; an hourly sweep removes older runs with their results and artifact bytes,
keeps any run with an artifact under legal hold, and audits what it removed. No screen yet. -
14 dormant tables dropped (task 15).
0066_drop_dormant_tables.sqlrefuses to drop a table
that holds rows unlesslupin.allow_drop_nonemptyison; the legacy importer reports them as
skipped. -
Evidence-backed gate domains (task 16). Security, accessibility and performance are decided
from the run's own commit: the latest SARIF and axe reports' open findings against a policy
rule'smaxSeverity(defaulthigh), ZAP scans and k6 thresholds uploaded for the commit. A
domain with no evidence staysnot_configured(invariants GATE-1, GATE-2). -
ZAP baseline scans (task 17).
POST /api/v1/agents/security/scanqueues a baseline scan of an
allowlisted target on a runner with thezapcapability; the report is read by the ZAP adapter. -
axe runs (task 18). A Playwright job with
configuration.axe: trueuploads the axe report its
fixture wrote (LUPIN_AXE_RESULTS_PATH) to the health door; no report fails the run. -
Runner images (task 19). The k6, Playwright and ZAP images install their tool and run as a
numeric non-root user; the compose runner drops every capability. -
Maturity from the upload door (task 20). Every producer the reporter door reads is listed with
import evidence, so ZAP no longer reads as absent. -
Five more result formats (task 21). CTRF, Jest, Vitest, pytest-json-report and Mochawesome
(Cypress) reports are read natively by the reporter door andlupin test, keeping retries. -
MCP QA read tools (task 24).
list_runs,get_test_history,list_quarantine,
list_failure_causes,get_change_riskandlist_signoffs. -
A monthly model budget (task 36).
LUPIN_AI_MONTHLY_TOKEN_BUDGETstops this install's own
model calls once the month's tokens are spent, withBUDGET_EXHAUSTED; the copilot falls back
to its rules. -
Test output is untrusted (task 37). Failure messages sent to a model are fenced as data, and
a narration that links, adds code, or copies them verbatim is discarded for the rules' text. -
Change risk. Every pull request the gate sees gets a level and a score that is the sum of
stated factors, each with its own sentence: authorship, size, tests touched, diff coverage,
new findings, failed and flaky tests, human approval, evals, how far the change reaches, and
tampering. Missing test results or diff coverage make a changeunknown, never low. Reported
in the sticky comment, alupin/change-riskcheck run with line annotations, a risk column and
filter on Pull requests, the pull request's own page and Home; blocking only when
health.risk.blockAtis set.GET /api/v1/projects/:id/pull-requests/:number/risk, viewer. -
lupin diff-guardreports changes that weaken the tests (deleted tests, added skips,
removed or loosened assertions, lowered thresholds, CI steps that cannot fail, added retries)
from the job's own diff, sending kinds, paths and line numbers and never a line of source.
POST /api/v1/projects/:id/health/diff-guard, uploader. -
lupin gate --postposts the gate's status, check run and comment with the job's own
GITHUB_TOKEN, for an install that holds no GitHub token (a LAN install). -
SDLC phases. Every synced pull request is placed in plan, code, test, review and release,
each done, in progress, not yet, skipped or not measured with its reason and hours. A pull
request's page shows its strip, Repository 360 the bottleneck and what is stuck, and Portfolio
every repository's shape per phase. A phase with no evidence is never done, and a skipped one
adds to the change risk.GET …/pull-requests/:number/phases,GET …/phases,
GET /api/v1/portfolio/phases, viewer. -
Pace. Repository 360 shows, per week, changed lines and their AI share, new tests per
1,000 lines, and the untested-change debt, which never goes down. Unmeasured coverage is counted
apart, never as covered.GET /api/v1/projects/:id/pace?weeks=, viewer. -
The briefing. What happened over a window, for one repository or all of them, in five
sections, every line naming its evidence: a card on Home's Release view,/dashboard/briefing,
a "While you were away" block in every scheduled report, and the MCP toolget_briefing.
Word it for me asks the configured model to reword the lines; a wording that cites a line
that is not there, or uses a number its lines do not say, is thrown away with the reason.
GET /api/v1/projects/:id/briefingandGET /api/v1/portfolio/briefing, viewer. -
Good shape or bad shape, at every level. A zoom bar on Portfolio, Repository 360 and a
pull request's page shows each level above you with its verdict (Good, Caution, Bad, Not
measured) and the reason and age of the one you are on. A signal not measured, or evidence
older than seven days, is never Good.GET /api/v1/projects/:id/shape,
GET …/pull-requests/:number/shape,GET /api/v1/portfolio/shape, viewer. -
GitHub App. An admin pastes an app's ID and private key under Settings → Integrations, and
the server posts statuses, check runs and comments as the app, with an hour-long token per
repository it is installed on. A project's own token still wins. -
GitLab CI. Every
lupincommand reads GitLab's own variables, andlupin gate --post
in a GitLab job posts the verdict as a commit status and the gate's comment as one merge
request note, with a project access token that never reaches Lupin. -
lupin impactprints the tests a change needs first: the test files it touched and the
tests named after the source files it touched, with the changed sources no test is named after.
It runs in the job and sends nothing;--format pathsfeeds a test runner directly. -
Quiet hours for scheduled reports. A schedule can name hours, in its own timezone, when
nothing is delivered; a report due inside them is queued and sent when they end, and while
one waits a later one is folded into it rather than piling up behind it. -
The scheduled report says which tests turned flaky, started failing, got fixed or slowed.
-
The copilot. "Explain this run" (or
e) on a failed run answers from the run's own
results, groups the failures by cause and links every test it names. Its proposed actions
(retry the failed tests, quarantine a flaky one) run only after one confirmation, through the
same guarded routes as the page's buttons. Type a question in the command palette and choose
"Ask Lupin" to open a side panel that keeps the thread. Without a configured model the answers
are rule-based:POST /api/v1/copilot/explainandPOST /api/v1/copilot/ask, both viewer. -
Run detail groups its failures by cause, folds the passes, and links the branch's last
green run and the run it first failed in. -
Home has two views, Triage and Release, on the same verdict.
Changed
- A gate every workspace shares is changed only by an installation admin. ...
v4.0.0
The product is renamed to Lupin everywhere, and the console takes the Lupin site's look.
There is no upgrade path from 3.x: every name an install depended on has changed, so a
3.x install is replaced by a fresh 4.0.0 install, not upgraded in place.
Changed — the rename
- Packages are
@lupin/*. The CI CLI islupin; the TUI is
lupin-tui.tools/lupin-cli, the CI action.github/actions/lupin-health, and the
edge scripts carry the new name. - Environment variables are
LUPIN_*, all 64 of them, in the API,
the CLI, the runner, the start scripts and the.envthey write. - Access tokens start
lup_. Tokens issued by 3.x are not accepted. - Cookies are
lupin_*, so every browser signs in again. The webhook signature header is
x-lupin-signature, the MCP server islupin, the API title is "Lupin API", and the
metric islupin_http_requests_total. - Database and infrastructure: the Postgres database and role are
lupin, the compose
project islupin, images areghcr.io/sergey-bar/lupin-*, and the artifact bucket is
lupin-artifacts. - Repository URLs point at
Sergey-Bar/Lupin. - A retired-name gate (
scripts/lib/product-name.test.mjs) fails on the old name in any
case, with three files exempt by path and stated reason.
Changed — the design system
- Colour. The Lupin violet is the accent — focus, links, the active state and the one
primary fill — on a near-neutral plane with the violet's undertone in dark and warm paper
in light. Every colour is declared in OKLCH, and text tokens are held to an APCA floor
beside the WCAG 2 ratio. - Type. Geist and Geist Mono replace Archivo and JetBrains Mono, committed once and shared
with the site, with measured fallback metrics and per-step tracking in place of an optical
axis. - Shape and depth. Controls are 44px at a 6px radius; page surfaces use the 8px panel
radius and overlays keep 12px. Overlay shadows are layered neutral stacks. - Motion. Arrivals settle on a CSS
linear()spring; every navigation is a view
transition, and a run's row morphs into its detail heading. Reduced motion — the OS
setting or the console's own — now also stops view transitions and literal durations. - Translucency, narrowly. One
surface-translucentmaterial for the palette, dialogs,
popovers and toasts, opaque by default and under reduced transparency, more contrast and
forced colours, legible over any backdrop. The four primary routes still composite nothing
at rest. - The shell. The "Lupin." wordmark and the site's favicon; sentence-case headings.
Fixed
Input,SelectandTextareadrew their only edge in the decorative border, below the
3:1 WCAG 1.4.11 requires; they now use the strong border.site:doctorcheck 8 read onlycustom.css, so sixteen literal colours inlupin.css
passed; it now reads every site stylesheet and catches colour functions as well as hex.- The in-app "reduce motion" setting only scaled the motion tokens, so literal durations kept
animating; it is now the same clamp as the operating-system setting.
Added
- Adding a test to quarantine is optimistic: the row appears at once, marked "Saving…", and a
refusal takes it out again and reopens the form with the text kept. - Tests for the
nowandgapsroutes, which had none.
Before you install 4.0.0
- Remove the 3.x install (
.\start.cmd uninstall --purgeor./start.sh uninstall --purge)
after taking a backup you may want to keep for reference, then install 4.0.0 from the
release zip. - Move any CI configuration to the
LUPIN_*variables, reissue access tokens, and call the
lupinCLI and thelupin-healthaction.