Skip to content

Fix and enhance cancellation operations across MCP Sessions. #505

Fix and enhance cancellation operations across MCP Sessions.

Fix and enhance cancellation operations across MCP Sessions. #505

Triggered via pull request April 7, 2025 19:08
Status Failure
Total duration 5m 26s
Artifacts 6

ci.yml

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

Annotations

18 errors
build (macos-latest, Debug)
Process completed with exit code 1.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
build (macos-latest, Release)
Process completed with exit code 1.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
build (ubuntu-latest, Release)
Process completed with exit code 1.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
build (ubuntu-latest, Debug)
Process completed with exit code 1.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
build (windows-latest, Release)
Process completed with exit code 1.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
build (windows-latest, Debug)
Process completed with exit code 1.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.
ModelContextProtocol.Tests.Server.McpServerTests.NotifyCancel_Should_Be_Handled: /_/tests/ModelContextProtocol.Tests/Server/McpServerTests.cs#L736
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.TimeoutException) Actual: typeof(System.AggregateException) ---- System.AggregateException : One or more errors occurred. (The sender of a notification shouldn't handle the notification.) -------- System.InvalidOperationException : The sender of a notification shouldn't handle the notification.

Artifacts

Produced during runtime
Name Size Digest
testresults-macos-latest-Debug Expired
719 KB
sha256:70d44fc7756ebdf1b1c336bf014e7628408240579dab7dbbcb22e58312e8867f
testresults-macos-latest-Release Expired
674 KB
sha256:1fa176cef11b958219de899108907891c98a22ec7d9d47816610ae3e588f6134
testresults-ubuntu-latest-Debug Expired
699 KB
sha256:04fa29f779cda1980d8e878944918aef8cf613aacf2d778449b268e245494d4d
testresults-ubuntu-latest-Release Expired
678 KB
sha256:dfe6c56c0652a51580afd9b8f6eae352ba226a3973b3c85438ed69b8d878934f
testresults-windows-latest-Debug Expired
832 KB
sha256:b5c4c09fdf5b413da2d4f140c08117863936565b30ba2310d48491c822bba175
testresults-windows-latest-Release Expired
786 KB
sha256:c9ecf863ed4c72dc14db4cd13b2922da426d90142725a5da69362b0abff975ad