[codex] trace tools build latency (#28782)

Add more tracing spans around tool building.
This commit is contained in:
Owen Lin
2026-06-17 14:53:54 -07:00
committed by GitHub
Unverified
parent 243243ab8f
commit 38211a3ff8
8 changed files with 48 additions and 0 deletions
+2
View File
@@ -27,6 +27,7 @@ use std::fs;
use std::path::Path;
use std::path::PathBuf;
use std::time::Duration;
use tracing::instrument;
use url::Url;
mod catalog_cache;
@@ -805,6 +806,7 @@ pub async fn fetch_and_cache_global_remote_plugin_catalog(
Ok(())
}
#[instrument(level = "trace", skip_all)]
pub async fn fetch_recommended_plugins(
config: &RemotePluginServiceConfig,
auth: Option<&CodexAuth>,