From 3e34e688412ffed5c5d7d60c538ac48eace50d75 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 23:19:19 +0000 Subject: [PATCH 1/2] Initial plan From 6e3311c5e92a9873d95f58be7fa9834e199c7f19 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 23:31:07 +0000 Subject: [PATCH 2/2] fix: update test assertion to check run_ids_or_urls (plural) in audit error envelope Agent-Logs-Url: https://github.com/github/gh-aw/sessions/abb46bc1-7673-4b15-8206-4292d2bdf125 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/cli/mcp_server_error_codes_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/mcp_server_error_codes_test.go b/pkg/cli/mcp_server_error_codes_test.go index 0d3f0b7bba6..cd34eaae1df 100644 --- a/pkg/cli/mcp_server_error_codes_test.go +++ b/pkg/cli/mcp_server_error_codes_test.go @@ -194,8 +194,8 @@ func TestMCPServer_ErrorCodes_InternalError(t *testing.T) { if _, hasError := envelope["error"]; !hasError { t.Errorf("Expected 'error' field in audit JSON response, got: %s", textContent.Text) } - if _, hasRunID := envelope["run_id_or_url"]; !hasRunID { - t.Errorf("Expected 'run_id_or_url' field in audit JSON response, got: %s", textContent.Text) + if _, hasRunID := envelope["run_ids_or_urls"]; !hasRunID { + t.Errorf("Expected 'run_ids_or_urls' field in audit JSON response, got: %s", textContent.Text) } if _, hasSuggestions := envelope["suggestions"]; !hasSuggestions { t.Errorf("Expected 'suggestions' field in audit JSON response, got: %s", textContent.Text)