Skip to content

Do not fail thread start when trust persistence fails#17595

Merged
etraut-openai merged 2 commits intomainfrom
etraut/read-only-panic
Apr 13, 2026
Merged

Do not fail thread start when trust persistence fails#17595
etraut-openai merged 2 commits intomainfrom
etraut/read-only-panic

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

Addresses #17593

Problem: A regression introduced in #16492 made thread/start fail when Codex could not persist trusted project state, which crashes startup for users with read-only config.toml.

Solution: Treat trusted project persistence as best effort and keep the current thread's config trusted in memory when writing config.toml fails.

@etraut-openai etraut-openai marked this pull request as ready for review April 13, 2026 04:38
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f62f0bc09d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/app-server/src/codex_message_processor.rs Outdated
@etraut-openai etraut-openai merged commit d25a982 into main Apr 13, 2026
22 checks passed
@etraut-openai etraut-openai deleted the etraut/read-only-panic branch April 13, 2026 17:03
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants