Repository navigation
fix(codex): rotate incompatible context-engine threads - #81223
Conversation
|
Codex review: needs changes before merge. Summary Reproducibility: yes. source-reproducible. Current main resumes Codex sidecar bindings without context-engine compatibility metadata, and the PR body provides live before/after logs for a stale Lossless-managed Codex sidecar; I did not rerun that Telegram gateway setup locally. Real behavior proof Next step before merge Security Review findings
Review detailsBest possible solution: Keep the sidecar compatibility policy in the Codex app-server, fix retry-start error handling, then land after focused Codex tests and maintainer review. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible. Current main resumes Codex sidecar bindings without context-engine compatibility metadata, and the PR body provides live before/after logs for a stale Lossless-managed Codex sidecar; I did not rerun that Telegram gateway setup locally. Is this the best way to solve the issue? No, not yet. Stamping and rotating context-engine sidecars is the right maintainable boundary, but the fresh-thread retry must catch restart failures and route them through the same cleanup and failure-reporting path before merge. Full review comments:
Overall correctness: patch is incorrect Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 58bfefbad3e3. |
7d445b0 to
029253f
Compare
* fix(codex): rotate incompatible context-engine threads * fix(codex): tighten context-engine sidecar policy * fix: type context-engine binding policy config --------- Co-authored-by: Josh Lehman <[email protected]> (cherry picked from commit b55d9fa)
* fix(codex): rotate incompatible context-engine threads * fix(codex): tighten context-engine sidecar policy * fix: type context-engine binding policy config --------- Co-authored-by: Josh Lehman <[email protected]>
* fix(codex): rotate incompatible context-engine threads * fix(codex): tighten context-engine sidecar policy * fix: type context-engine binding policy config --------- Co-authored-by: Josh Lehman <[email protected]>
* fix(codex): rotate incompatible context-engine threads * fix(codex): tighten context-engine sidecar policy * fix: type context-engine binding policy config --------- Co-authored-by: Josh Lehman <[email protected]>
* fix(codex): rotate incompatible context-engine threads * fix(codex): tighten context-engine sidecar policy * fix: type context-engine binding policy config --------- Co-authored-by: Josh Lehman <[email protected]>
Summary
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Real behavior proof (required for external PRs)
Root Cause (if applicable)
Regression Test Plan (if applicable)
User-visible / Behavior Changes
Lossless-managed Codex sessions may start a fresh native Codex backend thread when an existing sidecar lacks compatible context-engine metadata. Plain non-Lossless Codex sessions keep normal backend resume behavior.
Diagram (if applicable)
Security Impact (required)
Repro + Verification
Environment
Steps
Expected
Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
Review Conversations
Compatibility / Migration