tidy triagebot.toml
trigger_files
fails on jj git clone
unchecked out submodules
#139856
Labels
A-contributor-roadblock
Area: Makes things more difficult for new or seasoned contributors to Rust
A-tidy
Area: The tidy tool
C-external-bug
Category: issue that is caused by bugs in software beyond our control
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Summary
After
jj git clone
, tidy'striagebot.toml
trigger_files
path check can fail on paths pointing to or under unchecked out submodules asjj git clone
doesn't currently create empty dirs for unchecked out submodules asjj
's submodule support isn't complete yet.Command used
Expected behaviour
Tidy should skip checks on paths within submodules if they are not checked out locally (but do full check in CI).
Actual behaviour
Fails locally on
jj git clone
.Bootstrap configuration (bootstrap.toml)
Default
Operating system
Any
HEAD
f3344ef, or any commit after the tidy
triagebot.toml
trigger_files
path check was introduced.Additional context
These path checks in
src/tools/tidy/src/triagebot.rs
rust/src/tools/tidy/src/triagebot.rs
Lines 24 to 30 in 58c2dd9
The text was updated successfully, but these errors were encountered: