"./x.py test --verbose --no-fail-fast" causes tidy to fail
Open
@jieyouxu is already working on this.
Since Dec 30, 2025.
A-tidy
C-bug
E-needs-investigation
T-bootstrap
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
With node.js-22.20.0 (npm-10.9.3) installed, a test checking if /usr/bin/npm --verbose returns exit code 0 fails. This is because npm's behavior when not given a command will return exit code 1. As far as npm is concerned, it wasn't given a command, like help, even though the --verbose option was passed. However, passing help to the npm command will return exit code 0 as intended. So the command to run would be /usr/bin/npm --verbose help. This should make the test succeed.
The file seeming to cause it is src/bootstrap/src/core/build_steps/test.rs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.