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
Commit 1391879
Browse filesBrowse the repository at this point in the historyBrowse files
test(opencode): add regression test for lost terminal-iteration wakeup
Cover the queued-work path repaired in anomalyco#36375 (refs anomalyco#35066). When a
background subagent notifies the parent by calling ensureRunning while the
parent turn is still running, the runner must queue that work and cycle
Running -> RunningThenRun -> Running for every arrival instead of dropping
it. Exercise two back-to-back notifications so the runner re-enters
RunningThenRun a second time after the first queued run is promoted.
Without the fix the runner never enters RunningThenRun, so the queued
wakeup is lost: the test fails (waitForState times out) on the pre-fix
runner.ts and passes with the fix in place.
0 commit comments