Skip to content

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

fix(tests): restore the raw-coverage aggregate build

M3gA-Mind1a8017b7dad0
diff --git a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
index 6337f67ed1..6bc37bcbbb 100644
--- a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs
@@ -1285,6 +1285,9 @@ async fn approval_rpc_decision_paths_persist_always_allow_and_recent_audit() {
ApprovalChatContext {
thread_id: "approval-raw-thread".to_string(),
client_id: "approval-raw-client".to_string(),
+ // No turn in scope in this fixture; the field is documented as
+ // carried only when the caller has one (`gate.rs:91-95`).
+ request_id: None,
},
async move {
gate_for_task
@@ -1500,6 +1503,9 @@ async fn approval_rpc_decision_paths_persist_always_allow_and_recent_audit() {
ApprovalChatContext {
thread_id: "approval-live-policy-thread".to_string(),
client_id: "approval-live-policy-client".to_string(),
+ // No turn in scope in this fixture; the field is documented as
+ // carried only when the caller has one (`gate.rs:91-95`).
+ request_id: None,
},
gate.intercept_audited(
"tools.live_policy_allowed",
@@ -1526,6 +1532,9 @@ async fn approval_rpc_decision_paths_persist_always_allow_and_recent_audit() {
ApprovalChatContext {
thread_id: "approval-deny-thread".to_string(),
client_id: "approval-deny-client".to_string(),
+ // No turn in scope in this fixture; the field is documented as
+ // carried only when the caller has one (`gate.rs:91-95`).
+ request_id: None,
},
async move {
gate_for_deny_task
@@ -1645,6 +1654,9 @@ async fn approval_rpc_decision_paths_persist_always_allow_and_recent_audit() {
ApprovalChatContext {
thread_id: "approval-persist-failure-thread".to_string(),
client_id: "approval-persist-failure-client".to_string(),
+ // No turn in scope in this fixture; the field is documented as
+ // carried only when the caller has one (`gate.rs:91-95`).
+ request_id: None,
},
gate.intercept_audited(
"tools.persistence_failure",