mirror of
https://github.com/openai/codex.git
synced 2026-05-23 12:34:25 +00:00
codex: fix CI failure on PR #23369
This commit is contained in:
@@ -234,11 +234,9 @@ impl McpConnectionManager {
|
||||
join_set.spawn(async move {
|
||||
let outcome = Err(StartupOutcomeError::Failed { error: reason });
|
||||
let error = match &outcome {
|
||||
Err(error) => mcp_init_error_display(
|
||||
server_name.as_str(),
|
||||
auth_entry.as_ref(),
|
||||
error,
|
||||
),
|
||||
Err(error) => {
|
||||
mcp_init_error_display(server_name.as_str(), auth_entry.as_ref(), error)
|
||||
}
|
||||
Ok(_) => unreachable!("preflight failure cannot start an MCP client"),
|
||||
};
|
||||
let _ = emit_update(
|
||||
|
||||
@@ -932,9 +932,11 @@ async fn no_local_runtime_skips_local_stdio_but_keeps_local_http_server() {
|
||||
|
||||
assert!(!manager.clients.contains_key("stdio"));
|
||||
assert!(manager.clients.contains_key("http"));
|
||||
assert!(!manager
|
||||
.wait_for_server_ready("stdio", Duration::from_millis(10))
|
||||
.await);
|
||||
assert!(
|
||||
!manager
|
||||
.wait_for_server_ready("stdio", Duration::from_millis(10))
|
||||
.await
|
||||
);
|
||||
let failures = manager
|
||||
.required_startup_failures(&["stdio".to_string()])
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user