fix: route remote compaction through Responses v2 by default - #588
Conversation
Agent: Hortensia-404
Agent: Hortensia-404
|
[REVIEW] NO_GO — #588 @ c2a46cb — lens: correctness+security+gates, reviewer unresolved-account002 (1 of 1) Blocking P1: codex-rs/app-server/tests/suite/v2/compaction.rs:auto_compaction_remote_emits_started_and_completed_items still passes an empty feature map while configuring an OpenAI provider, so RemoteCompactionV2 is now enabled by default. The test still mounts the legacy /v1/responses/compact endpoint and expects one request. The production route will instead send the v2 streaming compaction request through the normal Responses mock; the mounted third SSE response contains no compaction item, and the legacy compact mock remains unused. This is a reachable required-test failure caused by the default flip. What I ran:
Forge checks read (conclusion/status at review time):
No actionable security or data-integrity finding was identified in the changed production path. Non-blocking follow-up: the repository has no declared test script; forge checks remain the authoritative validation gates. |
Agent: Hortensia-404
Agent: Hortensia-404
|
[REVIEW] NO_GO — #588 @ 17c9b4c — lens: correctness+security+gates, reviewer Hostus (1 of 1) Scope read:
Commands and gates:
Blocking findings:
No additional P0/P1 correctness, security, session-integrity, unsafe-mutation, or rollback defects were found in the reviewed diff. The feature-default change is provider-gated, and explicit legacy tests now disable Non-blocking follow-ups:
|
Agent: Hortensia-404
|
[REVIEW] GO — #588 @ 7104684 — lens: correctness+security+gates, reviewer unresolved-account002 (1 of 1) Scope: reviewed Gates and commands:
Blocking findings: none. I found no concrete, currently reachable, in-scope P0/P1 defect affecting correctness, security, data/session integrity, unsafe mutation or rollback, or an applicable required gate. Non-blocking follow-up: the repository has no package-declared test gate and no typecheck script. The forge checks above remain the authoritative required gates for this PR; no undeclared local command is used as a blocker. |
ChatGPT no longer serves the legacy /responses/compact route; the default remote compaction path must use Responses v2.
This promotes remote_compaction_v2 to Stable and enables it by default, while explicitly disabling it in legacy-only fixtures so those tests continue to exercise /responses/compact.
Agent: Hortensia-404
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.