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
2026-07-15 03:27:16 +00:00
committed by copyberry
parent 3f74f00295
commit 35b33e4304
11 changed files with 12 additions and 0 deletions
@@ -48,6 +48,7 @@ pub(super) enum ExecutorPluginMcpProviderError {
impl ExecutorPluginMcpProvider {
/// Returns MCP servers declared by `plugin`, bound to its environment.
#[tracing::instrument(name = "mcp.executor_plugin.servers.load", skip_all)]
pub(super) async fn load(
&self,
plugin: &ResolvedExecutorPlugin,