Skip to content

Conversation

@ada4a
Copy link
Contributor

@ada4a ada4a commented Nov 4, 2025

When adding a lint that has a lot of hits in the repo itself, each run of CI only shows a couple of failures, as cargo test stops after the first error. This makes it so that all the failures are shown at once

changelog: none

When adding a lint that has a lot of hits in the repo itself, each run
of CI only shows a couple of failures, as `cargo test` stops after the
first error. This makes it so that all the failures are shown at once
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 4, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 4, 2025

r? @flip1995

rustbot has assigned @flip1995.
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

@flip1995
Copy link
Member

flip1995 commented Nov 5, 2025

failing fast is kinda what you want in CI, so that the CI resources are freed as quickly as possible. What's the issue of seeing only the first error on CI? I can't imagine that someone works on Clippy by pushing to a PR in order to run tests.

I would definitely not do this for the merge queue, as this will slow down merging of PRs.

@ada4a
Copy link
Contributor Author

ada4a commented Nov 5, 2025

I can't imagine that someone works on Clippy by pushing to a PR in order to run tests.

I must admit that I do... it takes ages on my machine to run both dogfood and argument-less cargo uitest (both of which are needed when implementing a new lint). Maybe it's time to look into dev-desktops as I was advised.

I would definitely not do this for the merge queue, as this will slow down merging of PRs.

Fair enough – I only did that because of the comment asking to keep the contents of the two workflows identical

@flip1995
Copy link
Member

flip1995 commented Nov 5, 2025

Maybe it's time to look into dev-desktops as I was advised.

I just wanted to mention that. CI is also really slow compared to a mid/high-end laptop. As a member of the clippy-contributors team, you shouldn't have problems getting access to one.

I don't really want to promote this workflow 😅

@ada4a
Copy link
Contributor Author

ada4a commented Nov 5, 2025

Fine fine, I'll go request it:)

@ada4a ada4a closed this Nov 5, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 5, 2025
@ada4a ada4a deleted the no-fail-fast branch November 5, 2025 17:46
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.

3 participants