From 5c92bb3617e779bb0e4bfedf5f86983d81ea1bf6 Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Tue, 14 Oct 2025 19:29:24 -0700 Subject: [PATCH 1/3] Pin GitHub workflows to rc.1 SDK --- .github/workflows/ci-build-test.yml | 2 +- .github/workflows/ci-code-coverage.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-build-test.yml b/.github/workflows/ci-build-test.yml index dd648a6ca..17ddf9b77 100644 --- a/.github/workflows/ci-build-test.yml +++ b/.github/workflows/ci-build-test.yml @@ -43,7 +43,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x # NetFX testing on non-Windows requires mono diff --git a/.github/workflows/ci-code-coverage.yml b/.github/workflows/ci-code-coverage.yml index a7b42f466..e8ffbad2f 100644 --- a/.github/workflows/ci-code-coverage.yml +++ b/.github/workflows/ci-code-coverage.yml @@ -15,7 +15,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Download test results diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 871a2fbeb..63e0bbd9a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,7 +33,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Generate documentation diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbaae18ca..730b68791 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Build @@ -79,7 +79,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Pack @@ -108,7 +108,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: - dotnet-version: 10.0.x + dotnet-version: 10.0.100-rc.1.25451.107 - name: Download build artifacts uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 @@ -163,7 +163,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: - dotnet-version: 10.0.x + dotnet-version: 10.0.100-rc.1.25451.107 - name: Download build artifacts uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 From c44e420ec1eb8df5dd73b6984200237f52cb1ae9 Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Tue, 14 Oct 2025 19:29:58 -0700 Subject: [PATCH 2/3] Make src/* change to force PR tests --- .../HttpServerTransportOptions.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs b/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs index 8d71f5166..aa7659dc1 100644 --- a/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs +++ b/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs @@ -23,13 +23,13 @@ public class HttpServerTransportOptions public Func? RunSessionHandler { get; set; } /// - /// Gets or sets whether the server should run in a stateless mode that does not require all requests for a given session - /// to arrive to the same ASP.NET Core application process. + /// Gets or sets whether the server should run in a stateless mode which allows for load balancing without session affinity. /// /// - /// If , the "/sse" endpoint will be disabled, and client information will be round-tripped as part - /// of the "MCP-Session-Id" header instead of stored in memory. Unsolicited server-to-client messages and all server-to-client - /// requests are also unsupported, because any responses may arrive at another ASP.NET Core application process. + /// If , is called once for every request for each request, + /// the "/sse" endpoint will be disabled, and the "MCP-Session-Id" header will not be used. + /// Unsolicited server-to-client messages and all server-to-client requests are also unsupported, because any responses + /// may arrive at another ASP.NET Core application process. /// Client sampling and roots capabilities are also disabled in stateless mode, because the server cannot make requests. /// Defaults to . /// From 1c66f5984834c1ba1016d5c29bb8950b959db8d7 Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Tue, 14 Oct 2025 19:35:16 -0700 Subject: [PATCH 3/3] Add global.json to paths that trigger PR tests --- .github/workflows/ci-build-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-build-test.yml b/.github/workflows/ci-build-test.yml index 17ddf9b77..6bd40fc3d 100644 --- a/.github/workflows/ci-build-test.yml +++ b/.github/workflows/ci-build-test.yml @@ -15,6 +15,7 @@ on: - "*.sln" - "*.props" - "Makefile" + - "global.json" - "src/**" - "tests/**" - "samples/**"