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
bug(platform): a steer restart refused for sandbox room fails the run instead of parking it #4720
A task comment on a running agent run restarts its turn (steerTaskAgentTurnImpl, services/platform/backend/core/tasks/agent_run_host.ts:2630). When the restart's exec start is refused for room — session_memory_busy, the live-exec cap, a host refusal — the catch settles the run failed with steer_restart_failed (agent_run_host.ts:2989-3013). Verified on main at 73d03a9.
The kick treats the same refusals as a wait: it parks the run for capacity (parkTaskAgentRunForCapacity), closes the refused exec's key as a room wait, and spends no attempt (agent_run_host.ts:1722-1770). On the steer path the card shows a failure, the auto-retry budget is charged, and the retry meets the same full session.
Suggested fix
Classify the error in the steer catch with sandboxCapacityRefusal(err) / isDestroyPendingRefusal(err) as the kick does, and park the run for capacity under the new exec (execRefused, turn key released as AWAITING_ROOM_RESULT_STATUS) instead of settling it failed. The comment still heads the next brief through the discussion delta.
Activity
fix(platform): wait out a steer restart refused for sandbox room