mirror of
https://github.com/openai/codex.git
synced 2026-11-18 23:02:23 +00:00
Avoid cloning deferred TUI lifecycle payloads (#34347)
## What changed - Move lifecycle and approval payloads into either the interrupt queue or the immediate handler instead of cloning them for both branches. - Borrow MCP elicitation request metadata while constructing the corresponding form, and consume apply-patch changes after collecting notification paths. ## Testing - Add a history replay test confirming deferred MCP start and completion events remain FIFO after streaming finishes. GitOrigin-RevId: 84ed34f6ff173463a1da016dc140405392c0ba45
This commit is contained in:
1 parent
2244d11a1d
commit
ada5a79ddf
7 files changed
+111
-52
No files matched your search
@@ -279,7 +279,7 @@ impl App {
|
||||
McpServerElicitationFormRequest::from_app_server_request(
|
||||
thread_id,
|
||||
request_id.clone(),
|
||||
params.clone(),
|
||||
params,
|
||||
)
|
||||
{
|
||||
Some(ThreadInteractiveRequest::McpServerElicitation(request))
|
||||
|
||||
Reference in new issue
Block a user