Skip to content

[codex] Outline multi-agent ToolExecutor handlers - #27301

Closed
anp-oai wants to merge 1 commit into
codex/outline-mcp-tool-executor-handlersfrom
codex/outline-multi-agent-tool-executor-handlers
Closed

[codex] Outline multi-agent ToolExecutor handlers#27301
anp-oai wants to merge 1 commit into
codex/outline-mcp-tool-executor-handlersfrom
codex/outline-multi-agent-tool-executor-handlers

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Why

ToolExecutor's async_trait usage is a significant contributor to slow debug builds for codex-core unit tests. Removing it makes those builds materially faster, but the direct trait flip is easier to review once large handler bodies are outside ToolExecutor::handle.

Stacked on #27300, this PR continues that behavior-preserving preparation for multi-agent handlers.

What Changed

Outlined the existing ToolExecutor::handle bodies into inherent async handle_call methods for the multi-agent wait and send-input handlers plus the v2 list-agents and wait handlers.

The trait methods still use async_trait and now just delegate to self.handle_call(invocation).await.

Validation

No new tests; this is a behavior-preserving refactor.

@anp-oai
anp-oai force-pushed the codex/outline-mcp-tool-executor-handlers branch from a5176f2 to adcca4c Compare June 10, 2026 04:01
@anp-oai
anp-oai force-pushed the codex/outline-multi-agent-tool-executor-handlers branch from 8d24241 to 5a4c7c9 Compare June 10, 2026 04:01
@anp-oai
anp-oai force-pushed the codex/outline-mcp-tool-executor-handlers branch from adcca4c to 5f1cb29 Compare June 10, 2026 04:11
@anp-oai
anp-oai force-pushed the codex/outline-multi-agent-tool-executor-handlers branch from 5a4c7c9 to 4c0c14b Compare June 10, 2026 04:11
@anp-oai

anp-oai commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

[from Codex]: Collapsed into #27299 after the handler extraction diff became small enough to review as one mechanical prep PR.

@anp-oai anp-oai closed this Jun 10, 2026
@anp-oai
anp-oai deleted the codex/outline-multi-agent-tool-executor-handlers branch June 10, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant