You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linkchecker blocks merging when certificate on external site is expired #1998
We currently can't merge any changes because the certificate of someone's private blog expired: https://github.com/pypa/packaging.python.org/actions/runs/21515206224/job/61995726370. As the linkchecker checks all sites for each PR, it has a lot of opportunities to fail in way unrelated to the PR it's checking. For example, the PR the linked workflow it's failing on is trying to handle another failure caused by a sourceforge policy change: #1997.
Could we move the link checker to not be a required check, or move it to a daily cron CI job? I can file a PR to do the change.
Code of Conduct
I am aware that participants in this repository must follow the PSF Code of Conduct.
I recently hit a different problem with the linkchecker, where merging a half dozen changes in a row slowed down the merge queue because the linkchecker got rate limited by GitHub itself (lots of our links go back to GitHub repos).
The reason we haven't set the linkchecker up to only run in cron previously is because we actually do want to ensure that any links added or modified by a PR are valid before we merge them.
Ideally it would be possible to run the link check in a branch-aware mode, where it only checked links on lines that had been modified in the branch (and then have a cron job running to pick up when external links have gone stale and either remove them or find replacements for them).
I think disabling certain domains is fine. But also, in modern Sphinx, there's some auth mechanisms that may allow us to get better rate limits for sites like GitHub.
Activity
woodruffw commentedon Jan 30, 2026
Yeah, fully agreed. IMO we can disable the link check on PRs but keep it as a periodic cron for maintenance purposes.
woodruffw commentedon Jan 30, 2026
I've temporarily added that domain as part of #1997 as well.
ncoghlan commentedon Mar 5, 2026
I recently hit a different problem with the linkchecker, where merging a half dozen changes in a row slowed down the merge queue because the linkchecker got rate limited by GitHub itself (lots of our links go back to GitHub repos).
The reason we haven't set the linkchecker up to only run in cron previously is because we actually do want to ensure that any links added or modified by a PR are valid before we merge them.
Ideally it would be possible to run the link check in a branch-aware mode, where it only checked links on lines that had been modified in the branch (and then have a cron job running to pick up when external links have gone stale and either remove them or find replacements for them).
webknjaz commentedon Mar 26, 2026
I think disabling certain domains is fine. But also, in modern Sphinx, there's some auth mechanisms that may allow us to get better rate limits for sites like GitHub.
woodruffw commentedon Apr 13, 2026
#2032 will hopefully ameliorate this. We'll still have failures when a link actually breaks, though, which may need to be reevaluated over time.
Don't block PRs on linkcheck