Owen Lin
c4318c386d
Include terminal errors in turn completion events ( #32280 )
...
## What changed
- Add an optional `error` payload to `TurnCompleteEvent` and omit it when a turn completes without an error.
- Preserve the full terminal `ErrorEvent` through the turn lifecycle so the completion event includes the same error details emitted separately by `EventMsg::Error`.
## Testing
- Extend the stream-error integration test to verify that `TurnCompleteEvent` contains the emitted error and that the next turn can still proceed.
GitOrigin-RevId: 8d32942a44132763076130102d8b89ab356d59d0
2026-07-10 22:04:03 +00:00
..
2026-06-16 21:42:28 +00:00
2026-06-26 00:53:07 +01:00
2026-07-07 20:59:02 +00:00
2026-07-07 20:59:02 +00:00
2026-06-25 19:00:23 +00:00
2026-07-10 12:22:04 +00:00
2026-05-29 13:32:19 +02:00
2026-05-29 13:32:19 +02:00
2026-03-12 08:16:36 -07:00
2026-07-01 18:11:09 -07:00
2026-05-11 16:33:44 -07:00
2026-05-11 16:33:44 -07:00
2026-06-23 20:21:13 +00:00
2026-05-06 15:40:50 -07:00
2026-06-23 20:21:13 +00:00
2026-06-24 17:17:28 -07:00
2026-07-07 08:32:14 -07:00
2026-07-08 09:40:00 -07:00
2026-06-11 15:10:29 -07:00
2026-06-23 23:08:54 +00:00
2026-05-19 14:45:37 -07:00
2026-06-10 10:26:53 -07:00
2026-05-29 13:32:19 +02:00
2026-05-29 13:32:19 +02:00
2026-06-10 12:54:21 +02:00
2026-06-25 18:31:10 -07:00
2026-07-09 14:32:23 -07:00
2026-07-09 14:32:23 -07:00
2026-06-24 00:35:34 +00:00
2026-07-09 02:32:10 +00:00
2026-06-22 10:05:36 +02:00
2026-06-28 20:34:47 -07:00
2026-07-10 22:04:03 +00:00
2026-07-07 20:59:02 +00:00
2026-07-07 20:59:02 +00:00
2026-06-23 16:52:40 -07:00
2026-06-11 03:39:07 +00:00
2026-05-29 13:32:19 +02:00
2026-06-10 10:26:53 -07:00
2026-06-23 20:21:13 +00:00
2026-06-16 23:44:42 +00:00
2026-06-24 13:25:44 -07:00
2026-06-26 00:53:07 +01:00
2026-06-11 22:30:41 -07:00
2026-06-11 22:30:41 -07:00
2026-06-23 20:21:13 +00:00
2026-06-10 10:26:53 -07:00
2026-06-02 20:51:25 +02:00
2026-06-02 20:51:25 +02:00
2026-06-25 19:00:23 +00:00
2026-06-23 20:21:13 +00:00
2026-06-24 22:17:43 -07:00
2026-05-29 13:32:19 +02:00
2026-05-29 13:32:19 +02:00
2026-06-10 10:26:53 -07:00
2026-05-29 13:32:19 +02:00
2026-07-09 14:32:23 -07:00
2026-07-10 12:22:04 +00:00
2026-06-15 08:28:02 -07:00
2026-05-29 13:32:19 +02:00
2026-06-23 20:21:13 +00:00
2026-06-24 00:35:34 +00:00