Skip to content

Conversation

@SteveSandersonMS
Copy link
Contributor

We had some orphaned snapshots, particularly for ask and query (those APIs were removed).

@SteveSandersonMS SteveSandersonMS requested a review from a team as a code owner January 19, 2026 18:03
Copilot AI review requested due to automatic review settings January 19, 2026 18:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR cleans up test snapshots by removing orphaned snapshots for the deprecated ask and query APIs, and updating remaining snapshots to reflect current system behavior.

Changes:

  • Removed 7 orphaned snapshot files for removed ask and query APIs
  • Updated 6 snapshot files to reflect current assistant responses and tool call behaviors
  • Simplified duplicate test conversations in the tools snapshot

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/snapshots/query/should_support_resume_option_for_multi_turn_conversations.yaml Deleted orphaned snapshot for removed query API
test/snapshots/query/should_stream_events_and_return_assistant_message.yaml Deleted orphaned snapshot for removed query API
test/snapshots/permissions/should_invoke_permission_handler_for_shell_commands.yaml Deleted orphaned snapshot
test/snapshots/customagents/accept_custom_agent_config_on_resume.yaml Deleted orphaned snapshot
test/snapshots/combinedconfiguration/accept_mcp_servers_and_custom_agents.yaml Deleted orphaned snapshot
test/snapshots/ask/should_return_assistant_message_content.yaml Deleted orphaned snapshot for removed ask API
test/snapshots/ask/should_invoke_onevent_callback_for_each_event.yaml Deleted orphaned snapshot for removed ask API
test/snapshots/tools/invokes_built_in_tools.yaml Removed duplicate conversation and simplified structure
test/snapshots/permissions/should_resume_session_with_permission_handler.yaml Updated assistant responses and function argument ordering
test/snapshots/permissions/should_invoke_permission_handler_for_write_operations.yaml Added intermediate assistant content messages
test/snapshots/permissions/should_handle_permission_handler_errors_gracefully.yaml Updated function argument descriptions
test/snapshots/permissions/permission_handler_for_shell_commands.yaml Updated test command and added detailed output explanation
test/snapshots/permissions/async_permission_handler.yaml Refined assistant response wording

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SteveSandersonMS SteveSandersonMS added this pull request to the merge queue Jan 20, 2026
Merged via the queue into main with commit 24724f7 Jan 20, 2026
22 checks passed
@SteveSandersonMS SteveSandersonMS deleted the stevesa/update-e2e-snapshots branch January 20, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants