From de6e20a6c6275fd14f4b6087e79d8b33096dba0d Mon Sep 17 00:00:00 2001 From: Andrea Arturo Venti Fuentes <117413846+av1155@users.noreply.github.com> Date: Tue, 11 Aug 2026 12:57:39 -0400 Subject: [PATCH] fix(ci): raise lychee timeout and retries A timeout fails the run even though lychee counts it apart from errors, so one slow host turns the weekly sweep red with zero broken links. Every red run so far has been the same Authelia URL, which answers instantly from an ordinary client and stalls only from Actions runners. Closes #727 --- lychee.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lychee.toml b/lychee.toml index 86fc60a6..1c68f4ff 100644 --- a/lychee.toml +++ b/lychee.toml @@ -1,9 +1,13 @@ # Lychee link-checker configuration. # https://lychee.cli.rs/configuration/ -max_retries = 2 -retry_wait_time = 2 -timeout = 20 +# Generous because a timeout counts as a failure and fails the whole run, even +# though lychee reports it separately from errors. www.authelia.com answers in +# well under a second from an ordinary client but intermittently stalls when +# asked from an Actions runner, which is what every red run so far has been. +max_retries = 3 +retry_wait_time = 3 +timeout = 45 no_progress = true # 2xx is fine; 403 and 429 usually mean the host rate-limited an