tidy: Detect outdated workspaces in workspace list by clubby789 · Pull Request #149417 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

@clubby789

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

@rustbot

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 the T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

label

Nov 28, 2025

@rustbot

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.

@rust-log-analyzer

This comment has been minimized.

Mark-Simulacrum

Choose a reason for hiding this comment

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

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})"));

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?

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.

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

@bors

📌 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

@Zalathar

…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

@Zalathar

…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

@bors

Rollup of 12 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

@matthiaskrgr

@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

@rustbot

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

@bors try jobs=x86_64-msvc-2

rust-bors bot added a commit that referenced this pull request

Dec 10, 2025

@rust-bors

tidy: Detect outdated workspaces in workspace list

try-job: x86_64-msvc-2

@clubby789

@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

@rust-bors

tidy: Detect outdated workspaces in workspace list

try-job: x86_64-msvc-2

@clubby789

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

@rust-log-analyzer

This comment has been minimized.

@rust-bors

@jamie-osec

@clubby789

@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

@rust-bors

tidy: Detect outdated workspaces in workspace list

try-job: x86_64-msvc-2

@rust-bors

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

@clubby789

@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

@Mark-Simulacrum

@bors

📌 Commit 4e51a8d 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 13, 2025

ChrisDenton added a commit to ChrisDenton/rust that referenced this pull request

Dec 14, 2025

@ChrisDenton

…Mark-Simulacrum

tidy: Detect outdated workspaces in workspace list

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

ChrisDenton added a commit to ChrisDenton/rust that referenced this pull request

Dec 14, 2025

@ChrisDenton

…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 14, 2025

@bors

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit that referenced this pull request

Dec 14, 2025

@bors

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Dec 14, 2025

@rust-timer

Rollup merge of #149417 - clubby789:stale-workspace-list, r=Mark-Simulacrum

tidy: Detect outdated workspaces in workspace list

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

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request

Dec 15, 2025

@bors

Labels

A-tidy

Area: The tidy tool

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)