Skip to content

Forbid unprefixed SHAs for toolchains#723

Merged
bors merged 1 commit into
rust-lang:masterfrom
lqd:unprefixed-shas
Mar 31, 2024
Merged

Forbid unprefixed SHAs for toolchains#723
bors merged 1 commit into
rust-lang:masterfrom
lqd:unprefixed-shas

Conversation

@lqd

@lqd lqd commented Mar 18, 2024

Copy link
Copy Markdown
Member

This PR forbids unprefixed SHAs for toolchain arguments, to avoid crater hanging when they appear.

I'm not sure this is fully valid though: I don't know if SHAs could appear in a Toolchain's name (and RustwideToolchain::dist()) without being an error 😓. This commonly happens with rustup-toolchain-install-master but I don't know if a similar situation could arise within common crater usage.

CI will surely fail: some of the used dependencies are broken on nightly right now, and clippy emits warnings -- both issues are fixed in #722.

(this is for @oli-obk and for @compiler-errors)

@compiler-errors compiler-errors left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+

This seems reasonable to me.

@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

📌 Commit aedec6d has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

⌛ Testing commit aedec6d with merge a00f6b3...

bors added a commit that referenced this pull request Mar 31, 2024
Forbid unprefixed SHAs for toolchains

This PR forbids unprefixed SHAs for toolchain arguments, to avoid crater hanging when they appear.

I'm not sure this is fully valid though: I don't know if SHAs could appear in a `Toolchain`'s name (and `RustwideToolchain::dist()`) without being an error 😓. This commonly happens with `rustup-toolchain-install-master` but I don't know if a similar situation could arise within common crater usage.

CI will surely fail: some of the used dependencies are broken on nightly right now, and clippy emits warnings -- both issues are fixed in #722.

<sub>(this is [for](rust-lang/rust#122230 (comment)) `@oli-obk` and [for](rust-lang/rust#122502 (comment)) `@compiler-errors)</sub>`
@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

💔 Test failed - checks-actions

@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.

@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

📌 Commit aedec6d has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

⌛ Testing commit aedec6d with merge f2a10b4...

@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing f2a10b4 to master...

1 similar comment
@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing f2a10b4 to master...

@bors bors merged commit f2a10b4 into rust-lang:master Mar 31, 2024
@bors

bors commented Mar 31, 2024

Copy link
Copy Markdown
Contributor

👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.

@lqd lqd deleted the unprefixed-shas branch March 31, 2024 21:23
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.

4 participants