mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
## Why The remote compaction parity test compares legacy and v2 sessions created with separate temporary homes. Those sessions can discover different model-visible skill catalogs, so the request comparison can fail even when the compaction and service-tier behavior matches. This is the most frequent retry-saved full-CI failure in the recent JUnit history. ## What changed Normalize only the contents of `<skills_instructions>` before comparing the captured requests. The opening and closing tags remain in the comparison, so the test still catches a missing or misplaced skills block. The service-tier, compacted input, follow-up request, and replacement-history assertions are unchanged. A focused normalizer test covers the new behavior. ## Scope This is test-only. It does not change runtime compaction or skill behavior. Exact skill-catalog rendering remains covered by the dedicated skills tests.