-
Notifications
You must be signed in to change notification settings - Fork 76
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
Lots of new failures since release 1.0.14 #127
Comments
Rolling back to 1.0.13 in ddev/ddev#3706 does in fact fix all the markdown link errors. There are still two weird external 503s, but those can simply be ignored I guess. The two 503s are to things on php.net; curls to those URLs come out clean, but apparently curls from inside this action result in 503s. |
@rfay Thank you for reporting this. I'll check this one again to see what is happening. Otherwise revert back |
@rfay as a temporary fix, I've moved |
with the 1.0.14, links to anchors in a markdown files are failing the check |
We are also getting failures for links to anchors in the current file, https://github.com/dart-lang/build/runs/5681705762#step:4:336 |
I've marked v1.0.14 as a per-release version. Latest version on markdown-link-check includes checks for anchor links and that is causing lots of failed links. |
* Fix broken link * Temp disable custom Markdown link checker config to troubleshoot false negatives * Fix 2 broken links * Specify MLC v@1.0.13 since the current v1 has many relative link failures per: gaurav-nelson/github-action-markdown-link-check#127 * Wrap localhost link in ticks * Allow 429s as alive status code * Intentionally introduce broken link * Add missing https to link * Update mlc config * Revert "Intentionally introduce broken link" This reverts commit 6f9d583. * Go back to checking only modified files instead of the whole project * Add scheduled link checker to prevent link rot * Add scheduled link checker to prevent link rot
I am also experiencing lot of 503 on links that should not... https://doi.org/10.1073/pnas.1509788112 for example |
* Add check for vWan NW connection * test commit * bogus commit * remove bogus * add vwan nwc step * add missing ne to condition * update condition to ensure that vwan gets deployed * correct bicep file * trigger vwan nwc * Update conditions to include gitVwanNwcOUTPUT * fix commandline * remove trigger * pin to v1.0.13 due to upstream bug gaurav-nelson/github-action-markdown-link-check#127 * remove v for version Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
I tried debugging it and testing it locally but couldn't yet put my head around it. I couldn't even get it to work locally with markdown-link-check version 3.8.7 which is what this action was using in 1.0.13. I see it is checking anchor links by default. You are welcome to debug this issue. I think something changed in one of the dependencies of markdown-link-check module which is causing the issues. I'm not sure yet. |
We experienced the same problem when running check using @gaurav-nelson When do you plan to release new version of the action which would contain downgrade to |
@AleksanderBrzozowski v1 is using 3.8.7 which was my last commit 5c5dfc0 Comparison between v1 and v1.0.13 1.0.13...v1 I'm not sure why but when I test even with 1.0.13 I still get failed anchor links. |
Hm, is it possible to find which version of the |
@AleksanderBrzozowski yes its not in the logs. The version flag was implemented after mlc 3.8.7. Can you try installing locally and check |
ok, I use the action to check links in docs from this project. When I run: find docs/docs -name '*.md' -exec npx markdown-link-check@3.8.7 -v -c .github/workflows/markdown-links-config.json {} \; Everything works ok, no errors reported. However, with version 3.9.1 it fails: find docs/docs -name '*.md' -exec npx markdown-link-check@3.9.1 -v -c .github/workflows/markdown-links-config.json {} \;
# example errors from logs:
FILE: docs/docs/configuration/kafka-and-zookeeper.md
[✖] #multiple-kafka-and-zookeeper-clusters → Status: 404
[✖] #single-kafka-cluster → Status: 404 |
@gaurav-nelson Can you check above? Are you sure that new version of the action has been successfully uploaded? |
@AleksanderBrzozowski I still can't make 1.0.13 work. For me it is failing on anchors PS: https://github.com/gaurav-nelson/test-mlc-action/runs/6185868294?check_suite_focus=true |
Hm, it looks like that our workflow has picked up recent version, and everything started to work again ;) |
¯\_(ツ)_/¯ I'm not sure what's going on. I'll update the script to list out all the node modules in use and their version. |
@AleksanderBrzozowski PS: #137 Let me know if that is enough and I'll add it to v1.0.13 and v1 |
PR approved. I saw the logs of one of the checks and it looks nice :) |
UPDATE: As far as I can tell, from testing the last couple of days:
Any advice? |
@danyalaytekin @rfay @AleksanderBrzozowski I've updated 1.0.14 which includes latest mlc version and fixes some other issues. Can you check and confirm if that solves your problem? |
@gaurav-nelson if I understand you correctly you "updated" 1.0.14 rather than releasing a new version. Please don't ever do that. An existing release should never be changed. Rather, release a new version, like a v1.0.15. I'll do a PR on DDEV to check v1.0.14 |
I got a successful run, but I note I had added "httpHeaders": [
{
"urls": ["https://github.com/", "https://guides.github.com/", "https://help.github.com/", "https://docs.github.com/"],
"headers": {
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}
], to markdown-link-check.json... wasn't that part of this issue? |
I got a successful run too :) |
Thank you @rfay @AleksanderBrzozowski for testing it out. @rfay That is a custom option people need to specify in the configuration file. I've added it to README at https://github.com/gaurav-nelson/github-action-markdown-link-check#github-links-failure-fix Thank you for recommending about releasing a new version. I'll make sure I don't overwrite versions. |
Removing (for the moment) active URLs from references due to multiple gaurav link check failures due to the known issue - gaurav-nelson/github-action-markdown-link-check#127
This downgrades the markdown-link-check action from v1 to 1.0.13 (which points to an earlier commit) to see if the 503 errors I'm getting are related to: gaurav-nelson/github-action-markdown-link-check#127
Moving from v1 to 1.0.14 fixed the wrong 503 errors, but gave many new errors for hash links (links to specific sections). It's probably gaurav-nelson/github-action-markdown-link-check#127, in which case switching to 1.0.13 won't fix the hash link problem, but I want to try that before attempting to fix both problems at once by specifying branches or untagged commits.
* Enable markdown-link-check https://github.com/marketplace/actions/markdown-link-check * Use markdown-link-check 1.0.14 To fix HTTP 503 errors I shouldn't be getting. This change fixed it in three other repos: - EliahKagan/userstyles#1 - EliahKagan/muntineer#2 - EliahKagan/fps#1 * Fix typo in referenced version tag name * Try markdown-link-check 1.0.13 Moving from v1 to 1.0.14 fixed the wrong 503 errors, but gave many new errors for hash links (links to specific sections). It's probably gaurav-nelson/github-action-markdown-link-check#127, in which case switching to 1.0.13 won't fix the hash link problem, but I want to try that before attempting to fix both problems at once by specifying branches or untagged commits. * Try tip of master For markdown-link-check. * Back to v1 * Work around fussy links
Suddenly (apparently with release of 1.0.14) I get piles and piles of link-check failures.
See https://github.com/drud/ddev/runs/5561841543?check_suite_focus=true for example, but it's quite consistent.
All the checks are in open-source stuff, you can easily see what's going on,
The text was updated successfully, but these errors were encountered: