Skip to content

Created FeatureFlagging services, APIs and source generator, and Flag… #164

Created FeatureFlagging services, APIs and source generator, and Flag…

Created FeatureFlagging services, APIs and source generator, and Flag… #164

Triggered via push February 19, 2024 19:25
Status Failure
Total duration 5m 42s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 22 warnings
Application.Common.UnitTests.Extensions.FeatureFlagExtensionsSpec ► WhenGetFlagAsyncAndAuthenticated_ThenGetsFlagForUser: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L31
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1258-352_2024-02-19_19_29_30.trx src/TestResults/csharp/runneradmin_fv-az1258-352_2024-02-19_19_29_30.trx src/TestResults/csharp/runneradmin_fv-az1258-352_2024-02-19_19_29_30.trx src/TestResults/csharp/runneradmin_fv-az1258-352_2024-02-19_19_29_30.trx src/TestResults/csharp/runneradmin_fv-az1258-352_2024-02-19_19_29_30.trx src/TestResults/csharp/runneradmin_fv-az1258-352_2024-02-19_19_29_30.trx Error: System.ArgumentException : Matcher 'It.IsAny<string>()' is unmatchable: An implicit conversion operator will convert arguments of type 'string' to the parameter's type 'Optional<string>', which is assignment-incompatible.
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, dorny/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L37
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L52
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L67
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Web.Api.Common.UnitTests/ApiUsageFilterSpec.cs#L73
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L16
Non-nullable field '_encryptionService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L27
Possible null reference argument for parameter 'encryptionService' in 'CSRFService.CSRFService(IHostSettings settings, IEncryptionService encryptionService)'.
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L15
Field 'CSRFServiceSpec._encryptionService' is never assigned to, and will always have its default value null
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L14
Field 'CSRFTokenPairSpec._encryptionService' is never assigned to, and will always have its default value null
build: src/AncillaryInfrastructure.IntegrationTests/FeatureFlagsApiSpec.cs#L29
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/AncillaryInfrastructure.IntegrationTests/FeatureFlagsApiSpec.cs#L42
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L37
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L52
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L67
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Web.Api.Common.UnitTests/ApiUsageFilterSpec.cs#L73
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L16
Non-nullable field '_encryptionService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L27
Possible null reference argument for parameter 'encryptionService' in 'CSRFService.CSRFService(IHostSettings settings, IEncryptionService encryptionService)'.
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L14
Field 'CSRFTokenPairSpec._encryptionService' is never assigned to, and will always have its default value null
build: src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L15
Field 'CSRFServiceSpec._encryptionService' is never assigned to, and will always have its default value null
build: src/AncillaryInfrastructure.IntegrationTests/FeatureFlagsApiSpec.cs#L29
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/AncillaryInfrastructure.IntegrationTests/FeatureFlagsApiSpec.cs#L42
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.