-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Docs: Checking links makes check-docs
target brittle
#4732
Comments
Yes. This is problematic, especially due to 0 status code errors like this. Retries for this were added to mdox but it still fails in some cases. Currently, mdox checks all links (except config ones) on each PR and push to main. For this purpose, we're planning to add persistent caching to mdox using SQLite! So once checked, the links would be cached in GitHub Actions and would only be checked again after a specific time period (for eg, ~5d). This should reduce such failures and save time & resources. 🙂 |
Awesome! Sounds like a cool solution 👍 |
👍🏽 |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
I think this is still needed, did you get a chance to take a look @saswatamcode? Any way I could support you? |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Still relevant! I pinged @bwplotka to merge the upstream PR, after that nothing should be blocking us here |
The upstream feature has been merged 🎉 and @douglascamata graciously agreed to bring the new mdox release over to Thanos, which should resolve this 💪 |
Draft PR: #5500 |
Nice job @douglascamata 💯, resolved via #5500 |
Despite the measures to ignore some problematic links via config, I'm still seeing quite a few failures (e.g. the latest here https://github.com/thanos-io/thanos/pull/4726/checks?check_run_id=3790681280).
I'm wondering how reasonable it is to check availability of all links the different links from documentation, since these are various external resource and even if just one of them cannot be momentarily reached, the tests are failing. This increases the potential for test failures significantly.
The text was updated successfully, but these errors were encountered: