CI: lint-quick: retry the link check #5549
I can't think of a way to keep updating lychee automatically when not using their action. I guess renovate would work, but seems like overkill for a single dependency, and requires a token that can create additional PRs.
lychee put out 6 releases in the last 12 months (0.21.0 through 0.24.2), and none since 2026-05-01, so maybe bumping it every once in a while manually is worth it to get fewer failures? We don't really have to bump it at all unless it starts failing for some intrinsic reason.
This could be rather implemented in the upstream action?
I don't think it belongs in the action; it should be a flag on lychee itself because it already does implement retries, just not for connection failures.
This almost directly covers it: https://github.com/lycheeverse/lychee/issues/2297
This is slightly related: https://github.com/lycheeverse/lychee/issues/2193
I do not plan to engage with these issues. I would merge the current PR as a workaround, and remove it again if/when lychee implements this natively.
Otherwise we can also just close this PR and continue to rerun failed tests manually.
Otherwise we can also just close this PR and continue to rerun failed tests manually.
I prefer this.
Fine with me; I just created this because you wrote "check hyperlinks is too flakey".
AkihiroSuda
jandubois
Runs lychee up to three times in "Check hyperlinks", 10 and 20 seconds apart, with a warning annotation before each retry. lychee-action cannot retry, so the step downloads lychee and checks its sha256 itself; Dependabot no longer updates lychee.
Related: #5547
Assisted-by: Claude Opus 5.5