Abhinav
d55479488e
Clear live hook rows when turns finalize ( #20674 )
...
# Why
When a user interrupts a turn while a hook is still running, the normal
turn status is cleared but the separate live hook row can remain visible
as `Running` because the TUI may never receive a matching
`HookCompleted` event before cancellation. Once the turn itself is
finalized, that turn-scoped live state should not remain on screen.
# What
- clear any still-live `active_hook_cell` during turn finalization
- add a regression snapshot covering an interrupted turn with a visible
`PreToolUse` hook row
# Testing
- `cargo test -p codex-tui interrupted_turn_clears_visible_running_hook`
- attempted `cargo test -p codex-tui` (currently aborts on unrelated
existing stack overflow in
`app::tests::discard_side_thread_removes_agent_navigation_entry`)
History
..
2026-05-01 11:26:29 -07:00
2026-03-28 11:23:07 -06:00
2026-05-01 09:39:48 -07:00
2026-05-01 14:48:22 -07:00
2026-05-01 09:07:56 -07:00
2026-05-01 09:07:56 -07:00
2026-05-01 09:39:48 -07:00
2026-04-30 17:20:51 -07:00
2026-04-21 17:10:36 +00:00
2026-05-01 09:07:56 -07:00
2026-04-07 08:03:35 -07:00
2026-04-30 22:42:48 -07:00
2026-05-01 15:22:02 -03:00
2026-04-30 19:02:34 +00:00
2026-04-25 22:00:32 -03:00
2026-04-28 08:51:44 -07:00
2026-04-30 11:34:34 -07:00
2026-04-30 11:34:34 -07:00
2026-04-30 11:34:34 -07:00
2026-04-30 11:34:34 -07:00
2026-05-01 11:26:29 -07:00
2026-04-30 11:34:34 -07:00
2026-05-01 17:46:02 +02:00
2026-04-30 17:20:51 -07:00
2026-04-30 10:52:19 -07:00
2026-04-13 18:27:00 -07:00
2026-04-10 20:25:31 -07:00
2026-04-30 11:34:34 -07:00
2026-05-01 14:48:22 -07:00
2026-04-20 16:12:17 -07:00
2026-04-09 18:10:38 -03:00
2026-03-28 11:23:07 -06:00
2026-04-29 17:22:41 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 17:20:51 -07:00
2026-04-25 22:00:32 -03:00
2026-04-30 11:34:34 -07:00
2026-04-30 10:52:19 -07:00
2026-04-30 11:34:34 -07:00
2026-03-28 11:23:07 -06:00
2026-04-17 17:58:32 -07:00
2026-04-29 00:45:24 +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-04-30 22:42:07 -07:00
2026-05-01 09:07:56 -07:00
2026-05-01 09:39:48 -07:00
2026-04-25 22:00:32 -03:00
2026-04-30 17:20:51 -07:00
2026-05-01 15:22:02 -03:00
2026-05-01 15:22:02 -03:00
2026-05-01 09:39:48 -07:00
2026-03-28 11:23:07 -06:00
2026-04-13 18:27:00 -07:00
2026-04-21 22:33:24 -07:00
2026-04-30 11:34:34 -07:00
2026-04-27 13:40:46 -07:00
2026-04-27 13:40:46 -07:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-04-19 22:39:53 -07:00
2026-04-29 17:22:41 -07:00
2026-04-25 22:00:32 -03:00
2026-05-01 09:07:56 -07:00
2026-04-30 11:34:34 -07:00
2026-04-25 17:09:29 -07:00
2026-04-10 20:25:31 -07:00
2026-04-30 11:34:34 -07:00
2026-04-30 11:34:34 -07:00
2026-04-25 22:00:32 -03:00
2026-04-30 11:34:34 -07:00
2026-03-28 11:23:07 -06:00
2026-04-10 20:25:31 -07:00
2026-04-30 10:52:19 -07:00
2026-04-30 10:52:19 -07:00
2026-03-28 11:23:07 -06:00
2026-04-20 20:46:55 -07:00
2026-05-01 09:39:48 -07:00
2026-05-01 09:07:56 -07:00
2026-03-28 11:23:07 -06:00
2026-04-13 18:27:00 -07:00
2026-04-17 08:39:37 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 11:34:34 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 22:42:48 -07:00
2026-04-30 10:52:19 -07:00
2026-04-20 00:37:40 +00:00
2026-04-25 22:00:32 -03:00
2026-04-30 17:20:51 -07:00
2026-03-28 11:23:07 -06:00
2026-04-27 23:33:59 -07:00
2026-04-25 22:00:32 -03:00
2026-04-25 17:09:29 -07:00
2026-04-25 17:09:29 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 11:34:34 -07:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00