diff --git a/crates/buzz-agent/src/config.rs b/crates/buzz-agent/src/config.rs index 3641a4c51a..7dcc1f1a70 100644 --- a/crates/buzz-agent/src/config.rs +++ b/crates/buzz-agent/src/config.rs @@ -577,6 +577,7 @@ mod tests { /// correctly. #[test] fn the_agents_configured_provider_beats_an_inherited_goose_provider() { + let _guard = env_lock(); // One test: `project_goose_env` mutates process-global env, so // splitting these would race the rest of the suite. let restore: Vec<(&str, Option)> = [