From 4e51bfbacc2d1fd9b479350859c6bba652f1e853 Mon Sep 17 00:00:00 2001 From: andrewgu-oai Date: Tue, 17 Nov 2026 21:27:36 +0000 Subject: [PATCH] Refresh tool hashes in core scenario snapshots (#62124) ## What changed Update the expected hashes for tool lists and incremental tool declarations across seven core scenario snapshots. The fixtures cover Code Mode, dynamic tools, and MCP discovery and sharing. GitOrigin-RevId: 8d69870b488dffc5a24afe0e1c8f522335b25105 --- ...stdio_stays_dormant_in_a_new_chat_until_first_use.snap | 2 +- ...s__command_sessions__command_sessions_world_state.snap | 4 ++-- ...pdate_preserves_pending_calls_and_survives_resume.snap | 4 ++-- ...ncremental_tools__prediction_fork_inherited_tools.snap | 8 ++++---- ...ace_prefixes__catalog_indirect_namespace_prefixes.snap | 8 ++++---- ...cp_keeps_tools_and_model_requested_input_per_chat.snap | 2 +- ...suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap | 8 ++++---- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap index f17f6708ab..d776f3c985 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap @@ -53,7 +53,7 @@ Settings: ## Window 2 (after request 3) Settings: relative to window 1 - tools (11; hash=82d35d01519a030e): + tools (11; hash=b70335ec6452062c): ~ namespace/mcp__cached_rmcp: Use the tools from live-helper.; hash=36249b57679444b8 - function/echo -- request 4 (request) -- diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap index bc0580d13b..24cd56d7e1 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap @@ -113,7 +113,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi 13:message/developer: This is an incremental tools update. Previously declared tools remain available for direct calls unless ...here, its latest definition replaces the earlier one. [hash=bceb65fad1afdf9c] -14:additional_tools/developer (1; hash=5313c72115e5e96e): +14:additional_tools/developer (1; hash=2a7a524a5c95d741): - namespace/functions; hash=429e5891e0f9c86b - custom/exec 15:message/developer: @@ -175,7 +175,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi 11:message/developer: This is an incremental tools update. Previously declared tools remain available for direct calls unless ...here, its latest definition replaces the earlier one. [hash=bceb65fad1afdf9c] -12:additional_tools/developer (1; hash=b762b19e2542cbbd): +12:additional_tools/developer (1; hash=fd836d9e37127de2): - namespace/functions; hash=04341bdad1d8e6f6 - custom/exec 13:message/developer: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap index 8f6bdfdfab..ed9a23ac85 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap @@ -50,7 +50,7 @@ Settings: ## Window 2 (after request 1) Settings: relative to window 1 - tools (10; hash=9a7d53c1c520c9d2): + tools (10; hash=7e8f038920b8f08a): - removed function/release + function/deployment: Check deployment.; args=[]; hash=2e9a71e9a20e43ad -- request 2 (turn) -- @@ -80,7 +80,7 @@ Settings: relative to window 1 ## Window 3 (after request 4) Settings: relative to window 2 - tools (9; hash=0fb40a4e6b518116): + tools (9; hash=9b8b6e1eb2dae92e): - removed function/deployment -- request 5 (turn) -- 00:message/developer: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap index aa156aa85d..8253f9d8fe 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap @@ -16,8 +16,8 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (1; hash=6cf87db6fcd5bb2a): - - namespace/functions; hash=629ab1760127fb86 +00:additional_tools/developer (1; hash=db5407962f84b284): + - namespace/functions; hash=42507901e1c84d86 - custom/exec - function/wait - function/request_user_input @@ -40,8 +40,8 @@ Settings: ## Window 2 (after request 2: input diverged at item 05) Settings: same as window 1 -- request 3 (turn) -- -00:additional_tools/developer (1; hash=6cf87db6fcd5bb2a): - - namespace/functions; hash=629ab1760127fb86 +00:additional_tools/developer (1; hash=db5407962f84b284): + - namespace/functions; hash=42507901e1c84d86 - custom/exec - function/wait - function/request_user_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap index 5fab84d525..1596fccb49 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap @@ -15,8 +15,8 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (4; hash=c796abe97fb0c85f): - - custom/exec: Exec guidance. Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided Ja...; hash=02a2235ae8312a36 + tools (4; hash=3d58097fa37447f7): + - custom/exec: Exec guidance. Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided Ja...; hash=4bcf84c8dca427a8 - function/wait: Waits on a yielded `exec` cell and returns new output or completion. - Use `wait` only after `exe...; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=6692d8f6c55be489 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - web_search; hash=e214d4db1bc49e89 @@ -49,8 +49,8 @@ Settings: ## Window 2 (after request 2) Settings: relative to window 1 model: "prefixes-cleared" - tools (4; hash=6fa40b9ef6dec575): - ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=e5e9b506369d4478 + tools (4; hash=ed90d9cc94ab1f37): + ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=c9e960ab9bd58048 -- request 3 (turn) -- 00:message/developer: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap index 03245af7eb..cdc169d2f5 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap @@ -50,7 +50,7 @@ Settings: ## Window 2 (after request 2: input diverged at item 03) Settings: relative to window 1 prompt_cache_key: "" - tools (11; hash=8ae7b46a9664795a): + tools (11; hash=2c008bdfc102c512): ~ namespace/mcp__shared: Use these tools to exercise the rmcp test server.; hash=a9e155b340098fac - function/echo_tool -- request 3 (turn; joiner) -- diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap index bdb30117a9..03fab5b21f 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap @@ -15,8 +15,8 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (4; hash=321a3b0048db2fcd): - - custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=22aec08b348144de + tools (4; hash=6fd6831260e9aeab): + - custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=e87f010121adc11e - function/wait: Waits on a yielded `exec` cell and returns new output or completion. - Use `wait` only after `exe...; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=6692d8f6c55be489 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - web_search; hash=e214d4db1bc49e89 @@ -32,8 +32,8 @@ Settings: ## Window 2 (after request 1) Settings: relative to window 1 - tools (4; hash=9ccf358066f6d3d5): - ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=f0b18dfeab5f1e28 + tools (4; hash=e522c28b520cf5a3): + ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=8e964d0ee2cee2e0 -- request 2 (request) -- 00:message/developer: