Why: the race detector can deliver message_end when the context is already cancelled, because select picks either ready case. Evidence: GOWORK=off go test -count=50 -race ./runtime/llm/ passed, including TestParseSSECancel. Impact: a cancelled parse ends with the aborted event. Refs: D1 Co-authored-by: Cursor <cursoragent@cursor.com>