You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(codex): warn about stale Codex app-servers after a catalog write (#576)
A long-lived Codex app-server keeps serving its in-memory model list, so
ocx sync could write a correct catalog and Codex would still show the old
models (#476). Restarting the proxy or re-running sync did not help; only
killing the app-server did, which is why rebooting appeared to fix it.
Detect those processes and say so, gated on the catalogWritten/cacheSynced
signal from the first half of this change so a no-op sync stays quiet.
ocx sync --restart-codex and ocx sync-cache --restart-codex opt into a
SIGTERM, never SIGKILL.
Process matching is the risky part and is deliberately narrow: UID-scoped
on Unix, exact cmdline match rather than a broad *codex* sweep, and it
understands quoted paths and value-taking globals so it cannot mistake a
neighbouring process for an app-server.
"dash.projectConfigHint": "Diese repo-lokalen Einstellungen überschreiben den OpenCodex-Proxy (z. B. direkt zu OpenCode Go routen). Entferne sie, damit die Routing aus ~/.codex/config.toml in diesem Projekt greift.",
"dash.projectConfigHint": "These repo-local settings override the OpenCodex proxy (e.g. route to OpenCode Go directly). Remove them so ~/.codex/config.toml routing applies in that project.",
"dash.projectConfigTitle": "Конфигурация Codex в проекте обходит OpenCodex",
217
217
"dash.projectConfigHint": "Эти локальные настройки репозитория переопределяют прокси OpenCodex (например, направляют запросы напрямую в OpenCode Go). Удалите их, чтобы в этом проекте действовала маршрутизация из ~/.codex/config.toml.",
0 commit comments