[docs] CLAUDE.md: the phase 4 scripts and bench/
This commit is contained in:
@@ -13,7 +13,8 @@ tests/diff same requests against Ianitor and Caddy, responses compared.
|
||||
tests/support shared test fixtures (test CA, upstreams, mock Authelia, clients); test-only.
|
||||
tests/fuzz cargo-fuzz targets.
|
||||
deploy/nixos NixOS module + VM tests.
|
||||
scripts the release's version check. Releases (notes, screenshots): docs/release.md.
|
||||
scripts version check, release pin, test layers 2 and 5 (conformance, bench), the Nix pin. Releases: docs/release.md.
|
||||
bench layer 5 results as data (CSV/JSON), layer 2 outputs.
|
||||
|
||||
## Commands
|
||||
cargo test --workspace # quote test counts per crate; an exit code alone is not green
|
||||
@@ -21,6 +22,10 @@ cargo run -p ianitor-control -- --dev
|
||||
pnpm --filter web dev # 127.0.0.1 only, never --host
|
||||
node apps/web/scripts/shots.mjs # the release's screenshots (demo data, headless Edge) -> target/aula (docs/release.md)
|
||||
node scripts/check-version.mjs X.Y.Z # Cargo.toml and both package.json carry the version
|
||||
scripts/conformance.sh # layer 2: h2spec + testssl.sh, Ianitor vs Caddy (nix develop .#ci)
|
||||
tests/fuzz/run.sh 60 # layer 3: cargo-fuzz, 60 s a target; crashes become regressions
|
||||
scripts/bench.sh <label> # layer 5: load and soak vs Caddy -> bench/results
|
||||
scripts/nix-pin.sh # reproducible build check; writes .fabrica/nix/pin.json before a tag
|
||||
nix build .#ianitor
|
||||
nix flake check # includes NixOS VM tests (Linux + KVM)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user