Charlie Marsh
55db7e8c88
Avoid cloning turn items for app-server active turn lookups ( #46305 )
...
## Why
App-server callers that only need the active turn ID or its presence currently create a full turn snapshot, unnecessarily cloning its items.
## What changed
Expose `ThreadState::active_turn_id()` and use it for interrupt validation, elicitation turn ID fallback, and teardown and shutdown logging, preserving the existing turn selection behavior.
## Testing
Update the interrupt integration test to wait for `turn/started` instead of a fixed delay and verify that an incorrect turn ID is rejected before successfully interrupting the active turn.
GitOrigin-RevId: 4a030655fbc4d229809cf13f80c3d7f788f19c13
2026-09-17 21:25:34 +00:00
..
2026-07-23 22:39:28 +00:00
2026-09-16 21:01:13 +00:00
2026-09-17 21:25:34 +00:00
2026-09-14 22:31:32 +00:00
2026-09-14 22:31:32 +00:00
2026-07-23 01:00:35 +00:00
2026-07-22 14:16:51 +00:00
2026-08-21 19:04:32 +00:00
2026-08-24 21:39:48 +00:00
2026-09-17 21:25:34 +00:00
2026-08-25 20:37:15 +00:00
2026-08-25 20:37:15 +00:00
2026-09-08 10:18:59 +00:00
2026-07-29 18:29:26 +00:00
2026-08-10 11:22:55 +00:00
2026-09-17 19:12:42 +00:00
2026-09-09 17:45:17 +00:00
2026-09-16 21:50:07 +00:00
2026-09-10 21:41:39 +00:00
2026-09-17 19:12:42 +00:00
2026-09-09 23:59:14 +00:00
2026-09-16 00:54:58 +00:00
2026-07-18 23:22:13 +00:00
2026-08-28 19:12:34 +00:00
2026-09-01 00:50:11 +00:00
2026-09-08 23:45:10 +00:00
2026-09-14 18:56:43 +00:00
2026-08-21 19:04:32 +00:00
2026-09-10 15:52:09 +00:00
2026-09-16 16:56:41 +00:00
2026-08-25 20:37:15 +00:00
2026-09-09 19:22:22 +00:00
2026-09-16 00:20:40 +00:00
2026-09-11 20:27:37 +00:00
2026-09-17 19:12:42 +00:00
2026-09-08 19:48:37 +00:00
2026-08-24 23:29:10 +00:00
2026-09-11 19:13:04 +00:00
2026-09-10 15:52:09 +00:00
2026-08-07 00:28:32 +00:00
2026-09-14 22:31:32 +00:00
2026-09-01 22:37:26 +00:00
2026-09-16 20:39:18 +00:00
2026-09-09 01:03:42 +00:00
2026-08-11 10:43:11 +00:00
2026-09-17 21:25:34 +00:00
2026-08-12 11:07:46 +00:00
2026-08-28 01:14:02 +00:00
2026-09-16 16:56:41 +00:00
2026-09-09 01:03:42 +00:00
2026-09-09 01:03:42 +00:00
2026-09-01 00:30:55 +00:00
2026-09-01 00:30:55 +00:00
2026-09-10 18:24:13 +00:00
2026-09-01 00:30:55 +00:00
2026-09-10 18:32:38 +00:00
2026-09-07 18:43:20 +00:00
2026-09-07 18:43:20 +00:00
2026-09-08 05:57:24 +00:00
2026-09-08 21:48:53 +00:00
2026-09-08 21:48:53 +00:00
2026-09-08 05:57:24 +00:00
2026-09-07 04:33:22 +00:00
2026-09-07 04:33:22 +00:00
2026-09-07 04:33:22 +00:00
2026-09-11 17:36:50 +00:00
2026-09-11 17:36:50 +00:00
2026-09-11 17:36:50 +00:00
2026-09-11 17:36:50 +00:00