diff --git a/codex-rs/hooks/src/events/interrupt.rs b/codex-rs/hooks/src/events/interrupt.rs index 14e7eb5919..741fc08f29 100644 --- a/codex-rs/hooks/src/events/interrupt.rs +++ b/codex-rs/hooks/src/events/interrupt.rs @@ -194,7 +194,11 @@ mod tests { #[test] fn empty_stdout_succeeds() { - let parsed = parse_completed(&handler(), run_result(Some(0), "", ""), None); + let parsed = parse_completed( + &handler(), + run_result(Some(0), "", ""), + /*turn_id*/ None, + ); assert_eq!(parsed.data, InterruptHandlerData); assert_eq!(parsed.completed.run.status, HookRunStatus::Completed); diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events.snap index b554f54554..740b582308 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events.snap @@ -17,6 +17,6 @@ expression: "render_lines(&view, 112)" SubagentStart 0 0 When a subagent is created SubagentStop 0 0 Right before a subagent ends its turn Stop 0 0 Right before Codex ends its turn - Interrupt 0 0 Right before an interrupted turn is aborted + Interrupt 0 0 Right before an interrupted turn is aborted Press enter to view hooks; esc to close diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_issues.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_issues.snap index 9d481f3682..ea2c47e336 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_issues.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_issues.snap @@ -21,6 +21,6 @@ expression: "render_lines(&view, 112)" SubagentStart 0 0 When a subagent is created SubagentStop 0 0 Right before a subagent ends its turn Stop 0 0 Right before Codex ends its turn - Interrupt 0 0 Right before an interrupted turn is aborted + Interrupt 0 0 Right before an interrupted turn is aborted Press enter to view hooks; esc to close diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_review_column.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_review_column.snap index e8ad7105ca..63cacc7714 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_review_column.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_events_with_review_column.snap @@ -19,6 +19,6 @@ expression: "render_lines(&view, 112)" SubagentStart 0 0 0 When a subagent is created SubagentStop 0 0 0 Right before a subagent ends its turn Stop 0 0 0 Right before Codex ends its turn - Interrupt 0 0 0 Right before an interrupted turn is aborted + Interrupt 0 0 0 Right before an interrupted turn is aborted Press t to trust all; enter to review hooks; esc to close