Conversation
|
Duslerke
reviewed
Sep 10, 2026
| <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.3" /> | ||
| <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" /> | ||
| <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.10" /> | ||
| <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.22.0" /> |
Contributor
There was a problem hiding this comment.
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.22.0" />
What is added this for?
| <PackageReference Include="Moq" Version="4.18.4" /> | ||
| <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.1.3" /> | ||
| <PackageReference Include="Newtonsoft.Json" Version="13.0.4" /> | ||
| <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.22.0" /> |
Contributor
There was a problem hiding this comment.
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.22.0" />
And this
Comment on lines
+10
to
+11
| // Keep IWebHostBuilder so WebApplicationFactory uses the same host path as before the upgrade. | ||
| #pragma warning disable ASPDEPR008 |
Contributor
There was a problem hiding this comment.
We should not be suppressing warnings, we should be addressing them.
Comment on lines
+37
to
+43
| <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.22.0" /> | ||
| <PackageReference Include="Newtonsoft.Json" Version="13.0.4" /> | ||
| <PackageReference Include="Swashbuckle.AspNetCore" Version="5.4.1" /> | ||
| <PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="5.4.1" /> | ||
| <PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="5.4.1" /> | ||
| <PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.5.0" /> | ||
| <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.1.3" /> | ||
| <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.22.0" /> |
Contributor
There was a problem hiding this comment.
Why are we adding the Microsoft.IdentityModel.JsonWebTokens and System.IdentityModel.Tokens.Jwt packages?
Contributor
|
Couple of comments:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Dotnet upgrade agent workflow.
This pull request was produced by the automated dotnet10-upgrader loop (Cursor engineering-implementation-loop). Review the diff and check CI against the test status stated below before merging.
Describe this PRAutomated upgrade of this repository to .NET 10 (LTS), opened by the dotnet10-upgrader loop.
What is the problem we're trying to solve?This repository targeted a .NET release older than .NET 10 (LTS); this PR moves it onto the current LTS so it stays in support.
What changes have we introduced?Target frameworks (and
global.json, if present) moved tonet10.0, NuGet references updated to net10.0-compatible stable versions, and the resulting build/test breaks fixed.dotnet buildpasses. 14 test(s) were already failing on the base branch before this change and still fail, unchanged; no test that was passing now fails — the loop opens no PR otherwise. Every version move below is derived from the diff itself.Dependency and package reasoning
Version moves below are read from the staged diff, not from the agent's report; only the reason column is agent-authored.
Microsoft.AspNetCore.Mvc.Testing6.0.1110.0.10ContractsApi.Tests/ContractsApi.Tests.csprojMicrosoft.EntityFrameworkCore.SqlServer3.1.3ContractsApi.Tests/ContractsApi.Tests.csprojMicrosoft.NET.Test.Sdk15.9.017.14.1ContractsApi.Tests/ContractsApi.Tests.csprojNpgsql.EntityFrameworkCore.PostgreSQL3.1.3ContractsApi.Tests/ContractsApi.Tests.csprojMicrosoft.IdentityModel.JsonWebTokens8.22.0ContractsApi.Tests/ContractsApi.Tests.csprojNewtonsoft.Json13.0.4ContractsApi.Tests/ContractsApi.Tests.csprojSystem.IdentityModel.Tokens.Jwt8.22.0ContractsApi.Tests/ContractsApi.Tests.csprojAmazon.Lambda.AspNetCoreServer5.1.110.2.1ContractsApi/ContractsApi.csprojAWSXRayRecorder.Handlers.EntityFramework1.1.0ContractsApi/ContractsApi.csprojMicrosoft.AspNetCore.HealthChecks1.0.0ContractsApi/ContractsApi.csprojMicrosoft.EntityFrameworkCore.SqlServer3.1.3ContractsApi/ContractsApi.csprojNpgsql.EntityFrameworkCore.PostgreSQL3.1.3ContractsApi/ContractsApi.csprojMicrosoft.IdentityModel.JsonWebTokens8.22.0ContractsApi/ContractsApi.csprojNewtonsoft.Json13.0.4ContractsApi/ContractsApi.csprojSystem.IdentityModel.Tokens.Jwt8.22.0ContractsApi/ContractsApi.csprojFramework, SDK, and base-image moves
ContractsApi.Tests/ContractsApi.Tests.csproj:net8.0→net10.0ContractsApi/ContractsApi.csproj:net8.0→net10.0mcr.microsoft.com/dotnet/sdkinContractsApi.Tests/Dockerfile:8.0→10.0mcr.microsoft.com/dotnet/sdkinContractsApi/Dockerfile:8.0→10.0Agent run summary
dotnet buildpassed;dotnet teststill reports the 14 failure(s) that were already failing on the base branch, and no others.PASS, upgradeSUCCESS, after 2 writer round(s).dotnet --info — SDK 10.0.302 / runtime 10.0.10; log RUN_DIR/dotnet-info.txtdotnet build ContractsApi.sln (pre-edit) — succeeded, 0 errors; log RUN_DIR/baseline-build.logdotnet test ContractsApi.sln (pre-edit) — 48 tests, 34 passed, 14 failed; log RUN_DIR/baseline-test.logdotnet build ContractsApi.sln (round 1) — succeeded, 0 errors; log RUN_DIR/round-1-build.logdotnet test ContractsApi.sln (round 1) — 48 tests, 34 passed, 14 failed with X-Ray EntityNotAvailableException (later fixed); log RUN_DIR/round-1-test.logdotnet restore --force ContractsApi.sln (round 2) — succeeded; log RUN_DIR/round-2-restore.logdotnet list ContractsApi/ContractsApi.csproj package --vulnerable --include-transitive — no vulnerable packages; log RUN_DIR/round-2-vulnerable.logdotnet build ContractsApi.sln (round 2) — succeeded, 0 errors, 2 NetAnalyzers version warnings; log RUN_DIR/round-2-build.logdotnet test ContractsApi.sln (round 2) — Failed 14, Passed 34, Total 48, Duration 31s; same 14 DynamoDbGatewayTests names and IAM/WebHost signature as baseline; log RUN_DIR/round-2-test.logdotnet publish ContractsApi/ContractsApi.csproj -c Release -f net10.0 — succeeded; log RUN_DIR/round-2-publish.logContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.ApprovalStatusStoredAndRetrievedCorrectlyContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.ApprovalStatusStoredAsStringInDynamoDbContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.GetContractByIdReturnsContractIfItExistsContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.GetContractByIdReturnsNullIfNoContractFoundContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.GetContractsByTargetIdReturnsContractsIfFoundContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.GetContractsByTargetIdReturnsEmptyIfNoRecordsContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.GetContractsByTargetIdReturnsMultiplePagesOfRecordsContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.GetContractsByTargetIdReturnsNoPaginationTokenIfPageSizeEqualsRecordCountContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.PatchContractReturnsNullIfContractNotFoundContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.PatchContractSuccessfullyUpdatesAContractContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.PatchContractThrowsConflictVersionErrorContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.PatchContractThrowsDatesErrorContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.PatchContractThrowsDatesErrorWhenStartDateIsNullContractsApi.Tests.V1.Gateways.DynamoDbGatewayTests.PostNewContractAsyncAddsContractToDatabasework/runs/contracts-api-20260909-062518/round-2-vulnerable.logContractsApi/ContractsApi.csprojContractsApi/build.shThe agent's own summary of the run, quoted verbatim (untrusted repo output):
ChecklistFollow up actions after merging PRNone.