[docs] Notes: tests/support in layout, forward-auth failure modes, bash hook self-test

This commit is contained in:
2026-11-07 15:58:00 +01:00
parent a052c32b77
commit ecdba7775f
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ crates/control API, git routes repo, apply/rollback, share links, PKI flows. Lo
apps/web Svelte 5 (runes, TypeScript strict). A client of the API; no logic.
packages/ui shared dark Domi theme.
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.
@@ -23,7 +24,7 @@ nix flake check # includes NixOS VM tests (Linux + KVM)
On Windows, build and test in WSL2 Debian (ROADMAP §8.3: Pingora's Windows support is best effort; edge, diff and
ACME tests are Linux-only). Use a Linux target dir, and put caddy, pebble and pebble-challtestsrv on PATH (`nix profile add nixpkgs#caddy nixpkgs#pebble`):
wsl -d Debian -- bash -lc 'cd /mnt/f/Akce/Ianitor && CARGO_TARGET_DIR=$HOME/ianitor-target cargo test --workspace'
One-time per clone: git config core.hooksPath .githooks (self-test: sh .githooks/test-pre-commit.sh)
One-time per clone: git config core.hooksPath .githooks (self-test: bash .githooks/test-pre-commit.sh)
## Rules
- Commits: `[<crate|app>] <Feature>: <one line>`. No AI attribution, no trailers, ever.