feat: reduce span exposition (#10171)

This only avoids the creation of duplicates spans
This commit is contained in:
jif-oai
2026-01-29 19:15:22 +01:00
committed by GitHub
parent 3e798c5a7d
commit 798c4b3260
6 changed files with 18 additions and 14 deletions

View File

@@ -306,7 +306,10 @@ pub async fn run_main(
// grep for a specific module/target while troubleshooting.
.with_target(true)
.with_ansi(false)
.with_span_events(tracing_subscriber::fmt::format::FmtSpan::FULL)
.with_span_events(
tracing_subscriber::fmt::format::FmtSpan::NEW
| tracing_subscriber::fmt::format::FmtSpan::CLOSE,
)
.with_filter(env_filter());
let feedback = codex_feedback::CodexFeedback::new();