Skip to content

Stabilize ACP shared-session delivery regression test - #1174

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex-acp-timeout-maple
Oct 19, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex-acp-timeout-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

The Windows Agent job on #1172 timed out after five seconds while this test repeatedly requested session/list to wait for its first tool notification. The same ACP test passed in an earlier Windows run with unchanged ACP source. It also relied on a delayed stream leaving enough time to inject observer updates before the prompt ended.

Keep the regression test, but hold the turn at an unanswered question until the ACP client has received the external tool activity and title update. Read notifications directly instead of polling storage-backed session/list, and use bounded 30-second waits with specific failure messages. Retain the 400-chunk reply, tool announcement deduplication, desktop delivery, and follow-up prompt assertions. Only test code changes.

Validation:

  • Original test passed locally; revised test passed 20 consecutive runs on macOS in the pinned component Nix shell.
  • Temporarily restored the incorrect whole-turn observer gate: the revised test failed at the expected observer-update wait. Restored production source afterward.
  • nix develop --no-update-lock-file -c just ci passed: formatting, four Clippy configurations, all-target workspace build, workspace tests, and 68 headless app tests.
  • Windows CI: pending.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@AnthonyRonning
AnthonyRonning merged commit d96a06a into master Oct 19, 2026
37 checks passed
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.

1 participant