Skip to content

dedup fallback - #160487

Closed
LusterSourav wants to merge 5 commits into
rust-lang:mainfrom
LusterSourav:fix-visible-parent-map-hang
Closed

dedup fallback#160487
LusterSourav wants to merge 5 commits into
rust-lang:mainfrom
LusterSourav:fix-visible-parent-map-hang

Conversation

@LusterSourav

@LusterSourav LusterSourav commented Aug 4, 2026

Copy link
Copy Markdown

Hidden items aren't added to the map, which causes each parent path to
re-enqueue the entire subtree. This led to exponential rustdoc hangs,
as noted in issue rust-lang#160439.
The rmake.rs script now builds dep.rs and runs rustdoc with a 60-second
kill watchdog, since compiletest doesn't have individual test timeouts.
This allows regressions to fail quickly instead of causing CI to hang.
This includes a nested #[doc(hidden)] fan structure (B=8, D=12) in
dep.rs, which is only reachable through hidden parents. The main.rs file
implements dep::Tr to trigger the trait path rendering that caused the
issue.
@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 4, 2026
@rustbot

rustbot commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project is excited to review your changes, and you should hear from @oli-obk (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue
Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 75 candidates
  • Random selection from 20 candidates

@rustbot

rustbot commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • There are issue links (such as #123) in the commit messages of the following commits.
    Please move them to the PR description, to avoid spamming the issues with references to the commit, and so this bot can automatically canonicalize them to avoid issues with subtree.

@rust-log-analyzer

This comment has been minimized.

@lqd

lqd commented Aug 4, 2026

Copy link
Copy Markdown
Member

From #160439 there's also #160464 to fix the issue.

@rust-log-analyzer

This comment has been minimized.

@LusterSourav

Copy link
Copy Markdown
Author

@tgross35

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 6, 2026
@LusterSourav
LusterSourav deleted the fix-visible-parent-map-hang branch August 6, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cargo doc freezes on libc with nightly-2026-08-03

5 participants