ci: ignore sourceware.org for markdown link checks - #2577
Conversation
|
Could you possibly review this one, as the link checking is flaky, causing the whole workflow to show failure. |
There was a problem hiding this comment.
Pull request overview
This PR updates the markdown link checker configuration to ignore sourceware.org URLs, avoiding sporadic CI failures caused by Status: 0 responses when validating links to the glibc site.
Changes:
- Add an
ignorePatternsentry for^https://sourceware\.org/inmarkdown_link_check_config.json.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I think it's better to replace/remove a flaky link, rather than ignoring it |
It's only flaky when it's tested with https://sourceware.org/glibc/ worked perfectly when I accessed it just now in Google Chrome. I don't think we should remove the link itself, and the content was updated a couple of days ago, so it seems to be providing relevant reference content. |
|
This was fast today: $ curl -I https://sourceware.org/glibc/
HTTP/2 200
server: nginx
date: Wed, 29 Jul 2026 14:22:18 GMT
content-type: text/html; charset=UTF-8
content-length: 5614
last-modified: Mon, 27 Jul 2026 14:40:08 GMT
etag: "15ee-65798b2e6b34f"
accept-ranges: bytes
vary: Accept-Encoding
content-security-policy: default-src 'self' http: https:
strict-transport-security: max-age=16070400 |
Description
In markdown_link_check_config.json
ignorePatterns:Motivation and Context
The workflow .github/workflows/markdown-link-check.yml is sporadically failing with Status 0 errors:
[✖] https://sourceware.org/glibc/ → Status: 0See workflow logs
The following manually executed command is succeeding, although it is very slow:
Types of changes
Checklist