DashboardopencodeSupervisorTransport.close STOP deadline

SupervisorTransport.close STOP deadline

Category: gotcha
Confidence: 1.00
ID: 01a07fe2-02bb-7278-8c17-f9ac71eebea5
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 11qIXHPNH6kwizEpW
Created: 2026-09-08 07:18:33
Updated: 2026-09-08 07:18:33

Content

Trap: starting the 25-second close timeout only after writing TYPE_STOP looks bounded, but a saturated supervisor receive buffer can leave the STOP write callback pending forever. Fix: bound the STOP write itself, then separately bound structured completion and socket closure; test close after filling input backpressure.

Move to: