Repository navigation
test(tui): synchronize Goal editing with a running Turn - #298
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Merged on 2026-11-16 as 106836e ("Merge PR #298"). Thanks for pinning down the race in #295! We reproduced it on main by slowing the Holding the first reply until the REPL has processed A small optional follow-up, if you like: the Turn is now guaranteed to be running, so the steer always prints "Steered the active Turn", and the |
Summary
The Goal TUI test used a fixed delay to keep a scripted response in flight. Piped input waits for the thread to become idle after sending a message, so automatic continuations could exhaust the Goal's no-work budget before the edit and pause commands ran.
Exercise the interactive prompt and wait for the scripted provider to start before sending the steering message. Keep the first reply pending until the REPL processes pause and prompts again. The test still checks that the steering message reaches the active Turn or is queued behind it, that editing preserves the Goal's identity, and that the paused status and updated objective persist.
Fixes #295.
Verification
BLOCKEDwhere it expectedPAUSED. On the fix, the two focused Goal tests passed in 10 consecutive runs.