-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Post-update sessions can surface stale openai-codex missing-key errors until doctor runs #83935
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
After updating OpenClaw from
2026.5.12to2026.5.18, the Telegram main session failed twice with:Running
openclaw doctorrestored the session. After that:Gateway and dashboard health were also fine:
Why this matters
The installed model auth was healthy, but the live session surfaced a stale
openai-codexmissing-key error until doctor ran. For users updating via package manager or gateway restart flows, this looks like a broken auth setup even whendoctorcan repair it immediately.Expected behavior
Post-update/restart should either:
doctorapplies before sessions resume, oropenai-codexauth-route state and point directly atopenclaw doctor --fix/ auto-repair, instead of generic API-key setup guidance.Observed behavior
openai-codex.openclaw doctorfixed the session.Notes
This may be related to the existing Codex route repair path in
src/commands/doctor/shared/codex-route-warnings.ts, especially stale session entries withproviderOverride/modelProviderset toopenai-codex.