You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky: test_answered slow-answer test reads active_turns before the parked turn leaves it #518
tests.test_answered.AnsweredToolTests.test_a_slow_answer_parks_the_turn_and_its_error_is_the_result failed once on CI, in the runtime job of this run, for #515. That PR changes only Sonny's browser tool and its tests, nothing the daemon runs.
The turn already counts as waiting while it still counts as active. So the stats read lands between the turn parking and its active slot being released. The test likely needs to poll stats until active_turns is 0, within a deadline, instead of reading it once.
Fixed by #767 (8c8c578): the test now polls stats until active_turns is 0 before reading waiting_turns, instead of reading once right after turn_waiting. It hasn't failed since. Closing.
Activity
lydakis commentedon Nov 14, 2026
Fixed by #767 (8c8c578): the test now polls
statsuntilactive_turnsis 0 before readingwaiting_turns, instead of reading once right afterturn_waiting. It hasn't failed since. Closing.Generated by Claude Code