Skip to content

Verify official GitHub targets during page service errors - #27

Merged
showxu merged 3 commits into
mainfrom
fix/site-link-retries
Oct 2, 2026
Merged

showxu merged 3 commits into
mainfrom
fix/site-link-retries

Conversation

@showxu

@showxu showxu commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Website verification can fail when GitHub's HTML pages return server errors for existing public targets. Keep HTTP checks with bounded retries and concurrency; for official GitHub links that still return 5xx, verify the repository and exact file, directory, release or security-policy target through the authoritative API. Client errors, missing or private targets, unsupported routes and failed API checks remain failures.

Workflow tokens are used only for read-only API requests by the link validator. Authentication is optional for local public API checks, and API redirects fail rather than forwarding credentials.

Validation: npm ci, npm run test:install, and npm run check passed, including desktop/mobile smoke and accessibility checks. Nine link-validation tests cover missing files, target types, public repository identity, client errors, unsupported routes, stable releases, request reuse and credential isolation.

@showxu showxu changed the title Retry transient website link-check failures Verify official GitHub targets during page service errors Oct 2, 2026
@showxu
showxu merged commit e7a4378 into main Oct 2, 2026
1 check passed
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