Skip to content

Conversation

kailan
Copy link
Contributor

@kailan kailan commented Oct 10, 2025

This resolves one of the reports in #11834.

Widely depended-on crates can cause timeouts when loading the reverse dependencies page.

The reverse dependencies route is the only one (bar email verification, which makes sense) that sends you to the index page upon error.

This pull request updates the error handling logic to use the catch-all redirect that other routes use, resulting in the user remaining on the current page they are on.

@kailan
Copy link
Contributor Author

kailan commented Oct 10, 2025

Not sure how to decode this 🤔

Screenshot 2025-10-10 at 17 47 24

@Turbo87
Copy link
Member

Turbo87 commented Oct 10, 2025

oh boy... looks gnarly 😅

I can take a look once I have a quiet minute again :)

@Turbo87
Copy link
Member

Turbo87 commented Oct 10, 2025

my first thought would be that this might have to use https://github.com/rust-lang/crates.io/blob/main/tests/helpers/visit-ignoring-abort.js, but it's just an educated guess 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants