Skip to content
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-ci: Don't error on timeouts #110

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Oct 11, 2024

Description of proposed changes

linkcheck errors on both timeouts and broken links. We only want the CI job to fail on broken links since timeouts are most likely transient.

Related issue(s)

Checklist

@victorlin victorlin self-assigned this Oct 11, 2024
@victorlin victorlin force-pushed the victorlin/docs-ci-linkcheck branch 2 times, most recently from 94a72a3 to 433734d Compare October 12, 2024 00:03
@victorlin victorlin marked this pull request as draft October 12, 2024 00:11
linkcheck errors on both timeouts and broken links.¹ We only want the CI
job to fail on broken links since timeouts are most likely transient.

¹ https://github.com/sphinx-doc/sphinx/blob/2f1d775dfda9e4f81dfff6cfbe9edf7731e32a97/sphinx/builders/linkcheck.py#L82-L83
@victorlin victorlin force-pushed the victorlin/docs-ci-linkcheck branch from 913cb8c to 4955782 Compare October 14, 2024 21:43
@victorlin victorlin marked this pull request as ready for review October 14, 2024 21:48
@victorlin victorlin requested a review from genehack October 15, 2024 00:56
@victorlin victorlin changed the title Don't error on timeouts docs-ci: Don't error on timeouts Oct 15, 2024
Base automatically changed from victorlin/docs-ci-single-build-job to master October 16, 2024 17:31
@victorlin victorlin force-pushed the victorlin/docs-ci-linkcheck branch from 12d5ab4 to 4955782 Compare October 16, 2024 17:31
@victorlin victorlin merged commit 5571465 into master Oct 16, 2024
58 checks passed
@victorlin victorlin deleted the victorlin/docs-ci-linkcheck branch October 16, 2024 17:32
@tsibley
Copy link
Member

tsibley commented Oct 21, 2024

I was ambiently aware some sort of improvement was happening here but wasn't paying much attention. Just a bit ago though I saw the results of this PR in another PR's failure and it was so much better than previously. Thank you!

@victorlin
Copy link
Member Author

Awesome, glad to hear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants