Skip to content

test(codex): wait for compaction identity before abort - #632

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/codex-compaction-abort
Nov 5, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/codex-compaction-abort

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Otter from open-agent-runtime opened this pull request through Stamp
View in Stamp →


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 existing busy refusal, with the native item arriving afterward.

Wait for a new root contextCompaction item 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 check passed. Windows/macOS validation remains with this PR's CI.

@stamp-build
stamp-build Bot merged commit 4fd225c into main Nov 5, 2026
37 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/codex-compaction-abort branch November 5, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants