anwesen/tests
Andreas Brenner 30bca24b5c ANW-45 Serve: exit nonzero when the supervisor tree fails to start
Hydra's Application::run logs a start failure and returns normally, so
serve exited 0 after the tree never came up. systemd read that as a clean
start and Restart=on-failure never retried; anwesen was unreachable on ap
for 12 hours with NRestarts=0.

Anwesen carries a started flag that start() sets once the supervisor is
up, and main exits 1 when it is still false after run() returns.

Assumed the flag is the only seam available: run() consumes self and
returns (), so the Err is not observable at the call site. Flag if a newer
hydra exposes the result.
2026-07-29 22:22:24 +03:00
..
fixtures/vault ANW-20 hurl HTTP contract-test harness 2026-05-14 19:11:00 +02:00
hurl ANW-26 HTTP /query markdown-merge mode 2026-06-14 18:35:20 +03:00
run-hurl.sh ANW-20 hurl HTTP contract-test harness 2026-05-14 19:11:00 +02:00
serve_start_failure.rs ANW-45 Serve: exit nonzero when the supervisor tree fails to start 2026-07-29 22:22:24 +03:00