Instrument environment and plugin resolution paths (#33223)

## What changed

Add named tracing spans around step environment snapshots, capability and
executor plugin resolution, `AGENTS.md` refreshes, and MCP runtime projection
and refresh operations. Skip recording function arguments to keep these spans
focused on timing and execution flow.

GitOrigin-RevId: 73a452ef1b5da6f7f2b00d24421a815c5d514eaf
This commit is contained in:
rphilizaire-openai authored and copyberry committed 2026-07-15 03:27:16 +00:00
1 parent 3f74f00295
commit 35b33e4304
11 files changed
+12

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ impl AgentsMdManager {
}
}
#[tracing::instrument(name = "agents_md.refresh", skip_all)]
pub(crate) async fn refresh(&self, config: &Config, environments: &TurnEnvironmentSnapshot) {
let selections = environments.to_selections();
if self.cache.lock().await.selections.as_ref() == Some(&selections) {