Testing & release
Testing & release checks
The current check matrix for Rust, frontend, Storybook, HTTPS, Chromium, recovery and Buildroot acceptance.
Frontend
Tests cover the UI kit, bridge client, shell and SSR. Storybook typechecks as part of the frontend typecheck command.
pnpm --dir frontend typecheck
pnpm --dir frontend lint
pnpm --dir frontend test
pnpm --dir frontend build
pnpm --dir frontend --filter @rumahl/ssr test:smoke
pnpm --dir frontend build-storybook
Rust
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo test --workspace --locked
cargo build --locked -p rumahl-platform-service
Integration and browser checks
- The development check uses prebuilt mode, verified HTTPS, login/SSR, origin and file boundaries, a live HMR WebSocket, changed SSR output, lock behaviour and persisted sessions.
- The browser check covers native form login, hydration, React state preservation and CSS hot updates.
- The shell check exercises the real HTTPS gateway, SQLite, two users, immutable assets, sessions, WebSocket revocation and renderer-independent recovery.
- Recovery unit tests leave the host untouched; power, mount and systemd behaviour still require a disposable QEMU instance.
python3 tests/e2e/development/check.py
python3 tests/e2e/development/check.py --browser
python3 tests/e2e/shell/check.py
python3 -m unittest discover -s platform-buildroot/recovery -p "test_*.py" -v
Release acceptance
Process-level tests do not prove that a Buildroot image boots. Use the production HTTPS test and Buildroot acceptance documented in their READMEs before shipping an image, including a booted VM or device test.
Separate development from release
The developer server serves source code and must never be exposed as the public OS interface. Production keeps immutable bundles, strict CSP and content-derived build IDs.
Need more context? Read the source or open a discussion with the project.