Platform · release
Test the boundary, not only the screen.
A green unit test does not prove that an image boots or that a permission is enforced. Check the smallest boundary you changed, then the integration path that actually ships.
Frontend checks
pnpm --dir frontend typecheck
pnpm --dir frontend lint
pnpm --dir frontend test
pnpm --dir frontend build
Run the checks from the repository root. A change to shared contracts can pass a component test and still break the SSR or client boundary; run both the unit suite and the production build.
Rust checks
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo test --workspace --locked
Dependency changes must respect deny.toml. Do not add a wildcard requirement or a dependency outside the license allowlist.
Integration and browser checks
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
| Check | What it proves |
|---|---|
| Development check | Prebuilt mode, verified HTTPS, login/SSR, origin and file boundaries, HMR, SSR output, lock behavior and persisted sessions |
| Browser check | Native form login, hydration, React state preservation and CSS hot updates |
| Shell check | Real HTTPS gateway, SQLite, two users, immutable assets, sessions, WebSocket revocation and recovery independence |
| Recovery unit tests | Recovery parsing and behavior without touching the host |
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.
App-specific checks
- Launch without the required grant is denied, not merely hidden.
- An expired lease is rejected and the frame offers retry.
- Unknown bridge methods and malformed manifests are refused.
- A secret is never returned as plaintext.
- Network consent revocation applies on the next request.
- A container without
com.rumahl.os.networkcannot reach the LAN or internet. - A native app cannot read the host home, platform state, Docker socket or another app’s data.
- A revoked publisher blocks launch and start, while stop and uninstall remain available.
- Uninstall revokes grants and consents and does not expose retained data.
- A second account sees only its own catalog, grants and settings.
Next
- Architecture — the boundaries under test.
- App lifecycle — install and uninstall journal.
- Contributing — branch, DCO and review.
Was this page helpful?