astron-harness-tutorial icon indicating copy to clipboard operation
astron-harness-tutorial copied to clipboard

[doc-watch] ⚠️ 巡检抓取失败

Open github-actions[bot] opened this issue 1 month ago • 3 comments

doc-watch 工作流抓取上游文档时出错(run #121)。可能是上游站点改版或网络问题。

[doc-watch] capturing Loomy Docs …
[doc-watch] fatal: TypeError: fetch failed
    at node:internal/deps/undici/undici:14976:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async fetchText (file:///home/runner/work/astronclaw-tutorial/astronclaw-tutorial/scripts/doc-watch/lib.mjs:39:19)
    at async captureSource (file:///home/runner/work/astronclaw-tutorial/astronclaw-tutorial/scripts/doc-watch/lib.mjs:166:23)
    at async main (file:///home/runner/work/astronclaw-tutorial/astronclaw-tutorial/scripts/doc-watch/check-updates.mjs:149:18)

github-actions[bot] avatar Oct 11 '26 06:10 github-actions[bot]

检查了当前 main:scripts/doc-watch/lib.mjs 已经对网络失败、超时、429 和 5xx 做 3 次尝试,每次超时 30 秒,所以这次不能简单归因于缺少重试。本机通过代理访问 /docs,跟随重定向后得到 HTTP 200,但还不能确认 GitHub runner 的链路正常。

建议补齐失败时的目标 URL 和 error.cause.code/message,区分 DNS、TLS、连接超时和上游响应问题;等后续 runner 抓取成功再确认恢复。根因确定前先保留这个 issue。

FenjuFu avatar Oct 12 '26 02:10 FenjuFu

doc-watch 工作流抓取上游文档时出错(run #122)。可能是上游站点改版或网络问题。

[doc-watch] capturing Loomy Docs …
[doc-watch] fatal: Error: Failed to fetch https://loomy.xunfei.cn/docs after 3 attempt(s): fetch failed (UND_ERR_CONNECT_TIMEOUT: Connect Timeout Error (attempted addresses: 114.118.75.244:443, timeout: 10000ms))
    at fetchError (file:///home/runner/work/astronclaw-tutorial/astronclaw-tutorial/scripts/doc-watch/lib.mjs:36:10)
    at fetchText (file:///home/runner/work/astronclaw-tutorial/astronclaw-tutorial/scripts/doc-watch/lib.mjs:63:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async captureSource (file:///home/runner/work/astronclaw-tutorial/astronclaw-tutorial/scripts/doc-watch/lib.mjs:175:23)
    at async main (file:///home/runner/work/astronclaw-tutorial/astronclaw-tutorial/scripts/doc-watch/check-updates.mjs:153:18)

github-actions[bot] avatar Oct 12 '26 06:10 github-actions[bot]

✅ run #123 抓取恢复正常,自动关闭。

github-actions[bot] avatar Oct 13 '26 07:10 github-actions[bot]