Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecate action #12764

Merged
merged 3 commits into from
Jul 16, 2022
Merged

Remove deprecate action #12764

merged 3 commits into from
Jul 16, 2022

Conversation

matklad
Copy link
Member

@matklad matklad commented Jul 14, 2022

https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/

Looking at this holistically, I don't fully understand why we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.

profile: minimal
override: true
components: rustfmt, rust-src
run: rustup update stable && rustup component add rustfmt rust-src
Copy link
Member

Choose a reason for hiding this comment

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

This no longer uses the minimal profile, so it downloads rust-docs, clippy, ...

Copy link
Member Author

Choose a reason for hiding this comment

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

I would expect rustup update stable to be no-op most of the time

Copy link
Member

Choose a reason for hiding this comment

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

We could also rustup component remove rust-docs clippy, but then we pay that cost every time on Windows, not only when the GHA image lags.

@lnicola
Copy link
Member

lnicola commented Jul 14, 2022

I don't understand the error and the warnings. Does it have a non-rustup toolchain installed? Usually trying to install existing components yields:

info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rust-src' is up to date

@matklad
Copy link
Member Author

matklad commented Jul 14, 2022

I think its windows being confused by && syntax

@lnicola
Copy link
Member

lnicola commented Jul 14, 2022

I don't think so, it works AFAIK and it failed again even with bash with an even more interesting error.

It might be rustup barfing after finding a toolchain it doesn't know about.

matklad and others added 3 commits July 15, 2022 23:04
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/

Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/

Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
@matklad
Copy link
Member Author

matklad commented Jul 16, 2022

r? @lnicola

@lnicola
Copy link
Member

lnicola commented Jul 16, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Jul 16, 2022

📌 Commit b49f2a2 has been approved by lnicola

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jul 16, 2022

⌛ Testing commit b49f2a2 with merge 4ad9185...

@bors
Copy link
Contributor

bors commented Jul 16, 2022

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing 4ad9185 to master...

@bors bors merged commit 4ad9185 into rust-lang:master Jul 16, 2022
@Veykril
Copy link
Member

Veykril commented Jul 16, 2022

This seems to cause spurious CI failures now? https://github.com/rust-lang/rust-analyzer/runs/7369572106?check_suite_focus=true

From the looks of it, the windows target always fails once now, requiring a @bors retry for it to pass

@matklad
Copy link
Member Author

matklad commented Jul 16, 2022

Ah, so it non-deterministicaly fails? Huh, this makes it even curiouser.

@Veykril
Copy link
Member

Veykril commented Jul 16, 2022

So far I observed this on 2 out of 2 PRs, let's see if the same happens in #12773

@matklad
Copy link
Member Author

matklad commented Jul 16, 2022

Lets see if #12776 fixes it

@matklad matklad deleted the rustupaction branch July 16, 2022 10:44
@lnicola
Copy link
Member

lnicola commented Jul 17, 2022

Possibly related: rust-lang/rustup#3029.

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.

5 participants