Fix stdio client transport CLI argument escaping. #807
ci-build-test.yml
on: pull_request
Matrix: build
publish-coverage
/
publish-coverage
Annotations
10 errors and 2 notices
build (ubuntu-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: The server shut down unexpe"···
Not found: "864273f970f94c7082de1ad53a8d14da"
|
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
|
build (macos-latest, Debug)
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/Debug/net472', Native error= Success
|
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, Debug)
Process completed with exit code 1.
|
ModelContextProtocol.Tests.Transport.StdioClientTransportTests.CreateAsync_ValidProcessInvalidServer_StdErrCallbackInvoked:
/_/tests/ModelContextProtocol.Tests/Transport/StdioClientTransportTests.cs#L29
Assert.InRange() Failure: Value not in range
Range: (1 - 2147483647)
Actual: 0
|
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/Debug/net472', Native error= Success
|
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
|
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
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
testresults-macos-latest-Debug
|
1.95 MB |
sha256:155baa13e69e5fc850843b2838ddbdbc4b84b8c73ac52c2b3fd28ea38ca34d39
|
|
testresults-macos-latest-Release
|
1.76 MB |
sha256:f7cc602fa4231a4e15ac11dc74987a737c5370ba75d2d47ec23d558953c710f9
|
|
testresults-ubuntu-latest-Debug
|
1.92 MB |
sha256:f4ce91d217d476a7ae997300c31a27feaf616404a46735a6a74ec4c848773da9
|
|
testresults-ubuntu-latest-Release
|
1.73 MB |
sha256:303bea1c34587a20f63698440a6e7e8a4ce86829094e9d67eb04bd5a464ef034
|
|
testresults-windows-latest-Debug
|
1.94 MB |
sha256:72d2a7276a6c19d120b4e9a58a7c12d4103c797e6efd47fc61eb1ca904bf2af0
|
|
testresults-windows-latest-Release
|
1.74 MB |
sha256:cd3c0c31948a33db5d58ab97f4ae671d213c6de49043f3bbfab1c9a17896e5fd
|
|