mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Warn when the connected Codex service is older than the CLI (#43622)
## What changed Show an older-service notice at startup and reconnect when both versions are official stable releases. Display it in conversation history or the agents overview, with wrapping and a compact fallback for small terminals. For the implicit local daemon, suggest `codex app-server daemon update` and warn that updating may interrupt active or queued work. Suppress repeated notices for the same service and version pair, and defer fresh-session notices until session attachment. ## Testing Add coverage for version notice eligibility, local-only update guidance, service identity, startup ordering, reconnect deduplication, and overview rendering at narrow and short sizes. GitOrigin-RevId: e0a5b306e0a4d405544c5f6eaa72f77df6d68e6d
This commit is contained in:
1 parent
4b0f44d304
commit
530383e36d
25 files changed
+605
-19
No files matched your search
@@ -5878,6 +5878,7 @@ async fn make_test_app() -> App {
|
||||
dynamic_tool_status_updates: tokio::sync::broadcast::channel(/*capacity*/ 64).0,
|
||||
dynamic_tool_tasks: HashMap::new(),
|
||||
pending_startup_thread_start: false,
|
||||
pending_server_version_notice: None,
|
||||
pending_open_resume_picker: false,
|
||||
pending_managed_worktree_creation: false,
|
||||
pending_working_directory_change: None,
|
||||
@@ -5975,6 +5976,7 @@ pub(super) async fn make_test_app_with_channels() -> (
|
||||
dynamic_tool_status_updates: tokio::sync::broadcast::channel(/*capacity*/ 64).0,
|
||||
dynamic_tool_tasks: HashMap::new(),
|
||||
pending_startup_thread_start: false,
|
||||
pending_server_version_notice: None,
|
||||
pending_open_resume_picker: false,
|
||||
pending_managed_worktree_creation: false,
|
||||
pending_working_directory_change: None,
|
||||
|
||||
Reference in new issue
Block a user