From 7e26cc2a73491bb2423c02b01259f2ffc58e7557 Mon Sep 17 00:00:00 2001 From: Anisur Rahman Date: Fri, 19 Jun 2026 12:29:13 +0600 Subject: [PATCH] Make link checker resilient to transient external failures The lychee link checker intermittently failed on master with "Connection failed. Check network connectivity and firewall settings" against kubernetes.io URLs that are actually valid (HTTP 200). The runner was hitting external sites with no retries and high concurrency, triggering rate-limiting / connection refusals. Lower --max-concurrency to 4 and add --max-retries 6, --retry-wait-time 5 and --timeout 30 so transient failures are retried instead of failing the build. Signed-off-by: Anisur Rahman --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71775d4..54c236b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - name: Check links run: | - lychee --root-dir $(pwd) --max-concurrency 10 --exclude '^(.*/docs/\{\{<.*>\}\}/.*|.*github.com.*|.*api.slack.com.*|.*askapache.com.*|.*twitter.com.*|.*dev.mysql.com.*|.*linux.die.net.*|.*helm.sh.*|.*aws.amazon.com.*|.*kind.sigs.k8s.io.*|.*git.k8s.io.*|.*localhost.*|.*kubedb.com.*)$' 'docs/**/*.md' + lychee --root-dir $(pwd) --max-concurrency 4 --max-retries 6 --retry-wait-time 5 --timeout 30 --exclude '^(.*/docs/\{\{<.*>\}\}/.*|.*github.com.*|.*api.slack.com.*|.*askapache.com.*|.*twitter.com.*|.*dev.mysql.com.*|.*linux.die.net.*|.*helm.sh.*|.*aws.amazon.com.*|.*kind.sigs.k8s.io.*|.*git.k8s.io.*|.*localhost.*|.*kubedb.com.*)$' 'docs/**/*.md' - name: Create Kubernetes cluster id: kind