fix: allow skipping client-side fragment validation - #862
Merged
Conversation
JustinBeckwith
marked this pull request as ready for review
July 23, 2026 22:18
JustinBeckwith
force-pushed
the
codex/investigate-client-fragments
branch
from
July 23, 2026 22:19
e989020 to
c5deca0
Compare
JustinBeckwith
force-pushed
the
codex/investigate-client-fragments
branch
from
July 23, 2026 22:21
c5deca0 to
ff2cce4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--skip-fragment/skipFragmentfor CLI and config usersfragmentsToSkipregex/function support to the APISKIPPEDwhile still checking the fragmentless HTTP URLRoot cause
HTTP requests never send URL fragments to the server. Linkinator can verify traditional fragments against server-rendered HTML, but it cannot infer whether JavaScript will consume a fragment as application state. Treating every missing static identifier as definitely broken creates false positives for links such as TypeScript Playground
#code/...URLs.This change keeps strict fragment validation as the default and adds an explicit, fragment-specific escape hatch. Unlike
--skip, it skips only fragment validation; the underlying URL is still requested and must pass.Validation
npm run buildnpm run lint(passes; existing Biome schema-version informational notice remains)npm pack --dry-runnpm run docs-test: 17 live README links passed^code/and^show-examples$: only unrelated GitHub#readmeremained strict/broken^readme$: 0 broken; client-state fragments skipped; TypeScript Playground and GitHub base URLs independently remained HTTP-OKCloses #858