From e339c15a727eb9f6369e3707cd2424d51507b543 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 30 Aug 2025 21:16:29 -0700 Subject: [PATCH] Increase timeout duration for link check The "markdown-link-check" tool is used to check for broken links in the project's Markdown files. In addition to the obvious case where a broken link is indicated by an HTTP response status code, the case where the server does not respond must also be covered. By default, "markdown-link-check" waits 10 s for a response, and considers the link broken if one was not received in that time. It has been found that it occasionally takes more than 10 s to receive a response from some functional links, and thus the default timeout value was resulting in disruptive false positives from the link check. --- .markdown-link-check.json | 1 + .../assets/check-markdown/.markdown-link-check.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.markdown-link-check.json b/.markdown-link-check.json index bd9245f1..ba568b7a 100644 --- a/.markdown-link-check.json +++ b/.markdown-link-check.json @@ -8,6 +8,7 @@ } ], "retryOn429": true, + "timeout": "30s", "retryCount": 3, "aliveStatusCodes": [200, 206], "ignorePatterns": [ diff --git a/workflow-templates/assets/check-markdown/.markdown-link-check.json b/workflow-templates/assets/check-markdown/.markdown-link-check.json index c5e178dd..b9571cac 100644 --- a/workflow-templates/assets/check-markdown/.markdown-link-check.json +++ b/workflow-templates/assets/check-markdown/.markdown-link-check.json @@ -8,6 +8,7 @@ } ], "retryOn429": true, + "timeout": "30s", "retryCount": 3, "aliveStatusCodes": [200, 206] }