[ty] Update salsa to fix hang when cycle head panics (#20577)

This commit is contained in:
Micha Reiser 2025-09-25 17:13:07 +02:00 committed by GitHub
parent 35ed55ec8c
commit c256c7943c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 7 deletions

View file

@ -120,8 +120,10 @@ pub(crate) fn setup_tracing(
} else {
match level {
VerbosityLevel::Default => {
// Show warning traces
EnvFilter::default().add_directive(LevelFilter::WARN.into())
// Show warning traces for ty and ruff but not for other crates
EnvFilter::default()
.add_directive("ty=warn".parse().unwrap())
.add_directive("ruff=warn".parse().unwrap())
}
level => {
let level_filter = level.level_filter();