aKode fase 2c: eliminato il codice di invio dati (crate analytics, otel-trace-websocket, sentry, esportatori OTLP); /feedback salva solo in locale; chiavi legacy [analytics]/[otel] accettate e ignorate; test di analytics/OTLP/upload rimossi
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
This commit is contained in:
@@ -240,12 +240,6 @@ async fn child_turn_start_preserves_root_attribution() -> Result<()> {
|
||||
let test = test_codex()
|
||||
.with_model("gpt-5.6-sol")
|
||||
.with_config(|config| {
|
||||
config.otel.log_agent_responses = true;
|
||||
config.otel.exporter = codex_config::types::OtelExporterKind::OtlpGrpc {
|
||||
endpoint: "http://127.0.0.1:1".into(),
|
||||
headers: Default::default(),
|
||||
tls: None,
|
||||
};
|
||||
config.features.enable(Feature::Collab).unwrap();
|
||||
config.features.enable(Feature::MultiAgentV2).unwrap();
|
||||
})
|
||||
@@ -288,40 +282,6 @@ async fn child_turn_start_preserves_root_attribution() -> Result<()> {
|
||||
.iter()
|
||||
.all(|(_, event)| { event.root_turn_id.as_ref() == Some(root_turn_id) })
|
||||
);
|
||||
logs_assert(|lines: &[&str]| {
|
||||
let logs: Vec<_> = lines
|
||||
.iter()
|
||||
.filter(|line| line.contains("codex.agent_response"))
|
||||
.collect();
|
||||
assert_eq!(logs.len(), 2);
|
||||
for (id, turn) in &starts {
|
||||
let line = logs
|
||||
.iter()
|
||||
.find(|line| line.contains(&format!(" conversation.id={id}")))
|
||||
.expect("response log");
|
||||
let (agent, item, text) = if *id == test.session_configured.thread_id {
|
||||
("main", "msg-first-call", "collaboration completed")
|
||||
} else {
|
||||
assert!(line.contains(&format!(
|
||||
" parent.conversation.id=\"{}\"",
|
||||
test.session_configured.thread_id
|
||||
)));
|
||||
assert!(line.contains(&format!(" parent.turn.id={root_turn_id:?}")));
|
||||
assert!(line.contains(" initiating.agent.path=\"/root\""));
|
||||
("subagent", "msg-worker-first-call", "worker completed")
|
||||
};
|
||||
for field in [
|
||||
format!(" agent.type={agent:?}"),
|
||||
format!(" turn.id={:?}", turn.turn_id),
|
||||
format!(" root.turn.id={root_turn_id:?}"),
|
||||
format!(" item.id={item:?}"),
|
||||
format!(" response={text:?}"),
|
||||
] {
|
||||
assert!(line.contains(&field), "missing {field}: {line}");
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
});
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user