Commit graph csharp-sdk/tests
Author SHA1 Message Date
Mackinnon Buck
cc6ef5b926
Hide experimental types from external source generators using internal property pattern (#1301) 2026-02-19 07:27:30 -08:00
Copilot
231e013160
Reduce flakiness in long-running stateless HTTP tool timeout test (#1300)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
2026-02-18 21:56:23 -08:00
Copilot
b967835144
Use TimeProvider in InMemoryMcpTaskStore for deterministic testing (#1303) 2026-02-18 21:47:31 -08:00
Copilot
5da0fe506f
Validate MCP-Protocol-Version header in Streamable HTTP handler (#1277)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2026-02-18 22:18:00 -05:00
Copilot
f3da4729f5
Avoid intermediate strings in MCP transport serialization (#1274)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
2026-02-18 13:01:56 -05:00
Copilot
a502efb703
Update tests for @modelcontextprotocol/server-everything 2026.1.26 (#1273)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-17 16:49:12 -08:00
Copilot
841e810167
Fix StdioServerTransport.DisposeAsync() hang: CancellableStdinStream missing Dispose override (#1276)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-17 16:00:12 -08:00
Copilot
186cb93630
Update McpErrorCode XML docs and fix error code usage to align with MCP spec (#1291)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-17 13:12:29 -08:00
Copilot
6fa8b50aff
Fix flaky sse-retry conformance test caused by CI timing sensitivity (#1279)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2026-02-17 13:05:31 -08:00
Copilot
2e17550303
Add X-Accel-Buffering header to SSE responses (#1294)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-17 16:03:10 -05:00
Copilot
4cef394ad5
Add serialization roundtrip tests for all Protocol namespace types (#1289)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-17 12:34:49 -08:00
Mike Kistler
da91b641cc
Unskip GetRequest_Receives_UnsolicitedNotifications test (#1286)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-16 08:18:34 -05:00
Copilot
fb2daf2f0d
Fix HttpClient timeout for long-running tools without event stream store (#1268)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
2026-02-14 10:19:53 -05:00
Copilot
ec2983b29f
Fix test for CannotAuthenticate when metadata is missing (#1266)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
2026-02-13 13:31:37 -05:00
Copilot
b8ae4fec2b
Add auth regression test for missing resource in PRM (#1265) 2026-02-13 09:26:00 -08:00
Copilot
53e9ed8f65
Log tool call name on success, not just failure (#1256) 2026-02-13 09:24:02 -08:00
Copilot
dbf91bcb1a
Change ProtectedResourceMetadata URI properties to strings and build resource strings directly (#1264)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
Co-authored-by: Stephen Halter <halter73@gmail.com>
2026-02-12 22:28:43 -05:00
Stephen Halter
b4c7ded398
Add tests to verify McpClient.DisposeAsync doesn't hang (#1252) 2026-02-12 22:26:30 -05:00
Stephen Toub
27b5eb8031
Bring up to 0.1.13 conformance (#1254) 2026-02-10 08:33:52 -08:00
Copilot
9c1538fd98
Add AOT compatibility publish test (#1246)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
2026-02-09 22:00:12 +02:00
Stephen Toub
0114de746e
Update to MCP conformance tests version 0.1.13 (#1249) 2026-02-05 21:18:47 -05:00
Stephen Halter
e55ae7b7bd
Use package-lock.json to pin conformance test dependencies (#1247) 2026-02-05 17:42:41 -08:00
Mackinnon Buck
d5c6b0d7f9
Add DistributedCacheEventStreamStore (#1136)
Co-authored-by: Stephen Halter <halter73@gmail.com>
2026-02-03 15:48:57 -08:00
Copilot
712068b161
Seal public Protocol reference types to prevent external inheritance (#1232)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-02 10:15:20 -05:00
Stephen Halter
7d48d3922c
Add support for message-level filters to McpServer (#1207) 2026-01-30 15:19:00 -08:00
Copilot
6224f30a33
Suppress TimeProvider.Testing net472 warning (#1227)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-30 14:56:45 -08:00
Copilot
6a4e4d27dc
Skip .NET Framework tests on non-Windows platforms (#1226)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-30 14:56:24 -08:00
Copilot
50d6d0b570
Fix XunitLoggerProvider crash when background work logs after test disposal (#1229)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-30 14:56:12 -08:00
Copilot
e47f88419c
Fix keyset pagination with monotonic UUIDv7-like task IDs (#1215)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2026-01-30 17:09:24 -05:00
Copilot
82bd98081d
Add test coverage for AdditionalHeaders in Streamable HTTP transport (#1218) 2026-01-30 14:07:49 -08:00
Copilot
a83d6198a5
Centralize test timeout constants to fix CI flakiness (#1224)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ericstj <8918108+ericstj@users.noreply.github.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2026-01-30 13:47:11 -08:00
Copilot
283caf9810
Fix race condition in AutomaticInputRequiredStatusTests polling logic (#1223)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ericstj <8918108+ericstj@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-30 15:21:28 -05:00
Copilot
8e57ac6b0e
Centralize test timeout constants to fix sporadic CI failures (#1210)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ericstj <8918108+ericstj@users.noreply.github.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2026-01-29 22:06:17 -05:00
Copilot
7c85ac6706
Include response body in HttpRequestException for transport client errors (#1193)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-29 17:23:21 -05:00
Copilot
482e311a70
Fix StdioServerTransportTests to use Debug logging level instead of Trace (#1209)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-29 17:20:52 -05:00
Copilot
ee8c485d41
Add Trace-level logging for JSON-RPC payloads in transports (#1191) 2026-01-29 11:26:33 -08:00
Stephen Toub
5b189aff0a
Fix Session_TracksActivities test (#1200) 2026-01-29 07:42:03 -08:00
Stephen Toub
e4692faeda
Remove 10 second wait from docker tests (#1188) 2026-01-29 07:36:54 -08:00
Eirik Tsarpalis
10e4f5b20f
Implement MCP task support (SEP-1686) (#1170)
Co-authored-by: Stephen Halter <halter73@gmail.com>
2026-01-27 19:21:02 -08:00
Stephen Halter
81664c3fce
Fix reserved expansion (e.g. "{+var}") when matching resources (#1142) 2026-01-27 17:23:31 -05:00
Mackinnon Buck
86bc96df46
Fix flaky test: Client_CanResumePostResponseStream_AfterDisconnection (#1179) 2026-01-27 11:41:55 -08:00
Eirik Tsarpalis
a1e9e4102e
Pin the MCP conformance tester package (#1176) 2026-01-26 22:35:31 +02:00
Copilot
46d30444a8
Fix ToJsonObject serialization failure with anonymous types and add support for custom JsonSerializerOptions (#1113)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2026-01-20 11:21:11 +02:00
Copilot
0585c27d53
Fix form mode elicitation schema check to apply for all form requests (#1151) 2026-01-19 21:26:28 -05:00
Copilot
4a3a17da19
Fix source generator diagnostic locations for incremental caching (#1153)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-19 09:37:15 -05:00
Copilot
774411b22c
Add 2025-11-25 as supported version (#1130)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-15 09:59:42 -05:00
Mackinnon Buck
b8311756b4
Streamable HTTP resumability + redelivery + SSE polling via server-side disconnect (#1077)
Co-authored-by: Stephen Halter <halter73@gmail.com>
2026-01-14 22:54:25 -08:00
Copilot
dada237416
Add comprehensive edge case tests for JSON-RPC payload shapes (#1143)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2026-01-14 14:26:18 +02:00
Copilot
d52a7b183d
Align telemetry with OpenTelemetry MCP semantic conventions (#1139)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-13 18:07:49 -08:00
Copilot
2bc105b612
Optimize JsonRpcMessage deserialization with single-pass parsing (#1138)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: scooletz <scooletz@gmail.com>
Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-01-13 11:55:49 -05:00