fix(maestro): drain notifications before signaling turn-done #260

Closed
naps62-yolo wants to merge 0 commits from 259-acp-turn-done-drain into main
Collaborator

Routes turn-done through the same updates_tx channel as notifications via a new AcpUpdate enum, so the event pump processes them in FIFO order. Previously finish_queued_acp_turn raced the event pump for the lock, causing turn-end to be persisted/broadcast before all notification chunks were processed — leading to a response backlog in structured sessions.

Closes #259

Routes turn-done through the same `updates_tx` channel as notifications via a new `AcpUpdate` enum, so the event pump processes them in FIFO order. Previously `finish_queued_acp_turn` raced the event pump for the lock, causing turn-end to be persisted/broadcast before all notification chunks were processed — leading to a response backlog in structured sessions. Closes #259
naps62-yolo closed this pull request 2026-09-12 20:08:53 +01:00
naps62-yolo deleted branch 259-acp-turn-done-drain 2026-09-12 20:08:53 +01:00
This repo is archived. You cannot comment on pull requests.