jif
b705b6b076
Report completed sub-agent activity on parent turns ( #40437 )
...
## Why
A Multi-Agent V2 child can finish after the parent turn that spawned it, so its
successful completion needs to remain associated with that parent turn in
notifications and history.
## What changed
- Add `completed` to `SubAgentActivityKind` and emit the corresponding started
and completed item events on the spawning parent turn when a child succeeds.
- Persist completed activity as a canonical turn item in both legacy and
paginated history, and expose it through app-server history and schemas.
- Render completed activity as terminal in the TUI without counting it as a
separate tool call or tool-runtime event.
## Testing
- Cover successful completion in legacy and paginated history, late updates to
completed parent turns, TUI rendering, analytics, and rollout tracing.
- Verify that terminal child errors do not emit completed activity.
GitOrigin-RevId: 6c71eb8b10e7327611c6af84f70e294e27d94d02
2026-08-24 17:07:21 +00:00
..
2026-08-12 19:43:32 +00:00
2026-07-13 09:40:51 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-04-20 15:37:31 -07:00
2026-04-20 15:37:31 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-08-24 17:07:21 +00:00
2026-03-28 11:23:07 -06:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-08-18 21:43:22 +00:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-08-17 19:11:34 +00:00
2026-04-28 12:52:25 -03:00
2026-04-27 03:43:53 +00:00
2026-03-28 11:23:07 -06:00
2026-06-05 08:32:07 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-03-28 11:23:07 -06:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-06-12 09:15:04 +09:00
2026-08-15 10:57:15 +00:00
2026-04-30 11:34:34 -07:00
2026-04-24 21:16:45 -07:00
2026-06-19 21:37:01 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-08-01 17:43:03 +00:00
2026-04-27 18:48:57 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-08-17 00:32:09 +00:00
2026-08-17 00:32:09 +00:00
2026-08-17 00:32:09 +00:00
2026-06-12 11:57:22 -07:00
2026-07-13 22:50:28 +00:00
2026-04-28 12:52:25 -03:00
2026-07-13 22:50:28 +00:00
2026-03-28 11:23:07 -06:00
2026-04-28 09:24:29 -07:00
2026-06-23 19:52:37 +00:00
2026-03-28 11:23:07 -06:00
2026-04-20 15:37:31 -07:00
2026-07-14 06:55:29 +00:00
2026-05-11 10:49:19 -07:00
2026-05-11 10:49:19 -07:00
2026-07-29 03:50:00 +00:00
2026-05-11 10:49:19 -07:00
2026-05-11 10:49:19 -07:00
2026-05-18 11:28:53 -07:00
2026-08-11 16:16:43 +00:00
2026-08-11 16:16:43 +00:00
2026-07-09 03:40:08 +00:00
2026-07-20 16:05:14 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-08-20 05:49:49 +00:00
2026-04-10 14:05:47 -07:00
2026-05-29 15:12:40 +00:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-07-17 19:58:56 +00:00
2026-04-10 14:05:47 -07:00
2026-07-14 16:29:54 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-01 14:48:22 -07:00
2026-03-28 11:23:07 -06:00
2026-04-24 21:16:45 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-07-19 19:44:10 +00:00
2026-07-19 19:44:10 +00:00
2026-07-19 19:44:10 +00:00
2026-07-22 15:41:47 +00:00
2026-07-17 23:14:37 +00:00
2026-03-28 11:23:07 -06:00
2026-07-06 16:33:13 -04:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-04-15 15:34:25 +01:00
2026-04-15 15:34:25 +01:00
2026-08-18 18:50:58 +00:00
2026-08-18 18:50:58 +00:00
2026-08-18 18:50:58 +00:00
2026-07-13 09:40:51 +00:00
2026-04-28 12:52:25 -03:00
2026-04-20 21:52:30 +00:00
2026-07-13 09:40:51 +00:00
2026-07-14 21:50:19 +00:00
2026-05-12 10:43:17 -03:00
2026-04-10 14:05:47 -07:00
2026-07-17 15:14:47 +00:00
2026-07-17 15:14:47 +00:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-05-12 10:43:17 -03:00
2026-08-23 07:24:57 +00:00
2026-08-23 07:24:57 +00:00
2026-04-19 14:01:58 -03:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-06-22 10:30:16 -07:00
2026-06-24 18:48:11 -07:00
2026-06-22 17:31:14 -07:00
2026-06-26 17:24:46 -04:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-04-28 12:52:25 -03:00
2026-04-30 10:25:07 -07:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-07-20 21:41:17 +00:00
2026-07-20 21:41:17 +00:00
2026-07-09 03:40:08 +00:00
2026-06-22 13:48:09 -07:00
2026-06-22 13:48:09 -07:00
2026-05-29 11:06:40 -07:00
2026-07-15 01:36:44 +00:00
2026-06-22 18:45:41 +00:00
2026-07-17 15:28:19 +00:00
2026-06-22 18:45:41 +00:00
2026-07-17 15:28:19 +00:00
2026-07-17 15:28:19 +00:00
2026-07-14 21:50:19 +00:00
2026-07-18 18:19:39 +00:00
2026-07-08 16:24:12 -07:00
2026-03-28 11:23:07 -06:00
2026-05-04 08:58:07 -07:00
2026-07-09 03:40:08 +00:00
2026-06-09 09:41:58 -07:00
2026-07-10 23:16:09 +00:00
2026-07-15 02:03:46 +00:00
2026-07-10 23:16:09 +00:00
2026-07-20 21:41:17 +00:00
2026-08-07 02:50:32 +00:00
2026-07-23 21:03:40 +00:00
2026-08-07 02:50:32 +00:00
2026-06-12 17:33:43 -07:00
2026-07-14 16:29:54 +00:00
2026-06-12 16:29:40 -07:00
2026-06-03 20:30:15 -03:00
2026-05-29 11:07:19 -07:00
2026-04-09 18:10:38 -03:00
2026-06-10 18:04:02 -07:00
2026-08-07 02:45:35 +00:00
2026-08-07 02:45:35 +00:00
2026-08-07 02:45:35 +00:00
2026-05-12 10:43:17 -03:00
2026-04-16 09:01:45 -07:00
2026-07-09 03:40:08 +00:00
2026-08-13 00:30:08 +00:00
2026-08-13 00:30:08 +00:00
2026-08-13 00:34:39 +00:00
2026-08-21 19:47:49 +00:00
2026-04-24 21:16:45 -07:00
2026-04-30 22:42:07 -07:00
2026-04-16 09:00:16 -07:00
2026-04-12 15:42:09 -07:00
2026-07-08 16:24:12 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-22 04:25:07 -07:00
2026-05-29 11:06:40 -07:00
2026-04-20 17:46:11 -07:00
2026-04-20 17:46:11 -07:00
2026-05-25 09:41:32 -07:00
2026-08-13 00:34:39 +00:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-08-20 07:17:31 +00:00
2026-08-24 02:46:56 +00:00
2026-05-13 15:33:27 +00:00
2026-05-13 15:33:27 +00:00
2026-05-13 15:33:27 +00:00
2026-05-25 09:41:32 -07:00
2026-08-13 00:34:39 +00:00
2026-05-29 11:09:40 -07:00
2026-07-08 12:29:21 -07:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-06-22 18:45:41 +00:00
2026-06-22 18:45:41 +00:00
2026-06-22 18:45:41 +00:00
2026-06-12 17:33:43 -07:00
2026-07-20 21:41:17 +00:00
2026-03-28 11:23:07 -06:00
2026-05-29 16:31:33 -07:00
2026-05-29 16:31:33 -07:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00