WIP fase 2b-3: rimozione sottosistemi solo-ChatGPT (plugin remoti, image gen, daybreak, cyber, attestation, cloud config, app/connettori) - test in corso

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 16:07:22 +01:00
parent 231e8cd136
commit 5afc7e9f7f
1223 changed files with 6225 additions and 113722 deletions

View File

@@ -32,7 +32,7 @@ use codex_app_server_protocol::TurnStartParams;
use codex_app_server_protocol::TurnStartResponse;
use codex_app_server_protocol::UserInput as V2UserInput;
use codex_features::Feature;
use core_test_support::apps_test_server::AppsTestServer;
use core_test_support::mcp_test_server::McpTestServer;
use core_test_support::responses;
use core_test_support::streaming_sse::StreamingSseChunk;
use core_test_support::streaming_sse::start_streaming_sse_server;
@@ -623,7 +623,7 @@ async fn wait_for_dynamic_tool_started(
#[tokio::test]
async fn v2_child_idle_eviction_preserves_mail_and_followup_context() -> Result<()> {
let server = responses::start_mock_server().await;
let (mcp_server, startup_control) = AppsTestServer::mount_with_startup_control(&server).await?;
let (mcp_server, startup_control) = McpTestServer::mount_with_startup_control(&server).await?;
let codex_home = TempDir::new()?;
let traces = TempDir::new()?;
MockResponsesConfig::new(&server.uri())
@@ -634,13 +634,13 @@ async fn v2_child_idle_eviction_preserves_mail_and_followup_context() -> Result<
.with_root_config("thread_unload_delay_secs = 0")
.with_extra_config(&format!(
r#"[mcp_servers.fails_once]
url = "{}/api/codex/ps/mcp"
url = "{}"
http_headers = {{ Authorization = "Bearer synthetic-test-token" }}
required = true
# No cached tools: the child must initialize instead of taking the lazy startup path.
enabled_tools = []
"#,
mcp_server.chatgpt_base_url
mcp_server.mcp_url()
))
.write(codex_home.path())?;
write_models_cache(codex_home.path()).await?;