Skip to content

Conversation

@lucyb
Copy link
Contributor

@lucyb lucyb commented Nov 13, 2024

We are currently seeing the link checking workflow fail on transient errors. So we should tell lychee to accept a wider range of responses, such as server errors and timeouts, as these don't indicate a broken link, but are instead temporary issues that we don't need to act upon.

I've made a "successful" run to demonstrate that the change has worked. It's failed on a 40x status code, but that's expected behaviour.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 13, 2024

Deploying opensafely-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 01983db
Status: ✅  Deploy successful!
Preview URL: https://6cbcf75e.opensafely-docs.pages.dev
Branch Preview URL: https://ignore-some-check-links-erro.opensafely-docs.pages.dev

View logs

We are currently seeing the link checking workflow fail on transient errors. So
we should tell lychee to accept a wider range of responses, such as server
errors and timeouts, as these don't indicate a broken link, but are instead
temporary issues that we don't need to act upon.
@lucyb lucyb merged commit 48f272e into main Nov 13, 2024
2 of 3 checks passed
@lucyb lucyb deleted the ignore-some-check-links-errors branch November 13, 2024 17:02
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