ContributingTesting
Before you push
Run the checks of each part that you changed: Rust, the dashboard and the docs.
Rust
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspaceIf your change touches Docker, builds, the proxy or the engine, also run FERRY_E2E=1 cargo test for the crates that you changed.
Dashboard
If web/ changed, run these commands in web/:
npm test
npm run typecheck
npm run lint
npm run buildDocs
If a command, a flag, a route or a DTO changed, run these commands in docs/:
npm run generate
npm run buildIf tokens.css changed
The dashboard and the docs share web/src/styles/tokens.css. Build the two projects again.