Files
openworker/tests
Devika Verma ff9b955494 fix(observability): a streamed model step ends as its reply arrives; a turn's end waits for shadow checks (OPE-244)
Two races found by running the schema test repeatedly:

- The streamed view ended its model step only after the engine had read
  the final piece. The engine could add the reply and end the turn first,
  and the turn's end then closed the step as interrupted, without its
  usage or finish reason. The step now ends when the final piece
  arrives, before the engine sees it.
- A shadow check runs in the background and can outlast the turn's last
  event. The turn's end is now recorded with the time of its ending
  event but sent once running shadow checks finish (at most 30 s), so
  their steps are not closed as interrupted while they run.

Also: a server test's fake provider answers the session title apart, so
the title call can no longer take the turn's only reply.
2026-11-02 10:50:08 +05:30
..
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00