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

Failing link check #310

Open
wants to merge 4 commits into
base: chwa1-ignore-link-checking-azure-lniks
Choose a base branch
from

Conversation

regularfry
Copy link
Contributor

Just a sanity check to see what the behaviour of the link checker is around redirects.

@regularfry regularfry requested a review from a team as a code owner October 16, 2023 10:12
@regularfry regularfry marked this pull request as draft October 16, 2023 10:13
@regularfry regularfry changed the base branch from chwa1-ignore-link-checking-azure-lniks to main October 16, 2023 10:14
@regularfry
Copy link
Contributor Author

Setting "ready for review" to get the markdown link checker action to run. Don't worry about reviewing.

@regularfry regularfry marked this pull request as ready for review October 16, 2023 10:22
This increases the timeout from a default 10s to 30s, in case we're
getting throttled on azure links
@sonarcloud
Copy link

sonarcloud bot commented Oct 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@stefaniuk stefaniuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@regularfry
Copy link
Contributor Author

Ok, so this has passed. Looking through the dependency stack I couldn't see anything obviously wrong about the way timeouts are handled, but replacing redirected links with their eventual destination means fewer network requests, so fewer opportunities to go wrong. The increased timeout also means that if we are getting rate-limited at the other end, we're less likely to see a failure as a result.

@regularfry regularfry changed the base branch from main to chwa1-ignore-link-checking-azure-lniks October 16, 2023 13:30
@andyblundell
Copy link
Contributor

Ah is there a timeout setting on this action - it does throw a few false negatives, which are a nuisance

@regularfry
Copy link
Contributor Author

Ah is there a timeout setting on this action - it does throw a few false negatives, which are a nuisance

Yeah, I've changed it to 30 seconds. It defaults to 10. I'm unclear what would fail at 10 seconds but pass at 30. It just doesn't seem like a very natural breakpoint unless we're getting rate limited somewhere.

@regularfry regularfry changed the title WIP failing link check Failing link check Dec 13, 2023
Copy link

sonarcloud bot commented Jan 23, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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.

4 participants