Skip to content

Commit 920eb52

Browse files
stephentoubCopilot
andcommitted
Skip in-process Java E2E suites blocked by CLI 1.0.81-2
@github/copilot 1.0.81-2 never completes a model-driven turn when the runtime is hosted in-process, so every suite that sends a prompt times out. The Java in-process job reported 94 Timeout errors across 20 classes; with surefire's 3x retry at a 60s timeout that job ran for ~284 minutes before failing, against ~8 minutes on main. Exclude the affected classes from the `inprocess` profile only. The stdio-based `Java SDK Tests` jobs still run all of them, so no suite loses coverage outright. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 812b44f2-ef93-4b32-b051-c7092f612279
1 parent c4e4912 commit 920eb52

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

java/sdk/pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,44 @@ did not produce the multi-release output. Re-build on JDK 25+ and verify the
629629
<skipTests>false</skipTests>
630630
<forkCount>1</forkCount>
631631
<parallel>none</parallel>
632+
<!--
633+
TODO(cli-1.0.81-2): @github/copilot 1.0.81-2 never
634+
completes a model-driven turn when the runtime is hosted
635+
in-process against the CAPI backend, so every test that
636+
sends a prompt times out. A full run produced 94 errors,
637+
all Timeout, and took ~284 minutes because surefire
638+
retries each one three times at 60s.
639+
640+
The defect is transport-and-backend specific: in-process
641+
against a BYOK backend is unaffected, and these same
642+
classes pass over stdio in the java-sdk job. Pure-RPC
643+
in-process coverage below still runs, which is what keeps
644+
the FFI host itself under test.
645+
646+
Delete this list once a fixed CLI build is picked up.
647+
-->
648+
<excludes>
649+
<exclude>**/AskUserTest.java</exclude>
650+
<exclude>**/CompactionTest.java</exclude>
651+
<exclude>**/CopilotSessionTest.java</exclude>
652+
<exclude>**/ErrorHandlingTest.java</exclude>
653+
<exclude>**/EventFidelityTest.java</exclude>
654+
<exclude>**/ExecutorWiringTest.java</exclude>
655+
<exclude>**/HooksTest.java</exclude>
656+
<exclude>**/McpAndAgentsTest.java</exclude>
657+
<exclude>**/PermissionsTest.java</exclude>
658+
<exclude>**/PreMcpToolCallHookTest.java</exclude>
659+
<exclude>**/RpcServerE2ETest.java</exclude>
660+
<exclude>**/RpcSessionStateExtrasE2ETest.java</exclude>
661+
<exclude>**/SessionConfigE2ETest.java</exclude>
662+
<exclude>**/SessionEventsE2ETest.java</exclude>
663+
<exclude>**/SessionTodosChangedTest.java</exclude>
664+
<exclude>**/SkillsTest.java</exclude>
665+
<exclude>**/StreamingFidelityTest.java</exclude>
666+
<exclude>**/SubagentHooksE2ETest.java</exclude>
667+
<exclude>**/ToolResultsTest.java</exclude>
668+
<exclude>**/ToolsTest.java</exclude>
669+
</excludes>
632670
<environmentVariables>
633671
<COPILOT_SDK_DEFAULT_CONNECTION>inprocess</COPILOT_SDK_DEFAULT_CONNECTION>
634672
</environmentVariables>

0 commit comments

Comments
 (0)