viyatb-oai
f53c91be2c
Add attributed exec process lifecycle telemetry ( #42373 )
...
## Why
Exec-server process and network-policy events need stable attribution to the
launching tool call and executor without recording process payloads.
## What changed
- Add optional `ExecMetadata` to `ExecParams` and propagate the thread and tool
call IDs from unified exec.
- Emit bounded OpenTelemetry events for process start, spawn failure, sandbox
denial, and exit. Correlate them with the launch trace and registry-issued
executor identity while excluding arguments, paths, environment values,
output, and error text.
- Preserve launch attribution across long-running processes and reconnects, and
attach the same metadata to network-policy audit events.
- Keep the protocol backward compatible when metadata is omitted, and prevent
invalid trace headers from inheriting an unrelated active span.
## Testing
Add coverage for metadata serialization and propagation, lifecycle event
fields, trace relationships, reconnect behavior, spawn failures, sandbox
denials, and network-policy attribution.
GitOrigin-RevId: 7aa480a7289c73cb95e2c124c35500bb6f0d5084
2026-09-02 21:58:58 +00:00
..
2026-08-26 22:37:59 +00:00
2026-08-25 19:54:52 +00:00
2026-08-30 07:40:36 +00:00
2026-08-26 16:28:35 +00:00
2026-08-31 00:53:30 +00:00
2026-08-24 18:22:13 +00:00
2026-08-20 17:46:05 +00:00
2026-08-20 17:46:05 +00:00
2026-08-24 19:52:27 +00:00
2026-08-13 00:00:16 +00:00
2026-08-27 21:03:09 +00:00
2026-08-29 03:44:01 +00:00
2026-08-25 21:34:05 +00:00
2026-09-01 05:17:11 +00:00
2026-09-01 14:43:27 +00:00
2026-08-21 20:15:23 +00:00
2026-08-13 00:00:16 +00:00
2026-08-31 23:36:04 +00:00
2026-08-25 23:42:50 +00:00
2026-09-01 14:43:27 +00:00
2026-08-20 17:46:05 +00:00
2026-08-31 21:15:38 +00:00
2026-08-30 07:40:36 +00:00
2026-08-31 21:15:38 +00:00
2026-08-30 07:40:36 +00:00
2026-08-28 02:09:07 +00:00
2026-08-25 19:54:52 +00:00
2026-08-20 18:29:35 +00:00
2026-08-27 00:02:26 +00:00
2026-08-20 18:29:35 +00:00
2026-08-26 16:28:35 +00:00
2026-09-01 00:42:19 +00:00
2026-08-28 01:14:02 +00:00
2026-08-29 19:57:06 +00:00
2026-09-01 20:41:32 +00:00
2026-08-30 11:56:24 +00:00
2026-09-01 14:33:58 +00:00
2026-09-01 15:34:03 +00:00
2026-09-02 15:46:33 +00:00
2026-08-21 21:51:12 +00:00
2026-09-01 11:14:20 +00:00
2026-09-01 11:14:20 +00:00
2026-08-29 03:14:35 +00:00
2026-08-30 14:04:06 +00:00
2026-09-01 18:02:27 +00:00
2026-08-23 06:10:44 +00:00
2026-08-13 00:00:16 +00:00
2026-08-25 01:27:18 +00:00
2026-08-13 00:00:16 +00:00
2026-09-01 15:04:11 +00:00
2026-08-25 23:42:50 +00:00
2026-08-27 00:02:26 +00:00
2026-09-01 20:26:57 +00:00
2026-08-27 20:31:40 +00:00
2026-08-04 15:23:43 +00:00
2026-08-26 16:28:35 +00:00
2026-08-30 14:04:06 +00:00
2026-08-30 07:40:36 +00:00
2026-09-01 20:54:25 +00:00
2026-09-02 15:07:11 +00:00
2026-08-13 00:00:16 +00:00
2026-08-27 21:03:09 +00:00
2026-08-30 07:40:36 +00:00
2026-08-29 03:44:01 +00:00
2026-08-20 17:46:05 +00:00
2026-08-29 03:28:19 +00:00
2026-08-20 11:57:32 +00:00
2026-08-27 00:02:26 +00:00
2026-08-26 21:39:05 +00:00
2026-08-25 23:42:50 +00:00
2026-09-01 14:43:27 +00:00
2026-08-31 21:15:38 +00:00
2026-08-29 03:44:01 +00:00
2026-08-31 00:53:30 +00:00
2026-09-01 16:58:54 +00:00
2026-07-14 10:37:23 +00:00
2026-08-31 00:53:30 +00:00
2026-07-22 20:23:35 +00:00
2026-08-13 00:00:16 +00:00
2026-08-31 22:38:23 +00:00
2026-08-01 01:17:26 +00:00
2026-08-31 22:29:40 +00:00
2026-09-02 17:27:50 +00:00
2026-08-31 00:53:30 +00:00
2026-08-13 00:00:16 +00:00
2026-08-31 20:50:44 +00:00
2026-08-31 20:50:44 +00:00
2026-08-30 14:04:06 +00:00
2026-09-02 20:41:14 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-26 19:44:12 +00:00
2026-07-22 00:50:28 +00:00
2026-08-31 21:15:38 +00:00
2026-08-26 03:28:57 +00:00
2026-08-28 10:39:10 +00:00
2026-08-31 08:31:23 +00:00
2026-09-01 20:26:57 +00:00
2026-08-23 06:10:44 +00:00
2026-09-01 12:23:20 +00:00
2026-07-23 19:19:35 +00:00
2026-08-13 00:00:16 +00:00
2026-08-20 17:46:05 +00:00
2026-08-30 14:04:06 +00:00
2026-08-29 19:57:06 +00:00
2026-08-25 17:27:04 +00:00
2026-09-01 21:16:12 +00:00
2026-08-20 17:46:05 +00:00
2026-09-01 00:42:19 +00:00
2026-08-27 01:22:23 +00:00
2026-08-27 21:03:09 +00:00
2026-08-26 22:37:59 +00:00
2026-08-25 17:41:22 +00:00
2026-09-02 02:09:35 +00:00
2026-08-13 00:00:16 +00:00
2026-08-13 00:00:16 +00:00
2026-08-30 07:40:36 +00:00
2026-08-28 09:48:13 +00:00
2026-08-31 08:31:23 +00:00
2026-08-31 21:15:38 +00:00
2026-08-30 07:40:36 +00:00
2026-08-30 14:04:06 +00:00
2026-08-20 17:46:05 +00:00
2026-08-30 07:40:36 +00:00
2026-08-30 14:04:06 +00:00
2026-08-25 19:54:52 +00:00
2026-08-20 17:46:05 +00:00
2026-09-02 21:58:58 +00:00
2026-08-28 11:38:03 +00:00
2026-08-28 15:44:48 +00:00
2026-08-26 21:39:05 +00:00
2026-08-28 19:04:54 +00:00
2026-08-10 19:26:52 +00:00
2026-08-13 00:00:16 +00:00
2026-08-28 18:07:40 +00:00
2026-08-27 21:03:09 +00:00
2026-08-14 01:23:59 +00:00
2026-08-13 00:00:16 +00:00
2026-08-26 22:37:59 +00:00
2026-08-24 17:29:21 +00:00
2026-08-26 16:28:35 +00:00
2026-08-20 06:29:32 +00:00