-
Notifications
You must be signed in to change notification settings - Fork 2
Aspire 13.1.0, .NET 10 support, and TUnit migration #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
066a011
chore: update to Aspire 13.1, .NET 10, and LocalStack 4.12.0
Blind-Striker 1154b5f
test: migrate from xUnit v3 to TUnit v1.5.70
Blind-Striker 817d6c2
fix(ci): use --project flag for Microsoft.Testing.Platform compatibility
Blind-Striker d25a5ae
fix(ci): use --project flag in test runners for TUnit compatibility
Blind-Striker 797abf9
fix: resolve TUnit [NotInParallel] constraint hang on Linux
Blind-Striker 2ed404e
refactor: improve health check reliability and test code quality
Blind-Striker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,6 +41,7 @@ jobs: | |
| dotnet-version: | | ||
| 8.0.x | ||
| 9.0.x | ||
| 10.0.x | ||
|
|
||
| - name: "Cache NuGet packages" | ||
| uses: actions/cache@v4 | ||
|
|
||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,60 +1,55 @@ | ||
| <Project> | ||
| <ItemGroup> | ||
| <!-- third-party analyzers --> | ||
| <PackageVersion Include="Meziantou.Analyzer" Version="2.0.238"/> | ||
| <PackageVersion Include="Meziantou.Analyzer" Version="2.0.261"/> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="4.14.0"/> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0"/> | ||
| <PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.101"/> | ||
| <PackageVersion Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15"/> | ||
| <PackageVersion Include="Roslynator.Analyzers" Version="4.14.1"/> | ||
| <PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.14.1"/> | ||
| <PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.14.1"/> | ||
| <PackageVersion Include="Roslynator.Analyzers" Version="4.15.0"/> | ||
| <PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.15.0"/> | ||
| <PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.15.0"/> | ||
| <PackageVersion Include="SecurityCodeScan.VS2019" Version="5.6.7"/> | ||
| <PackageVersion Include="SonarAnalyzer.CSharp" Version="10.15.0.120848"/> | ||
| <PackageVersion Include="xunit.analyzers" Version="1.24.0"/> | ||
| <PackageVersion Include="SonarAnalyzer.CSharp" Version="10.17.0.131074"/> | ||
| <PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17"/> | ||
| <!-- aspire packages --> | ||
| <PackageVersion Include="Aspire.Hosting" Version="9.5.2"/> | ||
| <PackageVersion Include="Aspire.Hosting.AppHost" Version="9.5.2"/> | ||
| <PackageVersion Include="Aspire.Hosting" Version="13.1.0"/> | ||
| <PackageVersion Include="Aspire.Hosting.AppHost" Version="13.1.0"/> | ||
| <PackageVersion Include="Aspire.Hosting.AWS" Version="9.3.0"/> | ||
| <!-- aws packages --> | ||
| <PackageVersion Include="AWSSDK.Core" Version="4.0.1.2"/> | ||
| <PackageVersion Include="AWSSDK.DynamoDBv2" Version="4.0.9.1"/> | ||
| <PackageVersion Include="AWSSDK.SQS" Version="4.0.1.12"/> | ||
| <PackageVersion Include="AWSSDK.SimpleNotificationService" Version="4.0.2.1"/> | ||
| <PackageVersion Include="AWSSDK.S3" Version="4.0.7.14"/> | ||
| <PackageVersion Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.3.8"/> | ||
| <PackageVersion Include="AWS.Messaging" Version="1.0.1"/> | ||
| <PackageVersion Include="AWSSDK.Core" Version="4.0.3.6"/> | ||
| <PackageVersion Include="AWSSDK.DynamoDBv2" Version="4.0.10.4"/> | ||
| <PackageVersion Include="AWSSDK.SQS" Version="4.0.2.8"/> | ||
| <PackageVersion Include="AWSSDK.SimpleNotificationService" Version="4.0.2.10"/> | ||
| <PackageVersion Include="AWSSDK.S3" Version="4.0.15.1"/> | ||
| <PackageVersion Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.3.17"/> | ||
| <PackageVersion Include="AWS.Messaging" Version="1.0.2"/> | ||
| <PackageVersion Include="AWS.Messaging.Telemetry.OpenTelemetry" Version="1.0.0"/> | ||
| <PackageVersion Include="Amazon.Lambda.Core" Version="2.7.1"/> | ||
| <PackageVersion Include="Amazon.Lambda.APIGatewayEvents" Version="2.7.1"/> | ||
| <PackageVersion Include="Amazon.Lambda.Core" Version="2.8.0"/> | ||
| <PackageVersion Include="Amazon.Lambda.APIGatewayEvents" Version="2.7.3"/> | ||
| <PackageVersion Include="Amazon.Lambda.SQSEvents" Version="2.2.0"/> | ||
| <PackageVersion Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4"/> | ||
| <!-- localstack packages --> | ||
| <PackageVersion Include="LocalStack.Client" Version="2.0.0"/> | ||
| <PackageVersion Include="LocalStack.Client.Extensions" Version="2.0.0"/> | ||
| <!-- microsoft packages --> | ||
| <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0"/> | ||
| <PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="9.10.0"/> | ||
| <PackageVersion Include="Microsoft.Extensions.ServiceDiscovery.Dns" Version="9.5.2"/> | ||
| <PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="10.1.0"/> | ||
| <PackageVersion Include="Microsoft.Extensions.ServiceDiscovery.Dns" Version="10.1.0"/> | ||
| <!-- opentelemetry packages --> | ||
| <PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.13.1"/> | ||
| <PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.13.1"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.13.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.AWS" Version="1.12.1"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.AWSLambda" Version="1.12.1"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.13.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="1.13.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.14.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.14.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.14.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.AWS" Version="1.14.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.AWSLambda" Version="1.14.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.14.0"/> | ||
| <PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="1.14.0"/> | ||
| <!-- third-party packages --> | ||
| <PackageVersion Include="Net.Codecrete.QrCodeGenerator" Version="2.0.7"/> | ||
| <PackageVersion Include="SkiaSharp" Version="3.119.1"/> | ||
| <PackageVersion Include="SkiaSharp.NativeAssets.Linux" Version="3.119.1"/> | ||
| <!-- test packages --> | ||
| <PackageVersion Include="Aspire.Hosting.Testing" Version="9.5.2"/> | ||
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0"/> | ||
| <PackageVersion Include="MartinCostello.Logging.XUnit.v3" Version="0.6.0" /> | ||
| <PackageVersion Include="Aspire.Hosting.Testing" Version="13.1.0"/> | ||
| <PackageVersion Include="NSubstitute" Version="5.3.0"/> | ||
| <PackageVersion Include="xunit.v3" Version="3.1.0"/> | ||
| <PackageVersion Include="xunit.v3.runner.console" Version="3.1.0"/> | ||
| <PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5"/> | ||
| <PackageVersion Include="TUnit" Version="1.5.70"/> | ||
| </ItemGroup> | ||
| </Project> | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,10 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "9.0.302", | ||
| "rollForward": "latestFeature", | ||
| "allowPrerelease": false | ||
| } | ||
| "sdk": { | ||
| "version": "10.0.100", | ||
| "rollForward": "latestFeature", | ||
| "allowPrerelease": false | ||
| }, | ||
| "test": { | ||
| "runner": "Microsoft.Testing.Platform" | ||
| } | ||
| } |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,8 +22,8 @@ | |||||
| "Aspire_UrlShortenerLambda": { | ||||||
| "commandName": "Executable", | ||||||
| "executablePath": "dotnet", | ||||||
| "commandLineArgs": "exec --depsfile ./LocalStack.Lambda.UrlShortener.deps.json --runtimeconfig ./LocalStack.Lambda.UrlShortener.runtimeconfig.json %USERPROFILE%\\.dotnet\\tools\\.store\\amazon.lambda.testtool\\0.11.0\\amazon.lambda.testtool\\0.11.0\\content\\Amazon.Lambda.RuntimeSupport\\net8.0\\Amazon.Lambda.RuntimeSupport.dll LocalStack.Lambda.UrlShortener::LocalStack.Lambda.UrlShortener.Function::FunctionHandler", | ||||||
| "workingDirectory": ".\\bin\\$(Configuration)\\net8.0" | ||||||
| "commandLineArgs": "exec --depsfile ./LocalStack.Lambda.UrlShortener.deps.json --runtimeconfig ./LocalStack.Lambda.UrlShortener.runtimeconfig.json %USERPROFILE%\\.dotnet\\tools\\.store\\amazon.lambda.testtool\\0.11.0\\amazon.lambda.testtool\\0.11.0\\content\\Amazon.Lambda.RuntimeSupport\\net10.0\\Amazon.Lambda.RuntimeSupport.dll LocalStack.Lambda.UrlShortener::LocalStack.Lambda.UrlShortener.Function::FunctionHandler", | ||||||
| "workingDirectory": ".\\bin\\$(Configuration)\\net10.0" | ||||||
|
||||||
| "workingDirectory": ".\\bin\\$(Configuration)\\net10.0" | |
| "workingDirectory": ".\\bin\\$(Configuration)\\$(TargetFramework)" |
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Aspire.Hosting.AWS package version (9.3.0) is incompatible with Aspire.Hosting 13.1.0. This package should be updated to 13.1.0 to match the Aspire.Hosting version to avoid potential runtime compatibility issues.