guard/tests
loki5512344 da87d2a11f
test: move the last inline test modules to tests/, document new signals
- All remaining #[cfg(test)] modules left src/ (manager auth/heartbeat,
  protocol registry and HTTP parser, traffic hook/prefix/profile, TUI
  Prometheus); 41 tests moved into 10 integration suites with the same names
  and assertions, so `grep -rn '#[cfg(test)]' src/` is now empty.
- runbook.md: degradation signals (overloaded connections, ClickHouse drops,
  XDP drops, generic mode, EMFILE backoff) and how to verify XDP was detached.
- troubleshooting.md: accept backoff, orphaned XDP, password/JWT startup
  requirements, ClickHouse event loss.
- TODO: review round recorded as fixed/deferred.
2026-11-16 12:36:29 +01:00
..
app_shutdown.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
clickhouse_writer.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
config_parse.rs fix(edge): IPv6 bind, configurable relay idle, per-gateway budget, PROXY identity 2026-11-16 12:36:19 +01:00
connection_limits.rs fix(edge): IPv6 bind, configurable relay idle, per-gateway budget, PROXY identity 2026-11-16 12:36:19 +01:00
filter_logic.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
http_protocol.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
manager_api.rs feat(manager): SCAN inventory, pagination, request limits, graceful shutdown 2026-11-16 12:36:29 +01:00
manager_auth.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
manager_heartbeat.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
manager_security.rs feat(manager): SCAN inventory, pagination, request limits, graceful shutdown 2026-11-16 12:36:29 +01:00
pow_difficulty.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
pow_roundtrip.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
protocol_http_handler.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
protocol_http_parser.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
protocol_registry.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
protocol_registry_contract.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
proxy_identity.rs fix(edge): IPv6 bind, configurable relay idle, per-gateway budget, PROXY identity 2026-11-16 12:36:19 +01:00
redis_backoff.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
subnet_detection.rs feat(xdp): estimate distinct sources in prefix stats, fix the detection window 2026-11-16 12:36:19 +01:00
traffic_hook.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
traffic_intel.rs fix(core): close auth bypass, hangs and memory leaks found by review 2026-11-16 12:06:23 +01:00
traffic_prefix_stats.rs feat(xdp): estimate distinct sources in prefix stats, fix the detection window 2026-11-16 12:36:19 +01:00
traffic_profile_alert.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
traffic_profile_profiler.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
tui_metrics.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
tui_prometheus.rs test: move the last inline test modules to tests/, document new signals 2026-11-16 12:36:29 +01:00
xdp_attach_smoke.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_ban_clock.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
xdp_ban_keys.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_ban_v6.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
xdp_diagnostics.rs style: switch rustfmt to hard tabs; document tests-separate rule in TODO 2026-11-15 22:34:29 +01:00
xdp_events.rs feat(xdp): IPv6 UDP rate limit, working loader; English comments and docs 2026-11-15 23:50:52 +01:00
xdp_globals.rs style: switch rustfmt to hard tabs; document tests-separate rule in TODO 2026-11-15 22:34:29 +01:00
xdp_loader.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_object_maps.rs feat(xdp): estimate distinct sources in prefix stats, fix the detection window 2026-11-16 12:36:19 +01:00
xdp_services.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00
xdp_whitelist_keys.rs fix(xdp): correct payload length, attach/detach, whitelist and ban upkeep 2026-11-16 12:06:05 +01:00