refactor: isolate code mode v8 runtime

This commit is contained in:
starr-openai
2026-06-02 21:27:40 -07:00
parent d36a3ead3c
commit eca6b6dffe
38 changed files with 2027 additions and 1856 deletions
+1
View File
@@ -473,6 +473,7 @@ impl TestCodexBuilder {
codex_core::test_support::auth_manager_from_auth(auth.clone()),
SessionSource::Exec,
Arc::clone(&environment_manager),
Arc::new(codex_code_mode_runtime::InProcessCodeModeSessionProvider),
empty_extension_registry(),
/*analytics_events_client*/ None,
thread_store,
+1 -1
View File
@@ -1131,7 +1131,7 @@ async fn prefers_apikey_when_config_prefers_apikey_even_with_chatgpt_tokens() {
let installation_id = resolve_installation_id(&config.codex_home)
.await
.expect("resolve installation id");
let thread_manager = ThreadManager::new(
let thread_manager = ThreadManager::new_without_code_mode_runtime(
&config,
auth_manager,
SessionSource::Exec,