From 2ea414f0b3ac26b49e89281dae4fdcaafd097fbf Mon Sep 17 00:00:00 2001 From: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz> Date: Fri, 21 Aug 2026 16:46:18 +1000 Subject: [PATCH] test(agent): serialize provider environment Co-authored-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz> Signed-off-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz> --- crates/buzz-agent/src/config.rs | 1 + 1 file changed, 1 insertion(+) 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)> = [