Image Variant
Full (latest / dev)
Image Tag / Version
1.1.7
Host OS
Linux
What happened?
When starting a new Codex session, the session is created and the first
prompt is sent successfully, but shortly after that the UI returns to the
“new session” page instead of staying on the active session.
The session itself is not lost and can still be reopened manually.
From debugging, the likely cause is that Codex emits a complete event without
exitCode: 0, while the frontend only finalizes navigation for newly created
sessions when j.exitCode === 0.
Claude includes exitCode: 0 in its complete event, so it does not have this
issue.
What did you expect?
After sending the first prompt in a new Codex session, the UI should stay on
the active session and finalize navigation to the real session ID, just like
it does for Claude.
The frontend should not fall back to the “new session” page after completion.
Steps to reproduce
- Open HolyClaude / CloudCLI.
- Start a new chat with Codex.
- Send the first prompt.
- Wait a few seconds for the first turn to complete.
- Observe that the UI returns to the “new session” page.
- Reopen the created session manually and confirm it still exists.
Technical note :
Likely root cause: update 1.27.1 in siteboon/claude-code-ui
{ kind: 'complete', actualSessionId: thread.id, sessionId: currentSessionId }
{ kind: 'complete', exitCode: 0, actualSessionId: ..., sessionId: ... }
- frontend completion logic appears to require:
j.exitCode === 0
Suggested fix:
add exitCode: 0 to the Codex complete event in openai-codex.js, to match
Claude’s behavior.
Docker Compose / Run command
Logs / Error output
Image Variant
Full (latest / dev)
Image Tag / Version
1.1.7
Host OS
Linux
What happened?
When starting a new Codex session, the session is created and the first
prompt is sent successfully, but shortly after that the UI returns to the
“new session” page instead of staying on the active session.
The session itself is not lost and can still be reopened manually.
From debugging, the likely cause is that Codex emits a complete event without
exitCode: 0, while the frontend only finalizes navigation for newly created
sessions when j.exitCode === 0.
Claude includes exitCode: 0 in its complete event, so it does not have this
issue.
What did you expect?
After sending the first prompt in a new Codex session, the UI should stay on
the active session and finalize navigation to the real session ID, just like
it does for Claude.
The frontend should not fall back to the “new session” page after completion.
Steps to reproduce
Technical note :
Likely root cause: update 1.27.1 in siteboon/claude-code-ui
{ kind: 'complete', actualSessionId: thread.id, sessionId: currentSessionId }
{ kind: 'complete', exitCode: 0, actualSessionId: ..., sessionId: ... }
j.exitCode === 0
Suggested fix:
add exitCode: 0 to the Codex complete event in openai-codex.js, to match
Claude’s behavior.
Docker Compose / Run command
Logs / Error output