mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why Server version notices previously required both versions to be stable releases, leaving prerelease and local clients without notices about differing background services. ## What changed - Use semantic version parsing to distinguish older servers from version mismatches. - Compare stable clients against older releases, including prereleases. Compare prerelease clients by precedence within the same release line and report other release lines as different. - Report differing versions for local clients (`0.0.0` or versions with build metadata). Ignore malformed versions. - Show the corresponding `older than` or `different from` notice and `<` or `≠` overview indicator, while preserving `/daemon` guidance and the `show_server_version_notice` setting. ## Testing Add version-policy tests and notice snapshots covering prerelease ordering, local builds, mismatches, and malformed versions. Add daemon tests for notice suppression and manual update guidance without scheduling an update. GitOrigin-RevId: 29df4713a7dbcbddcf30d56995a8496e7e8d0c6a