Skip to content

Fix stdio client transport CLI argument escaping. #788

Fix stdio client transport CLI argument escaping.

Fix stdio client transport CLI argument escaping. #788

Triggered via pull request September 22, 2025 15:53
Status Failure
Total duration 6m 55s
Artifacts 6

ci-build-test.yml

on: pull_request
Matrix: build
publish-coverage  /  publish-coverage
publish-coverage / publish-coverage
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 2 notices
build (macos-latest, Release)
Process completed with exit code 1.
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.EscapesCliArgumentsCorrectly(cliArgumentValue: "C:\\EndsWithBackslash\\"): /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L56
System.IO.IOException : Failed to connect transport. ---- System.ComponentModel.Win32Exception : ApplicationName='mono', CommandLine='TestServer.exe --cli-arg=C:\EndsWithBackslash\', CurrentDirectory='/Users/runner/work/csharp-sdk/csharp-sdk/artifacts/bin/ModelContextProtocol.Tests/Release/net472', Native error= Success
build (ubuntu-latest, Release)
Process completed with exit code 1.
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.EscapesCliArgumentsCorrectly(cliArgumentValue: "C:\\EndsWithBackslash\\"): /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L56
System.IO.IOException : Failed to connect transport. ---- System.ComponentModel.Win32Exception : ApplicationName='mono', CommandLine='TestServer.exe --cli-arg=C:\EndsWithBackslash\', CurrentDirectory='/home/runner/work/csharp-sdk/csharp-sdk/artifacts/bin/ModelContextProtocol.Tests/Release/net472', Native error= Success
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: The server shut down unexpe"··· Not found: "7a229e5830c14efa8606af541035a576"
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: The server shut down unexpe"··· Not found: "0837076f24344f12a76ace7bf8321f8b"
build (ubuntu-latest, Debug)
Process completed with exit code 1.
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: The server shut down unexpe"··· Not found: "0a3fdcba7a8b4e908938ae9ab16b6b32"
build (windows-latest, Debug)
Process completed with exit code 1.
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: MCP server process exited u"··· Not found: "a4d96116b5b243bb9d1197d078d717e3"
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: MCP server process exited u"┬╖┬╖┬╖ Not found: "00540f033d084d9585fb5e605a2dba9b"
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: MCP server process exited u"··· Not found: "2f35c882f02e4c6da23d62d70e53be1d"
build (windows-latest, Release)
Process completed with exit code 1.
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: MCP server process exited u"┬╖┬╖┬╖ Not found: "1aaa9007e7084c6f82495f8b8fc3856d"
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: MCP server process exited u"··· Not found: "0739a411022a44afbd51903bc855320d"
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_Throws: /_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L13
Assert.Contains() Failure: Sub-string not found String: "System.IO.IOException: MCP server process exited u"··· Not found: "96e5ea62d75d4a22aa9b44071bd21f5f"
build (windows-latest, Debug)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (windows-latest, Release)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
testresults-macos-latest-Debug
1.91 MB
sha256:c5b37697fe6717d3d79f9f2e7fe267bafe380487b2e387e4e488bb4f9cd11f1e
testresults-macos-latest-Release
1.7 MB
sha256:b7d7dd01824ae44eb1f167598d03ac3b2604d071e19c2883f851b12d2c165d88
testresults-ubuntu-latest-Debug
1.89 MB
sha256:94055ad8a389b1ecfa529fb5ccf9d1163ada92b3c9b1095cbda542a1fb5e8d46
testresults-ubuntu-latest-Release
1.69 MB
sha256:f698dafdecdb0af0f736e631efb36b01aa29d1eab4ba3e948e3afb5fd4893f4a
testresults-windows-latest-Debug
1.91 MB
sha256:beec3fa7091cae3874e02035adae4ac744cb8093dce9fbfa899693550378e972
testresults-windows-latest-Release
1.72 MB
sha256:8e8a5db04244a4d39ab3b14ff38b7bdd2d9c2d1aa85e7713e483888a8e53bd23