From 5a9eb145c4c05fcfc7158d7c25b80e1322eccae1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 10 Sep 2026 02:12:30 +0000 Subject: [PATCH] Update the forked-thread hook test to use `StartThreadOptions` (#44377) GitOrigin-RevId: 77403c44921352cc12eb41edc372e7ffaa54e236 --- codex-rs/core/tests/suite/hooks.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/codex-rs/core/tests/suite/hooks.rs b/codex-rs/core/tests/suite/hooks.rs index 2ea84ec832..9ec46330f7 100644 --- a/codex-rs/core/tests/suite/hooks.rs +++ b/codex-rs/core/tests/suite/hooks.rs @@ -1672,10 +1672,8 @@ print(json.dumps({"hookSpecificOutput": { .thread_manager .fork_thread( ForkSnapshot::TruncateBeforeNthUserMessage(1), - test.config.clone(), + StartThreadOptions::new(test.config.clone()), test.codex.rollout_path().expect("parent rollout path"), - /*thread_source*/ None, - /*parent_trace*/ None, ) .await? .thread;