feat(streams): trace first WebSocket writes (#4074)
## Summary & Motivation Tags the first write of a session, and the first write on each reconnect, with phase timings on the existing `workflow.stream.write` span — token/config resolution, connect, wait-for-open, send, and ack round trip — so cold WebSocket write latency can be attributed to a client-side phase before changing first-chunk transport behavior. Later writes keep the two attributes they had, since the per-phase clocks only mean anything while a connection is being established. ## Test Plan Unit tests added; existing world-vercel suite and typecheck pass.
A
Alex Langenfeld committed
7740388d7fe1a744f04974c67fd583d2526658f4
Parent: 45a3072
Committed by GitHub <noreply@github.com>
on 9/10/2026, 6:29:01 PM