Repository navigation
Conversation
|
CI fails due to UI tests, they should be compiled with |
|
Wasn't there some flag that reordered the diagnostics, or made compiletest to compare them in an order agnostic way? If at all possible, I think that it would be better if we actually ran (at least most) UI tests under the parallel frontend. |
We do run them, on the
Yeah, but that's not enough for some tests, and those tests are disabled with |
|
Can't we solve blessing by forcing 1 frontend thread when |
|
I'd rather keep the things as is, it's just good to have precise snapshot testing running on something reproducible. |
|
I don't want to block this PR on that, but I find it a bit concerning that we aren't testing a bunch of nightly stuff on our CI. We already don't test the next trait solver, and now we also wouldn't be testing the parallel frontend, even though both would be enabled on nightly. I'm happy to do the compiletest/bootstrap work to enable running the parallel frontend everywhere. Do you want that to be the default eventually (and perhaps have a separate one-off job that runs things sequentially, like we have the parallel job today)? |
For ui tests ( |
|
If there are enough CI resources we could also run rustc twice on every ui test - once in the default mode (if it's parallel) and once in single-threaded mode for precise
So this ^^^ would mean limiting the precise |
|
Maybe I misunderstood how the current tooling works. I thought that:
|
This is correct.
I think that we do still need them, at least while the single-threaded compiler is the default. |
Although that infra currently compares the output on per-line basis, not on per-diagnostic, so technically the diagnostics can be interspersed and messed up entirely, and the check will still pass. |
dbe31dc to
dc90826
Compare
This comment has been minimized.
This comment has been minimized.
3003fd9 to
77bff57
Compare
This comment has been minimized.
This comment has been minimized.
|
Interesting. The |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…r=<try> Use 2 parallel frontend threads by default on the nightly and dev channel try-job: * try-nolimit
This comment has been minimized.
This comment has been minimized.
Possibly looks like a genuine failure with using multiple frontend threads by default? 🤔 I'll rerun the test later. |
|
💔 Test for 84b547f failed: CI. Failed job:
|
|
@bors try jobs=test-x86_64-gnu-aux |
This comment has been minimized.
This comment has been minimized.
…r=<try> Use 2 parallel frontend threads by default on the nightly and dev channel try-job: test-x86_64-gnu-aux
Migrate stable-specific run-make tests to UI tests Enabled by rust-lang/rust#163664. I still kept the `stable_bare_rustc` function, as it could be genuinely useful (just not in the way it was used in run-make tests so far). Should help unblock rust-lang/rust#162848. Note that the comment for the unstable target feature test was wrong (rust-lang/rust#163428 (comment)). r? jieyouxu
This comment has been minimized.
This comment has been minimized.
38a57c4 to
da0f0ea
Compare
|
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. |
|
@bors try jobs=test-x86_64-gnu-aux |
This comment has been minimized.
This comment has been minimized.
…r=<try> Use 2 parallel frontend threads by default on the nightly and dev channel try-job: test-x86_64-gnu-aux
|
Hmm, ok. I couldn't reproduce it locally either. Let's try everything then: @bors try jobs=* nolimit |
|
⌛ Trying commit da0f0ea with merge cce8517… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/42405638612 |
…r=<try> Use 2 parallel frontend threads by default on the nightly and dev channel try-job: * try-nolimit
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
Blocked on #165506 at least. |
View all comments
Part of https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Enabling.20the.20parallel.20frontend.20by.20default.20on.20nightly/with/624597688.
UI tests will still use one frontend thread by default.
CC @petrochenkov