Ahmed Ibrahim
71d80f9a14
Omit service_tier from remote /responses/compact requests under API auth ( #21676 )
...
## Summary
API-key-auth remote compaction requests should not inherit
`service_tier` from normal `/responses` turns. This path needs to match
API auth expectations, while ChatGPT-auth remote compaction should keep
reusing the shared request fields that still apply there.
This change keeps the decision inline in
`codex-rs/core/src/compact_remote.rs` only. Under API key auth, the
classic remote `/responses/compact` path now omits `service_tier`; under
ChatGPT auth, it keeps reusing the configured tier.
`codex-rs/core/src/compact_remote_v2.rs` is unchanged. The remote
compaction parity coverage and snapshots were updated to assert the
API-key omission and preserve the ChatGPT-auth behavior.
## Testing
- Updated remote compaction parity coverage in
`codex-rs/core/tests/suite/compact_remote.rs` and the corresponding
snapshots.
2026-05-08 11:15:14 +03:00
..
2026-05-08 00:02:46 +00:00
2026-04-21 10:22:36 -07:00
2026-05-08 00:02:46 +00:00
2026-05-06 19:54:26 +00:00
2026-05-06 19:54:26 +00:00
2026-05-07 20:31:41 -07:00
2026-05-07 10:16:10 -07:00
2026-04-26 22:11:49 -07:00
2026-05-07 20:31:41 -07:00
2026-05-07 02:24:20 +00:00
2026-05-04 22:33:20 +00:00
2026-05-08 01:29:03 +00:00
2026-05-07 11:33:47 +02:00
2026-04-24 17:49:29 -07:00
2026-04-26 15:10:53 -07:00
2026-05-07 11:33:47 +02:00
2026-05-01 22:11:06 +00:00
2026-05-04 14:15:01 +02:00
2026-04-21 15:37:12 -07:00
2026-04-27 21:58:29 +00:00
2026-05-06 10:48:37 +02:00
2026-05-06 09:58:46 -07:00
2026-05-07 20:31:41 -07:00
2026-05-06 22:48:29 -07:00
2026-05-07 19:22:04 +02:00
2026-05-07 19:57:36 -07:00
2026-05-08 11:15:14 +03:00
2026-05-08 11:15:14 +03:00
2026-05-06 18:08:31 -07:00
2026-05-01 17:46:02 +02:00
2026-05-07 10:16:10 -07:00
2026-05-07 10:16:10 -07:00
2026-05-06 19:54:26 +00:00
2026-04-26 17:18:09 -07:00
2026-04-20 22:39:17 -07:00
2026-04-26 15:10:53 -07:00
2026-04-26 15:10:53 -07:00
2026-05-01 01:05:02 +00:00
2026-05-01 00:56:20 +00:00
2026-05-01 01:05:02 +00:00
2026-04-29 19:13:57 +00:00
2026-04-29 19:13:57 +00:00
2026-04-20 11:23:00 +01:00
2026-04-20 11:23:00 +01:00
2026-05-06 22:48:29 -07:00
2026-05-06 18:08:31 -07:00
2026-04-28 13:03:28 +02:00
2026-04-28 19:43:44 -07:00
2026-05-06 22:48:29 -07:00
2026-04-23 17:14:02 -07:00
2026-05-07 10:36:32 +02:00
2026-05-06 19:42:45 +00:00
2026-05-07 10:16:10 -07:00
2026-05-07 10:16:10 -07:00
2026-05-07 10:16:10 -07:00
2026-05-07 10:36:32 +02:00
2026-04-27 16:01:05 +02:00
2026-04-27 03:18:57 +00:00
2026-04-24 17:49:29 -07:00
2026-05-07 16:06:57 -07:00
2026-05-06 22:48:29 -07:00
2026-05-06 22:48:29 -07:00
2026-05-06 22:48:29 -07:00
2026-05-06 02:12:31 +00:00
2026-04-23 10:17:09 -07:00
2026-04-20 14:04:09 -07:00
2026-05-04 22:28:14 +00:00
2026-05-05 15:25:19 -07:00
2026-04-27 13:41:27 -07:00
2026-05-07 11:33:47 +02:00
2026-04-26 13:29:54 -07:00
2026-04-26 13:29:54 -07:00
2026-04-20 22:39:17 -07:00
2026-05-06 18:00:21 +03:00
2026-05-04 11:46:03 -07:00
2026-05-04 11:46:03 -07:00
2026-05-07 02:24:20 +00:00
2026-05-04 20:36:29 -07:00
2026-05-04 11:46:03 -07:00
2026-04-26 17:18:09 -07:00
2026-05-06 22:48:29 -07:00
2026-05-06 22:48:29 -07:00
2026-05-07 11:25:25 -07:00
2026-05-08 00:02:46 +00:00
2026-04-26 17:18:09 -07:00
2026-05-07 18:05:45 +02:00
2026-05-07 18:05:45 +02:00
2026-05-06 11:36:15 +02:00
2026-05-06 11:36:15 +02:00
2026-04-28 16:36:59 +00:00
2026-05-04 22:33:20 +00:00
2026-05-07 10:16:10 -07:00
2026-04-20 22:39:17 -07:00
2026-04-20 22:39:17 -07:00
2026-04-20 10:27:01 -07:00