Skip to content

Commit 57cca95

Browse files
authored
Merge branch 'main' into copilot/capture-tool-call-name-logging
2 parents b20d1f2 + 5385c0d commit 57cca95

File tree

184 files changed

+3125
-1325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+3125
-1325
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ updates:
4343
- dependency-name: "Microsoft.IdentityModel.*"
4444
- dependency-name: "Microsoft.Bcl.*"
4545
- dependency-name: "Microsoft.SourceLink.*"
46+
# Ignore Roslyn/CodeAnalysis dependencies to maintain VS 2022 compatibility
47+
- dependency-name: "Microsoft.CodeAnalysis.*"
4648
# Ignore all System product dependencies except those explicitly in testing groups
4749
- dependency-name: "System.Diagnostics.*"
4850
- dependency-name: "System.IO.*"

.github/workflows/ci-build-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
4242

4343
- name: 🔧 Set up .NET
44-
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
44+
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
4545
with:
4646
dotnet-version: |
4747
10.0.x
@@ -67,6 +67,9 @@ jobs:
6767
- name: 📦 Install dependencies for tests
6868
run: npm install @modelcontextprotocol/server-memory
6969

70+
- name: 📦 Install dependencies for tests
71+
run: npm install @modelcontextprotocol/conformance
72+
7073
- name: 🏗️ Build
7174
run: make build CONFIGURATION=${{ matrix.configuration }}
7275

.github/workflows/ci-code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
1414
- name: Setup .NET
15-
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
15+
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
1616
with:
1717
dotnet-version: |
1818
10.0.x

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/[email protected]
1515

1616
- name: Install .NET SDK
17-
uses: actions/setup-dotnet@v5
17+
uses: actions/setup-dotnet@v5.0.1
1818
with:
1919
global-json-file: global.json
2020

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
3131

3232
- name: .NET Setup
33-
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
33+
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
3434
with:
3535
dotnet-version: |
3636
10.0.x

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
5151

5252
- name: Set up .NET
53-
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
53+
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
5454
with:
5555
dotnet-version: |
5656
10.0.x
@@ -76,7 +76,7 @@ jobs:
7676
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
7777

7878
- name: Setup .NET
79-
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
79+
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
8080
with:
8181
dotnet-version: |
8282
10.0.x
@@ -106,7 +106,7 @@ jobs:
106106
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
107107

108108
- name: Setup .NET
109-
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
109+
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
110110
with:
111111
dotnet-version: 10.0.x
112112

@@ -161,7 +161,7 @@ jobs:
161161
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
162162

163163
- name: Setup .NET
164-
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
164+
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
165165
with:
166166
dotnet-version: 10.0.x
167167

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
</PropertyGroup>
1212

1313
<PropertyGroup>
14+
<!-- This works around issues with dotnet test which are fixed in https://github.com/dotnet/sdk/pull/51794 -->
15+
<!-- It can be safely removed once .NET SDK 10.0.101 is out and is used in the repo -->
16+
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
17+
1418
<RepoRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</RepoRoot>
1519
<ArtifactsDir Condition="'$(ArtifactsDir)' == ''">$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts'))</ArtifactsDir>
1620
<ArtifactsObjDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'obj'))</ArtifactsObjDir>

Directory.Packages.props

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
6565
<PrivateAssets>all</PrivateAssets>
6666
</PackageVersion>
67-
<PackageVersion Include="GitHubActionsTestLogger" Version="2.4.1" />
6867
<PackageVersion Include="Microsoft.Extensions.AI.OpenAI" Version="10.0.0-preview.1.25559.3" />
6968
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="$(System10Version)" />
7069
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="$(System10Version)" />
@@ -80,14 +79,14 @@
8079
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.14.0" />
8180
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.14.0" />
8281
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.14.0" />
83-
<PackageVersion Include="Serilog.Extensions.Hosting" Version="9.0.0" />
84-
<PackageVersion Include="Serilog.Extensions.Logging" Version="9.0.2" />
82+
<PackageVersion Include="Serilog.Extensions.Hosting" Version="10.0.0" />
83+
<PackageVersion Include="Serilog.Extensions.Logging" Version="10.0.0" />
8584
<PackageVersion Include="Serilog.Sinks.Console" Version="6.1.1" />
8685
<PackageVersion Include="Serilog.Sinks.Debug" Version="3.0.0" />
8786
<PackageVersion Include="Serilog.Sinks.File" Version="7.0.0" />
8887
<PackageVersion Include="Serilog" Version="4.3.0" />
8988
<PackageVersion Include="System.Linq.AsyncEnumerable" Version="$(System10Version)" />
90-
<PackageVersion Include="xunit.v3" Version="3.2.0" />
89+
<PackageVersion Include="xunit.v3" Version="3.2.1" />
9190
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
9291
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
9392
<PackageVersion Include="JsonSchema.Net" Version="7.4.0" />

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ test: build
2525
--blame-hang-timeout 7m \
2626
--diag "$(ARTIFACT_PATH)/diag.txt" \
2727
--logger "trx" \
28-
--logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true" \
2928
--collect "XPlat Code Coverage" \
3029
--results-directory $(ARTIFACT_PATH)/testresults \
3130
-- \

ModelContextProtocol.slnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
<Folder Name="/tests/">
7171
<Project Path="tests/ModelContextProtocol.Analyzers.Tests/ModelContextProtocol.Analyzers.Tests.csproj" />
7272
<Project Path="tests/ModelContextProtocol.AspNetCore.Tests/ModelContextProtocol.AspNetCore.Tests.csproj" />
73+
<Project Path="tests/ModelContextProtocol.ConformanceServer/ModelContextProtocol.ConformanceServer.csproj" />
7374
<Project Path="tests/ModelContextProtocol.TestOAuthServer/ModelContextProtocol.TestOAuthServer.csproj" />
7475
<Project Path="tests/ModelContextProtocol.Tests/ModelContextProtocol.Tests.csproj" />
7576
<Project Path="tests/ModelContextProtocol.TestServer/ModelContextProtocol.TestServer.csproj" />

0 commit comments

Comments
 (0)