From 3de5fa1fe150824ccd434b12cdf6193e3ca8fffa Mon Sep 17 00:00:00 2001 From: Ed Burns Date: Mon, 1 Jun 2026 23:43:29 -0700 Subject: [PATCH] java: disable ModeHandlersTest pending snapshot re-recording (#1547) The exit_plan_mode snapshot was recorded against CLI 1.0.55-5 and no longer matches the request patterns CLI 1.0.57 sends to the replay proxy, causing a 500 Proxy error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- java/src/test/java/com/github/copilot/ModeHandlersTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/test/java/com/github/copilot/ModeHandlersTest.java b/java/src/test/java/com/github/copilot/ModeHandlersTest.java index 62202c903..5128a31ac 100644 --- a/java/src/test/java/com/github/copilot/ModeHandlersTest.java +++ b/java/src/test/java/com/github/copilot/ModeHandlersTest.java @@ -13,6 +13,7 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import com.github.copilot.generated.ExitPlanModeAction; @@ -67,6 +68,7 @@ private void configureAuthenticatedUser(String testName) throws Exception { } @Test + @Disabled("Snapshot needs re-recording for CLI 1.0.57: https://github.com/github/copilot-sdk/issues/1547") void shouldInvokeExitPlanModeHandlerWhenModelUsesTool() throws Exception { final String summary = "Greeting file implementation plan"; configureAuthenticatedUser("should_invoke_exit_plan_mode_handler_when_model_uses_tool");