From 6f1ae2348d26312f4ddfb06b0be630bcddc4fd15 Mon Sep 17 00:00:00 2001 From: viyatb-oai Date: Mon, 13 Apr 2026 15:05:50 -0700 Subject: [PATCH] fix: mention cloud-managed requirements in startup error Co-authored-by: Codex --- codex-rs/cloud-requirements/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/cloud-requirements/src/lib.rs b/codex-rs/cloud-requirements/src/lib.rs index 59c4df7f05..560c2444fb 100644 --- a/codex-rs/cloud-requirements/src/lib.rs +++ b/codex-rs/cloud-requirements/src/lib.rs @@ -173,13 +173,13 @@ fn format_cloud_requirements_load_failed_message( .map(|status_code| format!("last backend status: {status_code}")) .unwrap_or_else(|| "last failure did not include an HTTP status".to_string()); format!( - "{CLOUD_REQUIREMENTS_LOAD_FAILED_MESSAGE} after {attempt_count} attempts ({status}). Codex could not use a valid cached copy for this account, so startup stopped to avoid running without managed requirements. Please try again." + "{CLOUD_REQUIREMENTS_LOAD_FAILED_MESSAGE} after {attempt_count} attempts ({status}). Codex could not use a valid cached copy for this account, so startup stopped to avoid running without cloud-managed requirements. Please try again." ) } fn format_cloud_requirements_timeout_message(timeout: Duration) -> String { format!( - "timed out waiting for workspace-managed config after {}s. Codex could not use a valid cached copy for this account, so startup stopped to avoid running without managed requirements. Please try again.", + "timed out waiting for workspace-managed config after {}s. Codex could not use a valid cached copy for this account, so startup stopped to avoid running without cloud-managed requirements. Please try again.", timeout.as_secs() ) }