Commit ae4ab5b
Retry status-0 URL check failures with curl (#3342)
* Retry status-0 URL check failures with curl before failing
The cr.yp.to links consistently fail with status 0 (connection
failure) from GitHub Actions runners despite being valid URLs.
- Increase markdown-link-check timeout from default 10s to 30s
- Add a retry step that re-checks status-0 failures using curl
with retries, so genuine dead links still fail but servers that
don't respond to the Node.js HTTP client get a second chance
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix pipefail: tee was swallowing markdown-link-check exit code
Adding `| tee` to capture output caused the pipeline exit code to
always be 0 (from tee), so link check failures were silently ignored.
Adding `set -o pipefail` ensures the pipeline fails when
markdown-link-check fails.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Use continue-on-error so curl retry can rescue the job
The `if: failure()` approach ran the retry step but couldn't change
the job outcome. Using `continue-on-error: true` with step ID lets
the retry step determine the final pass/fail result.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 63eea77 commit ae4ab5b
File tree
2 files changed
+51
-1
lines changed- .github/workflows
- config
2 files changed
+51
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | | - | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
0 commit comments