Skip to content

Stabilize remote compaction parity against dynamic skill catalogs - #31585

Merged
jif-oai merged 1 commit into
mainfrom
jif/stabilize-remote-compaction-service-tier-parity
Jul 8, 2026
Merged

Stabilize remote compaction parity against dynamic skill catalogs#31585
jif-oai merged 1 commit into
mainfrom
jif/stabilize-remote-compaction-service-tier-parity

Conversation

@jif-oai

@jif-oai jif-oai commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

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.

@jif-oai
jif-oai requested a review from a team as a code owner July 8, 2026 14:52
@jif-oai
jif-oai merged commit f17a57b into main Jul 8, 2026
33 checks passed
@jif-oai
jif-oai deleted the jif/stabilize-remote-compaction-service-tier-parity branch July 8, 2026 14:59
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant