Skip to content

Conversation

@kingsword09
Copy link
Contributor

ci error: https://github.com/rust-lang/crates-io-auth-action/actions/runs/18473910894/job/52633960065

After upgrading lychee-action to v2.5.0 (which uses lychee 0.19.1),
the fragment checking now correctly validates URL fragments. However,
Zulip uses client-side routing where fragments like #narrow/channel/...
are handled by JavaScript and don't exist as HTML anchors in the
server response.

Use the --remap flag to strip fragments from Zulip URLs while still
checking that the base URL is reachable. This allows fragment checking
to remain enabled for other links in the repository.

Related: lycheeverse/lychee#1675
Related: lycheeverse/lychee#1791

@kingsword09
Copy link
Contributor Author

cc @marcoieni

@marcoieni
Copy link
Member

Zulip uses client-side routing where fragments like #narrow/channel/... are handled by JavaScript and don't exist as HTML anchors in the server response.

Use the --remap flag to strip fragments from Zulip URLs while still checking that the base URL is reachable. This allows fragment checking to remain enabled for other links in the repository.

Can you write something like this in the code as a comment? So that people know why the remap is there :)

@kingsword09
Copy link
Contributor Author

Please take another look. Thanks! @marcoieni

@marcoieni marcoieni added this pull request to the merge queue Oct 15, 2025
@marcoieni
Copy link
Member

thanks a lot ❤️

Merged via the queue into rust-lang:main with commit 8c0a46e Oct 15, 2025
10 checks passed
@kingsword09 kingsword09 deleted the ci-skip-fragment-check-for-zulip branch October 15, 2025 06:05
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.

2 participants