-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check-markdown-links is painfully flaky #4575
Comments
Do we have any idea why it fails? What errors are returned when it does fail? All I saw seemed to be a github token error message. |
The errors in #4469 seem to be that requests to https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews get a 403 response, meaning the requests are forbidden, usually an authorisation problem, but I wonder if it’s rate limiting or something. |
I think internal links should always be valid, so it is good to check them on the PR. On line other hand, external links are outside of our control, and therefore it makes more sense to check them outside of the PR workflow, e.g. periodically. |
The recent failures are all (all the ones I checked at least) on a link to docs.github.com. My guess is that GitHub added a protection to avoid being ddos from actions. Links to GitHub.com were already ignored, I added docs.github.com to the ignore list in #4578 |
# Objective - related to #4575, but not a complete fix - links to GitHub.com can't be checked from inside a GitHub Actions as GitHub is protecting itself from being flooded by an action execution - it seems they added that protection to GitHub doc site ## Solution - Ignore links to docs.github.com
I was poking around at this and discovered lychee-action as an alternative to github-action-markdown-link-check. It's a rust project that seems to have all the features that we're using from
|
I'd be interested in trying that out. Want to make a PR to replace it? |
# Objective - related to bevyengine#4575, but not a complete fix - links to GitHub.com can't be checked from inside a GitHub Actions as GitHub is protecting itself from being flooded by an action execution - it seems they added that protection to GitHub doc site ## Solution - Ignore links to docs.github.com
# Objective This fails constantly and causes more pain than it is worth. ## Solution Remove dead link checks. Alternative to bevyengine#4837, which is more granular but ironically still fails to build. I'm in favor of the nuclear option. Fixes bevyengine#4575
# Objective - related to bevyengine#4575, but not a complete fix - links to GitHub.com can't be checked from inside a GitHub Actions as GitHub is protecting itself from being flooded by an action execution - it seems they added that protection to GitHub doc site ## Solution - Ignore links to docs.github.com
# Objective This fails constantly and causes more pain than it is worth. ## Solution Remove dead link checks. Alternative to bevyengine#4837, which is more granular but ironically still fails to build. I'm in favor of the nuclear option. Fixes bevyengine#4575
This step of the CI is incredibly flaky (see #4469 for an example). Blocking merges is pointless friction, and confuses new contributors.
There are several options here:
These are not mutually exclusive by any means. @mockersf, do you have preferences?
The text was updated successfully, but these errors were encountered: