Repository navigation
test(codex): wait for compaction identity before abort - #632
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Codex manual-compaction abort fixture could call
abort()after the provider received its HTTP request but before OAR received the app-server item identifying that compaction turn. Two Windows CI failures returned the existingbusyrefusal, with the native item arriving afterward.Wait for a new root
contextCompactionitem before making the single abort call. Keep the accepted/aborted, idle, process-survival and next-turn assertions; print the full abort outcome and records since dispatch on failure. Product code and the early-abort refusal are unchanged.Two virtual-time regressions reproduce the notification positions seen in PRs #625 and #630, reject old/child items, and verify the exact interrupt target. Both fail if the fixture wait is removed. The report and selected records retain both original failures and #625's successful job-only retry.
Validation: focused tests 28 passed; native Codex 0.166.0 compaction cases 8 passed on Linux with a local provider; full
CI=1 pnpm run checkpassed. Windows/macOS validation remains with this PR's CI.