chore: stabilize core tool parallelism test (#8805)

Set login=false for the shell tool in the timing-based parallelism test
so it does not depend on slow user login shells, making the test
deterministic without user-facing changes. This prevents occasional
flakes when running locally.
This commit is contained in:
Thibault Sottiaux 2026-01-07 01:26:47 -08:00 committed by GitHub
parent 3389465c8d
commit 230a045ac9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -301,8 +301,11 @@ async fn shell_tools_start_before_response_completed_when_stream_delayed() -> an
"perl -MTime::HiRes -e 'print int(Time::HiRes::time()*1000), \"\\n\"' >> \"{}\"",
output_path.display()
);
// Use a non-login shell to avoid slow, user-specific shell init (e.g. zsh profiles)
// from making this timing-based test flaky.
let args = json!({
"command": command,
"login": false,
"timeout_ms": 1_000,
});