jif
22c1681aec
Clean up network approvals when command startup is interrupted ( #63365 )
...
## Why
Interrupting `exec_command` while startup is pending can leave a stale
network approval registration. When the next command makes an untagged
request through the shared proxy, the stale entry makes request
attribution ambiguous and prevents an approval prompt.
## What changed
Tie the registration to the command's approval handle from startup
through completion. Remove the active entry and its stored outcome on
explicit completion or when the last handle is dropped. Cache the outcome
so that all deferred completion observers can report the same denial.
## Testing
Add a regression test that interrupts a pending launch and checks that
an untagged proxy request for the next command prompts for approval and
returns HTTP 403 when denied. Cover cleanup when the last deferred handle
is dropped and denial reuse across cloned handles.
GitOrigin-RevId: 257a32695c487a92d15937772b09085a49533fd3
2026-11-23 15:59:10 +00:00
..
2026-11-03 10:01:36 +00:00
2026-11-14 02:45:51 +00:00
2026-11-21 21:40:05 +00:00
2026-11-20 02:59:58 +00:00
2026-10-06 01:39:50 +00:00
2026-11-14 15:44:38 +00:00
2026-11-05 21:21:19 +00:00
2026-11-10 01:30:08 +00:00
2026-11-20 02:02:55 +00:00
2026-09-24 20:59:51 +00:00
2026-11-03 10:44:27 +00:00
2026-11-17 04:08:00 +00:00
2026-11-18 14:53:00 +00:00
2026-11-04 09:51:28 +00:00
2026-11-14 15:44:38 +00:00
2026-10-06 01:39:50 +00:00
2026-11-20 02:02:55 +00:00
2026-11-07 10:41:36 +00:00
2026-11-03 06:05:55 +00:00
2026-11-03 06:05:55 +00:00
2026-11-18 07:23:25 +00:00
2026-10-15 12:01:04 +00:00
2026-11-12 15:35:27 +00:00
2026-11-17 13:38:34 +00:00
2026-11-13 23:02:16 +00:00
2026-09-23 00:47:07 +00:00
2026-11-20 17:46:32 +00:00
2026-11-06 06:07:46 +00:00
2026-11-14 00:56:00 +00:00
2026-10-07 18:32:50 +00:00
2026-11-11 05:38:52 +00:00
2026-11-02 14:06:17 +00:00
2026-11-18 01:48:42 +00:00
2026-11-22 19:12:31 +00:00
2026-11-20 00:44:31 +00:00
2026-11-21 05:42:40 +00:00
2026-11-19 12:07:28 +00:00
2026-11-19 09:37:29 +00:00
2026-10-16 16:28:53 +00:00
2026-11-19 09:37:29 +00:00
2026-11-07 19:26:20 +00:00
2026-11-21 04:05:41 +00:00
2026-11-13 04:51:06 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 04:18:31 +00:00
2026-09-19 00:46:06 +00:00
2026-10-13 16:57:54 +00:00
2026-10-06 01:39:50 +00:00
2026-11-23 12:17:37 +00:00
2026-10-19 19:24:26 +00:00
2026-11-17 18:56:05 +00:00
2026-11-20 21:42:17 +00:00
2026-11-03 22:29:33 +00:00
2026-11-16 22:27:05 +00:00
2026-11-19 12:28:34 +00:00
2026-11-12 15:35:27 +00:00
2026-10-09 18:58:53 +00:00
2026-10-08 16:19:09 +00:00
2026-11-19 01:27:01 +00:00
2026-10-13 10:21:42 +00:00
2026-11-05 00:55:46 +00:00
2026-09-19 01:21:32 +00:00
2026-11-20 06:05:04 +00:00
2026-11-17 13:38:34 +00:00
2026-11-06 03:51:12 +00:00
2026-11-20 02:02:55 +00:00
2026-11-06 03:51:12 +00:00
2026-11-17 20:04:36 +00:00
2026-11-19 06:03:09 +00:00
2026-11-17 19:09:21 +00:00
2026-11-12 15:35:27 +00:00
2026-11-18 08:20:26 +00:00
2026-11-20 00:15:13 +00:00
2026-10-06 01:39:50 +00:00
2026-10-23 04:01:39 +00:00
2026-11-14 23:53:23 +00:00
2026-11-12 15:35:27 +00:00
2026-11-20 21:58:11 +00:00
2026-10-05 22:17:02 +00:00
2026-11-20 20:10:51 +00:00
2026-11-17 02:31:45 +00:00
2026-10-13 23:29:53 +00:00
2026-10-07 15:47:21 +00:00
2026-11-20 02:02:55 +00:00
2026-11-12 15:35:27 +00:00
2026-11-12 15:35:27 +00:00
2026-11-23 12:17:37 +00:00
2026-11-12 21:40:00 +00:00
2026-10-15 11:24:07 +00:00
2026-11-20 02:02:55 +00:00
2026-10-28 16:00:30 +00:00
2026-11-05 19:20:56 +00:00
2026-10-26 19:21:08 +00:00
2026-11-13 04:51:06 +00:00
2026-11-20 20:24:34 +00:00
2026-11-13 04:51:06 +00:00
2026-11-20 20:24:34 +00:00
2026-11-19 21:45:13 +00:00
2026-11-17 13:38:34 +00:00
2026-11-07 03:16:52 +00:00
2026-11-21 05:42:40 +00:00
2026-10-06 17:11:07 +00:00
2026-10-21 16:43:30 +00:00
2026-11-13 23:03:49 +00:00
2026-11-14 01:34:12 +00:00
2026-09-29 13:08:37 +00:00
2026-10-29 03:14:13 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-09-29 13:08:37 +00:00
2026-11-13 04:51:06 +00:00
2026-10-13 16:23:44 +00:00
2026-11-13 04:51:06 +00:00
2026-10-21 02:41:05 +00:00
2026-11-02 21:09:37 +00:00
2026-11-19 16:56:55 +00:00
2026-11-21 00:54:05 +00:00
2026-11-19 21:06:08 +00:00
2026-10-06 01:39:50 +00:00
2026-11-18 07:23:25 +00:00
2026-10-08 16:19:09 +00:00
2026-11-14 15:44:38 +00:00
2026-11-04 21:23:11 +00:00
2026-11-20 17:46:32 +00:00
2026-10-27 16:16:17 +00:00
2026-11-14 00:32:02 +00:00
2026-11-20 17:46:32 +00:00
2026-10-06 17:11:07 +00:00
2026-11-06 23:50:54 +00:00
2026-11-12 00:27:01 +00:00
2026-11-10 01:30:43 +00:00
2026-09-23 21:34:11 +00:00
2026-10-09 18:58:53 +00:00
2026-11-23 15:59:10 +00:00
2026-11-04 09:51:28 +00:00
2026-11-06 02:42:02 +00:00
2026-10-29 10:34:17 +00:00
2026-10-10 01:25:00 +00:00
2026-10-06 17:11:07 +00:00
2026-11-16 14:18:24 +00:00
2026-11-23 11:16:31 +00:00
2026-11-21 08:39:16 +00:00
2026-10-06 17:11:07 +00:00
2026-11-13 04:51:06 +00:00
2026-10-20 14:14:59 +00:00
2026-11-13 23:03:49 +00:00
2026-11-02 19:38:59 +00:00
2026-11-18 18:11:54 +00:00
2026-11-18 15:24:29 +00:00
2026-11-21 05:42:40 +00:00
2026-11-18 15:24:29 +00:00
2026-10-13 22:21:31 +00:00
2026-10-13 22:21:31 +00:00
2026-11-17 22:00:20 +00:00
2026-10-13 22:21:31 +00:00
2026-11-14 15:44:38 +00:00
2026-11-12 04:31:25 +00:00
2026-11-04 01:15:38 +00:00
2026-10-29 00:42:21 +00:00
2026-10-27 16:16:17 +00:00
2026-10-06 17:11:07 +00:00
2026-11-19 18:54:22 +00:00
2026-11-20 17:46:32 +00:00
2026-10-06 17:11:07 +00:00
2026-11-03 11:14:59 +00:00
2026-11-05 03:49:13 +00:00
2026-11-14 01:11:17 +00:00
2026-11-19 22:16:30 +00:00
2026-11-22 01:25:05 +00:00
2026-10-13 13:36:24 +00:00
2026-11-05 22:49:46 +00:00
2026-10-06 17:11:07 +00:00
2026-10-19 20:01:37 +00:00
2026-10-29 19:16:28 +00:00
2026-11-06 19:29:06 +00:00
2026-10-14 18:02:25 +00:00
2026-11-18 18:11:54 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 17:46:32 +00:00
2026-11-19 17:46:53 +00:00
2026-11-20 02:02:55 +00:00
2026-11-10 04:56:49 +00:00
2026-11-07 09:48:46 +00:00
2026-11-20 02:02:55 +00:00
2026-10-06 17:11:07 +00:00
2026-10-19 20:30:44 +00:00
2026-11-18 15:38:06 +00:00
2026-11-12 22:41:50 +00:00
2026-11-13 21:51:53 +00:00
2026-11-17 13:38:34 +00:00
2026-11-05 00:39:39 +00:00
2026-11-17 21:40:36 +00:00
2026-10-27 22:26:12 +00:00
2026-11-13 00:29:24 +00:00
2026-10-05 16:58:29 +00:00
2026-11-05 11:14:26 +00:00
2026-11-20 02:59:58 +00:00
2026-09-29 01:14:41 +00:00
2026-10-23 00:46:28 +00:00
2026-10-22 23:48:20 +00:00
2026-10-27 19:50:41 +00:00
2026-11-21 21:40:05 +00:00
2026-11-14 02:45:51 +00:00
2026-11-05 20:57:03 +00:00
2026-11-13 18:46:45 +00:00
2026-09-29 13:08:37 +00:00
2026-11-20 21:58:11 +00:00
2026-11-20 21:58:11 +00:00
2026-11-19 20:26:00 +00:00
2026-10-27 13:02:57 +00:00
2026-10-07 19:42:35 +00:00
2026-11-13 18:47:15 +00:00
2026-11-05 13:38:12 +00:00
2026-11-20 20:11:57 +00:00
2026-11-07 21:44:47 +00:00
2026-11-14 00:56:00 +00:00
2026-11-19 15:31:33 +00:00
2026-11-20 23:44:47 +00:00
2026-11-20 01:35:36 +00:00
2026-10-29 11:23:51 +00:00
2026-11-19 03:58:01 +00:00
2026-11-19 16:56:55 +00:00
2026-11-05 22:03:29 +00:00
2026-11-21 04:18:31 +00:00
2026-11-19 05:37:58 +00:00
2026-09-22 21:57:52 +00:00
2026-11-14 02:55:41 +00:00
2026-11-18 06:35:41 +00:00
2026-10-02 23:26:27 +00:00
2026-11-20 23:44:47 +00:00
2026-11-17 05:17:42 +00:00
2026-10-12 18:54:22 +00:00
2026-10-30 18:20:57 +00:00
2026-11-04 01:15:38 +00:00
2026-11-17 12:22:55 +00:00
2026-11-03 06:05:55 +00:00
2026-10-06 01:39:50 +00:00
2026-11-18 14:53:00 +00:00
2026-11-20 17:46:32 +00:00
2026-11-16 22:27:05 +00:00
2026-11-21 21:40:05 +00:00
2026-11-13 04:51:06 +00:00
2026-10-11 15:48:35 +00:00
2026-11-06 16:00:54 +00:00
2026-10-23 00:02:29 +00:00
2026-11-14 02:45:51 +00:00
2026-11-04 01:12:49 +00:00
2026-11-20 21:42:17 +00:00
2026-09-22 11:10:29 +00:00
2026-11-02 16:00:20 +00:00
2026-10-19 19:33:11 +00:00
2026-10-06 22:39:06 +00:00
2026-11-21 04:18:31 +00:00
2026-10-26 18:33:05 +00:00
2026-10-26 18:33:05 +00:00
2026-10-06 01:39:50 +00:00
2026-11-13 21:51:53 +00:00
2026-11-06 00:24:27 +00:00
2026-11-19 18:22:41 +00:00
2026-10-06 17:11:07 +00:00
2026-11-19 01:27:01 +00:00
2026-09-23 20:49:48 +00:00
2026-10-27 23:02:27 +00:00
2026-10-20 22:34:40 +00:00
2026-11-12 23:51:52 +00:00
2026-11-04 01:24:36 +00:00
2026-09-29 02:40:51 +00:00
2026-11-23 11:16:31 +00:00
2026-11-04 19:58:24 +00:00
2026-10-26 18:13:00 +00:00
2026-11-10 19:40:10 +00:00
2026-11-18 23:42:25 +00:00
2026-10-28 15:10:52 +00:00
2026-10-23 00:02:29 +00:00
2026-10-30 20:53:25 +00:00
2026-10-06 17:11:07 +00:00
2026-11-20 17:46:32 +00:00
2026-11-19 20:26:00 +00:00
2026-09-22 06:24:49 +00:00
2026-11-21 04:05:41 +00:00
2026-11-17 18:56:05 +00:00
2026-11-18 01:48:42 +00:00
2026-10-19 19:24:26 +00:00
2026-10-23 00:02:29 +00:00
2026-11-13 23:03:49 +00:00