Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(inference): install host storage for the claude-code toggle round-trip

M3gA-Mindc0a3cdce568c
diff --git a/tests/raw_coverage/inference_provider_auth_e2e.rs b/tests/raw_coverage/inference_provider_auth_e2e.rs
index ae3b36fa58..6532a8325e 100644
--- a/tests/raw_coverage/inference_provider_auth_e2e.rs
+++ b/tests/raw_coverage/inference_provider_auth_e2e.rs
@@ -851,6 +851,9 @@ async fn inference_claude_code_auth_status_prefers_the_env_key_then_reads_the_cl
#[tokio::test]
async fn inference_claude_code_full_access_toggle_round_trips_through_the_workspace() {
let _lock = env_lock_async().await;
+ // A host installs its storage backend; the toggle and the Claude provider
+ // both read it from there.
+ let _storage = crate::HostStorage::install(&_lock);
let harness = setup("").await;
// The safe posture is the default, and it must be the default on a fresh