Skip to content
START WITH THE BIG PICTUREMove to 5.0 with your data, and know how to go back.

For operators running lupin 4.x

STEP 01

Write the database, artifacts and .env to a backup folder.

What should I remember?

The upgrade and the rollback are rehearsed from the published 4.1.0 zip.

New to the terminology? See the words explained

Upgrade from 4.x to 5.0 ​

5.0.0 keeps your data, your .env and your connected platforms. The migrations run on start. The upgrade and a rollback to the backup are rehearsed from the published 4.1.0 zip before every release (pnpm upgrade:rehearse, in the release gate).

Before you start ​

  1. Back up. In the install folder: ./start.sh backup (Windows: start.cmd backup). It writes the database, the stored artifacts and .env to backups/lupin-<time>, each with a digest.
  2. Keep a copy of .env somewhere else. It holds the key that encrypts stored credentials.

Upgrade ​

sh
./start.sh update --version 5.0.0

The script records the version, downloads the images, starts the stack and waits until it is ready. Your projects, runs, findings and settings are still there.

Roll back ​

sh
./start.sh update --version 4.1.0
./start.sh restore backups/lupin-<time>

A backup only restores into the release that took it or a newer one, and the script refuses otherwise rather than guess.

What changed ​

Nothing in 5.0.0 removes a route, a setting or a stored field. These are the changes you may notice.

ChangeWhat you seeWhat to do
@lupin/cli and @lupin/playwright-reporter move from 1.0.0 to 5.0.0, in step with the productBoth are attached to the GitHub release as tarballs; not on npm yetRun the CLI with npx -p <release url>/lupin-cli-5.0.0.tgz lupin
A test report may be up to 32 MiB (was 5 MiB), about 250 000 test casesLarge suites upload instead of failing with PAYLOAD_TOO_LARGENothing
Failure messages are stored with credentials redactedA token a log printed shows as [redacted]Nothing; older runs are unchanged
A plain JUnit upload no longer counts as a measured Tests score of 0A repository's grade no longer drops to F when CI sends green testsNothing
A run recorded from an uploaded report is judged by the quality gateHome's gate reason follows CI uploadsNothing
The Playwright reporter declares @playwright/test >= 1.40.0 as an optional peernpm warns on an older PlaywrightUse 1.40 or newer
lupin gate fails a commit no test results were uploaded forA scan-only pipeline goes redAdd --allow-no-tests, or the action input allow-no-tests
lupin gate judges every run on a commit, not only the newestA failing shard is no longer hidden by a later oneNothing
A flaky test counts as passed for the pass rate, and a new policy allows 5% flaky testsOne flaky test no longer fails a run twiceA policy created on 4.x keeps its own maxFlakyRate; raise it in Settings › Quality gates if it is 0

The full list is in the changelog.