Skip to content

codex-rs: fix thread resume rejoin semantics#11756

Merged
maxj-oai merged 7 commits intomainfrom
maxj/thread-resume-rejoin-fix
Feb 13, 2026
Merged

codex-rs: fix thread resume rejoin semantics#11756
maxj-oai merged 7 commits intomainfrom
maxj/thread-resume-rejoin-fix

Conversation

@maxj-oai
Copy link
Contributor

@maxj-oai maxj-oai commented Feb 13, 2026

Summary

  • always rejoin an in-memory running thread on thread/resume, even when overrides are present
  • reject thread/resume when history is provided for a running thread
  • reject thread/resume when path mismatches the running thread rollout path
  • warn (but do not fail) on override mismatches for running threads
  • add more thread_resume integration tests and fixes; including restart-based resume-with-overrides coverage

Validation

@maxj-oai maxj-oai requested a review from owenlin0 February 13, 2026 17:36
@maxj-oai maxj-oai marked this pull request as ready for review February 13, 2026 17:44
@owenlin0
Copy link
Collaborator

@codex review

Copy link
Collaborator

@owenlin0 owenlin0 left a comment

Choose a reason for hiding this comment

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

overall seems fine, but would love to clean up the code a bit to make it more modular/readable

Copy link
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: a665fb310a

ℹ️ 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".

@maxj-oai maxj-oai enabled auto-merge (squash) February 13, 2026 22:44
@maxj-oai maxj-oai merged commit fb0aaf9 into main Feb 13, 2026
53 of 55 checks passed
@maxj-oai maxj-oai deleted the maxj/thread-resume-rejoin-fix branch February 13, 2026 23:10
@github-actions github-actions bot locked and limited conversation to collaborators Feb 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