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
Orchestration: rejected heartbeats from a stale terminal handle keep being delivered to the run (released dispatch) #5
Refs #2. Run run_a144cf4db54a, dispatch ctx_72f27ddd9783 (task task_cd2560093d6c, completed + released hours earlier). Since ~22:0xZ 2026-11-03 the coordinator kept receiving heartbeat deliveries (5 in total, e.g. msg_6c7f27cbd59b 22:26:36Z) from term_23423815-67ad-4b90-bc7a-5f524c2c1b83 with _orcaLifecycleRejection worker_identity_cha… / 'Orca rejected this heartbeat: … is not the exact process that owns Dispatch'. orca terminal close → terminal_handle_stale; not in orca terminal list.
ROOT CAUSE FOUND (22:5xZ): an orphaned heartbeat shell survived the worker release — pid 85380, parent 1, etime 19 h 37 m, /bin/bash -c source …/shell-snapshots/snapshot-bash-1793674761302-kn4p19.sh … with a sleep 300 child, env carrying ORCA_AGENT_PANE / ORCA_WORKTREE_ID (…/z8-buzz/z8buzz-backfill-iss…, worktree already removed) / the dispatch + terminal ids. It sent a heartbeat every 5 min; Orca rejected each one AND delivered the rejection to the run's FIFO. Killed by hand (kill 85380).
Two asks: (1) worker-release / terminal close should reap the agent pane's process group (the heartbeat loop was reparented to launchd and outlived the pane); (2) a heartbeat Orca rejects for a released dispatch should not be delivered to the run at all, or once with the sender pid. Version: Orca 1.4.244-blowzer.2 era (this Mac).
Activity
Merge pull request #8 from A2Z-Operations/report/pr-ladder-rebase5