mirror of
https://github.com/openai/codex.git
synced 2026-11-02 19:43:24 +00:00
Raise the MCP server recursion limit (#35414)
## What changed - Set the Rust recursion limit to 256 for both the MCP server library and binary crates. - Populate `started_at_ms` in the thread-fork test's completed-item fixture. GitOrigin-RevId: b25eeaeecaf94265fe3be8f23cb3c395595afc2a
This commit is contained in:
@@ -1395,6 +1395,7 @@ async fn assert_thread_fork_freezes_active_paginated_turn_as_interrupted(
|
||||
text_elements: Vec::new(),
|
||||
}],
|
||||
}),
|
||||
started_at_ms: Some(0),
|
||||
completed_at_ms,
|
||||
}))
|
||||
};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//! Prototype MCP server.
|
||||
#![recursion_limit = "256"]
|
||||
#![deny(clippy::print_stdout, clippy::print_stderr)]
|
||||
|
||||
use std::io::ErrorKind;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#![recursion_limit = "256"]
|
||||
|
||||
use codex_arg0::Arg0DispatchPaths;
|
||||
use codex_arg0::arg0_dispatch_or_else;
|
||||
use codex_mcp_server::run_main;
|
||||
|
||||
Reference in New Issue
Block a user