fix(proxy): use Responses stream compaction for Codex accounts - #1719
fix(proxy): use Responses stream compaction for Codex accounts#1719onlysdesign-ui wants to merge 6 commits into
Conversation
910cd41 to
e976e5b
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f70f910ed7
ℹ️ 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".
060ca5b to
ecb89c1
Compare
ecb89c1 to
06423d1
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 06423d1ef4
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bddd20c8ce
ℹ️ 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".
Summary
compaction_trigger, collect one compaction output item plusresponse.completed, and preserve encrypted content, item ID, and status/responses/compactendpoint only as a 404/405/501 compatibility fallbackRoot cause
Codex Desktop's remote compaction path now uses
POST /codex/responseswith a terminalcompaction_trigger. The proxy sent account-scoped compaction only to the legacy JSON endpoint, which returned upstream 404; oversized threads then continued untilcontext_length_exceeded.Validation
31 passed—tests/unit/test_codex_upstream_paths.pyruff checkpassed for changed Python filesgit diff --checkpassedrestore-responses-compaction-v2/backend-api/codex/responses/compactreturned HTTP 200 with a preserved compaction itemFixes the current Codex compaction compatibility regression without disabling compaction.