Skip to content

ci(links): tolerate auth walls and anti-bot 403s in link checker#2

Merged
bigwellaadmin-dev merged 1 commit into
mainfrom
fix/lychee-link-tolerance
May 25, 2026
Merged

ci(links): tolerate auth walls and anti-bot 403s in link checker#2
bigwellaadmin-dev merged 1 commit into
mainfrom
fix/lychee-link-tolerance

Conversation

@bigwellaadmin-dev

Copy link
Copy Markdown
Owner

[Add lychee.toml at the repo root so the link-checker configuration is auditable in one place. Accept 403 and 429 as success (these mean "the link works but lychee cannot follow it"), follow redirects up to 5 hops, retry once on transient errors, and use a browser-shaped UA so CDN-fronted sites do not bot-block.

Excludes the Private Vulnerability Reporting URL from checking. The URL is correct, but it 302-redirects to a GitHub login wall that lychee cannot follow.

Pull Request

What this change does

Briefly describe the change in one or two sentences.

Type of change

  • Tool fix (bug, accessibility, performance)
  • Skill improvement
  • Documentation or guide edit
  • Rubric or assessment update
  • New translation or adaptation

Important: framework content is canonical

The framework text (the six steps, the F check questions, the Y diagnostic, the in-one-sentence lines) is the published intellectual work of Sandra Robinson and is treated as canonical. Changes to the framework content itself need to be discussed in an issue first before a PR is opened.

Implementation changes (the tool, the skill instructions, the website copy, the build specs) are open to PR without prior discussion.

Checklist

Add lychee.toml at the repo root so the link-checker configuration is
auditable in one place. Accept 403 and 429 as success (these mean "the
link works but lychee cannot follow it"), follow redirects up to 5
hops, retry once on transient errors, and use a browser-shaped UA so
CDN-fronted sites do not bot-block.

Excludes the Private Vulnerability Reporting URL from checking. The URL
is correct, but it 302-redirects to a GitHub login wall that lychee
cannot follow.
@bigwellaadmin-dev bigwellaadmin-dev merged commit f9338ab into main May 25, 2026
4 checks passed
@bigwellaadmin-dev bigwellaadmin-dev deleted the fix/lychee-link-tolerance branch May 25, 2026 21:59
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.

1 participant