openai/codex · error · anyhow::Error

hosted connector refresh completed without publishing a snap

Error message

hosted connector refresh completed without publishing a snapshot

What it means

Error "hosted connector refresh completed without publishing a snapshot" thrown in openai/codex.

Source

Thrown at codex-rs/app-server/src/request_processors/apps_processor/installed.rs:120

                        auth: auth.clone(),
                        codex_apps_auth_manager,
                        elicitation_reviewer: None,
                        elicitation_lifecycle: None,
                    })
                    .await;

                    let result = if runtime
                        .latest_wait_for_server_ready(
                            CODEX_APPS_MCP_SERVER_NAME,
                            startup_timeout,
                        )
                        .await
                    {
                        mcp_manager
                            .codex_apps_tools_cache()
                            .current_snapshot(config.codex_home.to_path_buf(), cache_key.clone())
                            .ok_or_else(|| {
                                anyhow::anyhow!(
                                    "hosted connector refresh completed without publishing a snapshot"
                                )
                            })
                    } else {
                        Err(anyhow::anyhow!(
                            "failed to refresh tools for MCP server '{CODEX_APPS_MCP_SERVER_NAME}'"
                        ))
                    };
                    cancellation_token.cancel();
                    runtime.shutdown().await;
                    result
                }
                .await;

                match refresh_result {
                    Ok(snapshot) => {
                        refresh_disposition = "success";
                        Some(snapshot)

View on GitHub (pinned to 339751715c)

When it happens

Trigger: Thrown at codex-rs/app-server/src/request_processors/apps_processor/installed.rs:120 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of openai/codex@339751715c (2026-08-25). Data as JSON: /api/errors/602b9e3591a71d40. Report an issue: GitHub.