Open
Description
In #114993 I ran down the totally wrong path for a while when I saw an RA build failure in bors -- PR CI was fine, so I was sure this must have been something odd about the bors builder. Turns out however we just don't check if RA builds, not even if src/tools/rust-analyzer
is changed by the PR.
I thought the mingw-check builder does at least a check-build of everything, but that does not seem to be the case?
@rust-lang/rust-analyzer @rust-lang/infra
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
lnicola commentedon Aug 20, 2023
I think this is intentional and actually saves quite a bit of CI time. Would it be better if we asked PR authors to not make unneeded changes (like compile fixes) to RA in this repo?
RalfJung commentedon Aug 20, 2023
I think it runs
./x.py check
rust/src/ci/docker/host-x86_64/mingw-check/Dockerfile
Line 43 in 4f4dae0
but that doesn't include RA. It includes clippy and Miri. RA should probably be added?
RalfJung commentedon Aug 20, 2023
A check-build of RA takes around 15s on my system. I don't think it will be prohibitively slow on CI.
RalfJung commentedon Aug 20, 2023
For other tools like clippy and Miri, things work as follows:
At least the first bullet we should also do for RA, IMO.
Veykril commentedon Aug 20, 2023
I agree, we should have r-a be built on rust-lang/rust CI. The main point was not running r-a's (complete) test suite I believe when people investigated CI times, which is fine.
RalfJung commentedon Aug 22, 2023
Actually, turns out since 9dfec5d we always run the tools builder.
But that's not the point here, I think this is asking for a bootstrap change:
./x.py check
should also build RA. Cc @rust-lang/bootstraponur-ozkan commentedon Aug 22, 2023
We can add all the enabled tools from
tools
in theconfig.toml
file tox check
.x check
if it's enabled #115111Rollup merge of rust-lang#115111 - ozkanonur:check-rust-analyzer-if-e…
onur-ozkan commentedon Aug 27, 2023
With #115111, if enabled in the configuration, rust-analyzer will be involved in the compilation.