Pin GitHub workflows to rc.1 SDK (#871)
* Pin GitHub workflows to rc.1 SDK * Make src/* change to force PR tests * Add global.json to paths that trigger PR tests
This commit is contained in:
parent
2ec3ceba5c
commit
1f97301182
5 changed files with 13 additions and 12 deletions
3
.github/workflows/ci-build-test.yml
vendored
3
.github/workflows/ci-build-test.yml
vendored
|
|
@ -15,6 +15,7 @@ on:
|
|||
- "*.sln"
|
||||
- "*.props"
|
||||
- "Makefile"
|
||||
- "global.json"
|
||||
- "src/**"
|
||||
- "tests/**"
|
||||
- "samples/**"
|
||||
|
|
@ -43,7 +44,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
|
||||
|
|
|
|||
2
.github/workflows/ci-code-coverage.yml
vendored
2
.github/workflows/ci-code-coverage.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -23,13 +23,13 @@ public class HttpServerTransportOptions
|
|||
public Func<HttpContext, McpServer, CancellationToken, Task>? RunSessionHandler { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If <see langword="true"/>, 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 <see langword="true"/>, <see cref="RunSessionHandler"/> 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 <see langword="false"/>.
|
||||
/// </remarks>
|
||||
|
|
|
|||
Loading…
Reference in a new issue