jif
58627e6fea
Fix turn interrupt reply ordering and shutdown handling ( #62066 )
...
## Why
A delayed terminal event from an earlier turn could acknowledge interrupts for a later turn. Interrupts could also remain pending after the thread listener shut down.
## What changed
- Associate pending `turn/interrupt` requests with their target turn and reply only when that turn completes or aborts.
- Track the current Core turn through stop hooks and resolve review delegate IDs to the owning turn when validating interrupts.
- Settle pending interrupts with an error on listener shutdown and reject further interrupts against the retired runtime.
## Testing
Add regression tests for delayed terminal events, queued turn starts, review delegates, and interrupt handling during thread revert and runtime replacement.
GitOrigin-RevId: 9695fc3f718baa6b792a14d54136bb87fc003100
2026-11-17 15:33:21 +00:00
..
2026-11-17 14:20:08 +00:00
2026-11-13 00:29:24 +00:00
2026-11-17 03:28:51 +00:00
2026-11-16 23:26:07 +00:00
2026-11-16 22:27:05 +00:00
2026-11-14 05:00:21 +00:00
2026-11-03 02:37:20 +00:00
2026-10-30 18:20:57 +00:00
2026-11-17 04:08:00 +00:00
2026-11-15 00:39:00 +00:00
2026-11-13 04:51:06 +00:00
2026-11-11 23:36:19 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 02:02:21 +00:00
2026-11-17 13:38:34 +00:00
2026-11-17 15:33:21 +00:00
2026-11-17 15:33:21 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 13:52:56 +00:00
2026-11-03 23:49:01 +00:00
2026-11-17 13:52:56 +00:00
2026-11-14 05:00:21 +00:00
2026-11-12 22:43:14 +00:00
2026-11-04 16:34:49 +00:00
2026-11-04 16:34:49 +00:00
2026-11-04 16:34:49 +00:00
2026-10-26 21:15:23 +00:00
2026-10-26 21:15:23 +00:00
2026-11-14 15:44:38 +00:00
2026-11-17 03:28:51 +00:00
2026-11-06 22:27:23 +00:00
2026-11-17 05:35:07 +00:00
2026-11-14 15:44:38 +00:00
2026-11-14 05:00:21 +00:00
2026-11-17 05:35:07 +00:00
2026-10-28 21:34:25 +00:00
2026-10-28 21:34:25 +00:00
2026-11-13 21:53:25 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 15:33:21 +00:00
2026-11-14 19:40:12 +00:00
2026-11-04 13:03:01 +00:00
2026-11-13 18:46:13 +00:00
2026-11-14 19:40:12 +00:00
2026-11-06 04:33:14 +00:00
2026-11-15 00:03:59 +00:00
2026-11-04 00:19:12 +00:00
2026-11-04 00:19:12 +00:00
2026-11-16 23:58:12 +00:00
2026-11-13 18:46:13 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 05:35:07 +00:00
2026-11-17 04:08:00 +00:00
2026-11-11 23:36:19 +00:00
2026-11-13 07:35:46 +00:00
2026-11-13 21:51:53 +00:00
2026-11-13 21:51:53 +00:00
2026-11-05 22:49:46 +00:00
2026-11-04 09:51:28 +00:00
2026-11-03 02:37:20 +00:00
2026-11-03 02:37:20 +00:00
2026-11-04 04:02:00 +00:00
2026-11-13 00:29:24 +00:00
2026-10-05 23:52:06 +00:00
2026-10-08 13:45:19 +00:00
2026-11-03 11:14:59 +00:00
2026-10-14 19:47:50 +00:00
2026-11-12 23:51:52 +00:00
2026-11-16 23:26:42 +00:00
2026-11-17 13:52:56 +00:00
2026-11-14 23:53:23 +00:00
2026-10-07 03:07:51 +00:00
2026-10-01 15:57:03 +00:00
2026-11-05 20:55:46 +00:00
2026-11-03 02:37:20 +00:00
2026-11-14 23:53:53 +00:00
2026-11-17 04:08:00 +00:00
2026-11-13 18:44:31 +00:00
2026-11-17 13:38:34 +00:00
2026-11-15 00:03:23 +00:00
2026-11-05 03:49:13 +00:00
2026-11-11 23:36:19 +00:00
2026-11-17 15:10:58 +00:00
2026-11-15 00:02:01 +00:00
2026-11-11 23:36:19 +00:00
2026-11-11 23:36:19 +00:00
2026-11-16 03:40:21 +00:00
2026-11-14 23:50:12 +00:00
2026-11-07 07:45:36 +00:00
2026-11-03 02:08:56 +00:00
2026-11-14 06:14:36 +00:00
2026-11-14 06:14:36 +00:00
2026-11-12 05:21:30 +00:00
2026-11-17 04:08:00 +00:00
2026-11-10 11:17:06 +00:00
2026-11-14 02:23:37 +00:00
2026-11-06 22:27:23 +00:00
2026-11-14 06:14:36 +00:00
2026-11-14 06:14:36 +00:00
2026-11-14 06:14:36 +00:00
2026-10-27 12:17:14 +00:00
2026-11-17 01:59:51 +00:00
2026-11-17 01:59:51 +00:00
2026-09-29 02:05:56 +00:00
2026-11-14 23:53:53 +00:00
2026-11-15 00:03:59 +00:00
2026-11-07 10:41:36 +00:00
2026-11-07 10:41:36 +00:00
2026-09-24 16:36:57 +00:00
2026-09-24 16:36:57 +00:00
2026-09-29 16:53:11 +00:00
2026-10-17 04:02:21 +00:00
2026-10-16 17:31:47 +00:00
2026-10-16 17:31:47 +00:00
2026-10-07 17:59:22 +00:00
2026-11-17 13:52:56 +00:00
2026-11-13 18:48:18 +00:00
2026-11-13 18:48:18 +00:00
2026-09-30 03:22:55 +00:00
2026-09-30 03:22:55 +00:00
2026-11-04 01:15:38 +00:00
2026-11-07 02:01:23 +00:00
2026-11-16 23:26:42 +00:00
2026-11-15 00:03:59 +00:00
2026-11-15 00:03:59 +00:00
2026-11-03 22:29:33 +00:00
2026-10-30 18:34:10 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 02:15:09 +00:00
2026-10-10 01:25:00 +00:00
2026-10-06 10:39:16 +00:00
2026-11-14 15:44:38 +00:00
2026-10-02 16:55:41 +00:00
2026-11-03 14:15:56 +00:00
2026-11-16 14:18:24 +00:00
2026-11-16 14:18:24 +00:00
2026-10-01 03:31:48 +00:00
2026-11-17 01:59:51 +00:00
2026-11-17 02:01:50 +00:00
2026-11-06 07:43:44 +00:00
2026-11-03 23:49:01 +00:00
2026-10-17 04:02:21 +00:00
2026-10-08 06:31:56 +00:00
2026-09-23 18:40:12 +00:00