Skip to content

ci: check external links with fleettools linkcheck - #4

Merged
tannevaled merged 2 commits into
mainfrom
ci/linkcheck
Nov 8, 2026
Merged

tannevaled merged 2 commits into
mainfrom
ci/linkcheck

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Replace the hand-written shell link-check loop (grep + curl + retry) of the links job in docs.yml with go-fleettools/fleettools linkcheck v0.88.0, as go-authn/docs already does.

  • Retries with exponential backoff honouring Retry-After; github.com repo and path links are decided through the REST API; a DEAD link is told apart from a FLAKY host.
  • Exclusions carried over as --skip: this site's own pages (published only by the deploy job) and this repository's own files (not on main yet on a pull request). Placeholder hosts and img.shields.io are built in.
  • The job token is passed as a 0600 file under RUNNER_TEMP, removed on exit, never on a command line.

Fleet migration reported by linkjobscan; no issue tracks it.

🤖 Generated with Claude Code

tannevaled and others added 2 commits November 8, 2026 15:04
Replace the hand-written grep + curl loop of the docs `links` job with
fleettools linkcheck v0.88.0. The site's own pages and this repository's own
files stay excluded, now as --skip.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The host answers a program 403 and a browser a sign-in redirect.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 753c905 into main Nov 8, 2026
3 checks passed
@tannevaled
tannevaled deleted the ci/linkcheck branch November 8, 2026 14:07
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