Skip to content

fix(app-server): prevent v1 conversations from being ephemeral - #11910

Closed
twentyOne2x wants to merge 1 commit into
openai:mainfrom
twentyOne2x:codex/fix-v1-newconversation-rollout
Closed

twentyOne2x wants to merge 1 commit into
openai:mainfrom
twentyOne2x:codex/fix-v1-newconversation-rollout

Conversation

@twentyOne2x

Copy link
Copy Markdown

Fixes an error path where v1 newConversation/resumeConversation/forkConversation can start an ephemeral session (via params.config or profile), which yields no rolloutPath and then immediately errors while responding.

Changes:

  • Force ephemeral=false for v1 conversation start/resume/fork so the v1 API can always return a persisted rolloutPath.
  • Add an integration test covering the regression (config: { ephemeral: true } should not break v1 newConversation).

Refs: #11902

@twentyOne2x

Copy link
Copy Markdown
Author

Context: v1 newConversation/resumeConversation/forkConversation responses always include rolloutPath. If ephemeral=true is set (via params.config, profile, etc.), the backend produces no rollout path and the v1 handler errors while replying, leaving a broken “zombie” thread in the UI.

This PR forces ephemeral=false for v1 conversation start/resume/fork so v1 always returns a persisted rolloutPath.

Tested:

  • cd codex-rs && cargo test -p codex-app-server test_new_conversation_ignores_ephemeral_override

@etraut-openai

Copy link
Copy Markdown
Contributor

We've updated our contribution guidelines to indicate that we're no longer accepting unsolicited code contributions. All code contributions are by invitation only. To read more about why we've taken this step, please refer to this announcement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants