Skip to content

Conversation

@clubby789
Copy link
Contributor

@clubby789 clubby789 commented Nov 28, 2025

Detects the case in #149415 (will pass CI once that lands).

@rustbot
Copy link
Collaborator

rustbot commented Nov 28, 2025

The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging.

cc @davidtwco, @wesleywiser

@rustbot rustbot added A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 28, 2025
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Nov 28, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 28, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@clubby789 clubby789 force-pushed the stale-workspace-list branch from 7e4f2b3 to c906b2a Compare November 28, 2025 12:14
@rust-log-analyzer

This comment has been minimized.

@clubby789 clubby789 closed this Nov 30, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 30, 2025
@clubby789 clubby789 reopened this Nov 30, 2025
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 30, 2025
Copy link
Member

@Mark-Simulacrum Mark-Simulacrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me presuming that check exists or we have an issue tracking adding it (or there's a good reason to not add it)

View changes since this review

if path == "." { root.to_path_buf() } else { t!(root.join(path).canonicalize()) };
let canonicalized_root_real = t!(metadata.workspace_root.canonicalize());
if canonicalized_root_real != canonicalized_root {
check.error(format!("{path} is part of another workspace, remove from `WORKSPACES` ({WORKSPACE_LOCATION})"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do have a check somewhere that we're covering all workspaces, right? Or is that missing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no such check. And in fact we don't cover all workspaces. There are a bunch of workspaces that are neither used by x.py nor vendored. All workspaces that aren't vendored can't be linted by tidy without breaking offline builds.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack. Yeah, I guess that makes sense. Might be good to try to find a way to at least check those used by x.py, but not sure how we'd actually accomplish that in a useful way.

@Mark-Simulacrum
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 10, 2025

📌 Commit c906b2a has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 10, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Dec 10, 2025
…Mark-Simulacrum

tidy: Detect outdated workspaces in workspace list

Detects the case in rust-lang#149415 (will pass CI once that lands).
Zalathar added a commit to Zalathar/rust that referenced this pull request Dec 10, 2025
…Mark-Simulacrum

tidy: Detect outdated workspaces in workspace list

Detects the case in rust-lang#149415 (will pass CI once that lands).
bors added a commit that referenced this pull request Dec 10, 2025
Rollup of 12 pull requests

Successful merges:

 - #147602 (Deduplicate higher-ranked lifetime capture errors in impl Trait)
 - #147725 (Remove -Zoom=panic)
 - #148294 (callconv: fix mips64 aggregate argument passing for C FFI)
 - #148491 ( Correctly provide suggestions when encountering `async fn` with a `dyn Trait` return type)
 - #149417 (tidy: Detect outdated workspaces in workspace list)
 - #149458 (Run clippy on cg_gcc in CI)
 - #149679 (Restrict spe_acc to PowerPC SPE targets)
 - #149781 (Don't suggest wrapping attr in unsafe if it may come from proc macro)
 - #149795 (Use `let`...`else` instead of `match foo { ... _ => return };` and `if let ... else return` in std)
 - #149816 (Make typo in field and name suggestions verbose)
 - #149824 (Add a regression test for issue 145748)
 - #149826 (compiletest: tidy up `adb_path`/`adb_test_dir` handling)

r? `@ghost`
`@rustbot` modify labels: rollup
@matthiaskrgr
Copy link
Member

@bors r-
looks like this failed here
#149830 (comment)

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 10, 2025
@clubby789 clubby789 force-pushed the stale-workspace-list branch from c906b2a to 8143abc Compare December 10, 2025 19:36
@rustbot
Copy link
Collaborator

rustbot commented Dec 10, 2025

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@clubby789
Copy link
Contributor Author

@bors try jobs=x86_64-msvc-2

rust-bors bot added a commit that referenced this pull request Dec 10, 2025
tidy: Detect outdated workspaces in workspace list

try-job: x86_64-msvc-2
@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Dec 10, 2025

💔 Test for a1d5de2 failed: CI. Failed jobs:

@clubby789 clubby789 force-pushed the stale-workspace-list branch from 8143abc to 1d7d030 Compare December 10, 2025 21:29
@clubby789
Copy link
Contributor Author

@bors try jobs=x86_64-msvc-2

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 10, 2025
tidy: Detect outdated workspaces in workspace list

try-job: x86_64-msvc-2
@clubby789
Copy link
Contributor Author

clubby789 commented Dec 10, 2025

Hmm, D:\a\rust\rust != \\?\D:\a\rust\rust (#42869)

@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Dec 10, 2025

💔 Test for 486433f failed: CI. Failed jobs:

@clubby789 clubby789 force-pushed the stale-workspace-list branch from 1d7d030 to 4e51a8d Compare December 10, 2025 21:45
@clubby789
Copy link
Contributor Author

@bors try jobs=x86_64-msvc-2

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 10, 2025
tidy: Detect outdated workspaces in workspace list

try-job: x86_64-msvc-2
@rust-bors
Copy link

rust-bors bot commented Dec 10, 2025

☀️ Try build successful (CI)
Build commit: f1b3570 (f1b357015140f0fecaf36128b35a247dcdba4ec2, parent: a9ac706b5f79e90d7255e3acc343fffba47cc5ef)

@clubby789
Copy link
Contributor Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants