From cd7d81fdecb8fc8d722ced1a5a234f572da8f2bf Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Mon, 22 Jun 2026 21:18:06 +0300 Subject: [PATCH] agent-vm: set SecretEntry.on_violation for msb 0.5.7 SDK The 0.5.7 secrets config gained a per-entry on_violation override (Option). The token-isolation test constructs a SecretEntry literally, so it must set the new field. None = inherit the collection-level default. Release build was unaffected (only test code constructs SecretEntry); cargo test -p agent-vm now compiles. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/agent-vm/src/intercept_hook.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/agent-vm/src/intercept_hook.rs b/crates/agent-vm/src/intercept_hook.rs index cc1eb5c..07c5874 100644 --- a/crates/agent-vm/src/intercept_hook.rs +++ b/crates/agent-vm/src/intercept_hook.rs @@ -1612,6 +1612,7 @@ mod tests { query_params: false, body: false, }, + on_violation: None, require_tls_identity: true, }], on_violation: Default::default(),