Skip to content

Bump AspNetCore.HealthChecks.MongoDb from 6.0.2 to 7.0.0 #2724

Bump AspNetCore.HealthChecks.MongoDb from 6.0.2 to 7.0.0

Bump AspNetCore.HealthChecks.MongoDb from 6.0.2 to 7.0.0 #2724

Triggered via pull request October 2, 2023 09:33
Status Failure
Total duration 5m 0s
Artifacts

license-scanning.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
scan
Process completed with exit code 1.
scan: src/TaskManager/TaskManager/Services/Http/Startup.cs#L73
Possible null reference argument for parameter 'mongodbConnectionString' in 'IHealthChecksBuilder MongoDbHealthCheckBuilderExtensions.AddMongoDb(IHealthChecksBuilder builder, string mongodbConnectionString, string mongoDatabaseName, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
scan: src/TaskManager/TaskManager/Services/Http/Startup.cs#L73
Possible null reference argument for parameter 'mongoDatabaseName' in 'IHealthChecksBuilder MongoDbHealthCheckBuilderExtensions.AddMongoDb(IHealthChecksBuilder builder, string mongodbConnectionString, string mongoDatabaseName, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
scan: src/TaskManager/TaskManager/Program.cs#L117
Possible null reference argument for parameter 'fullyQualifiedTypeName' in 'IServiceCollection IServiceCollectionExtensions.AddMonaiDeployStorageService(IServiceCollection services, string fullyQualifiedTypeName, HealthCheckOptions healthCheckOptions = HealthCheckOptions.ServiceHealthCheck | HealthCheckOptions.AdminServiceHealthCheck, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
scan: src/TaskManager/TaskManager/Program.cs#L120
Possible null reference argument for parameter 'fullyQualifiedTypeName' in 'IServiceCollection IServiceCollectionExtensions.AddMonaiDeployMessageBrokerPublisherService(IServiceCollection services, string fullyQualifiedTypeName, bool registerHealthCheck = true, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
scan: src/TaskManager/TaskManager/Program.cs#L121
Possible null reference argument for parameter 'fullyQualifiedTypeName' in 'IServiceCollection IServiceCollectionExtensions.AddMonaiDeployMessageBrokerSubscriberService(IServiceCollection services, string fullyQualifiedTypeName, bool registerHealthCheck = true, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
scan: tests/UnitTests/WorkflowManager.Tests/DummyMessagingService.cs#L53
The event 'DummyMessagingService.OnConnectionError' is never used
scan: tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Support/WorkflowExecutorStartup.cs#L98
The type 'Monai.Deploy.WorkflowManager.Common.Services.DataRetentionService.DataRetentionService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'Monai.Deploy.WorkflowManager.Common.Services.DataRetentionService.DataRetentionService?' doesn't match 'class' constraint.
scan: tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Support/WorkflowExecutorStartup.cs#L98
The type 'Monai.Deploy.WorkflowManager.Common.Services.DataRetentionService.DataRetentionService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'Monai.Deploy.WorkflowManager.Common.Services.DataRetentionService.DataRetentionService?' doesn't match constraint type 'Microsoft.Extensions.Hosting.IHostedService'.
scan: tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Support/WorkflowExecutorStartup.cs#L98
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, DataRetentionService?>' (possibly because of nullability attributes).
scan: tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Support/WorkflowExecutorStartup.cs#L120
Possible null reference argument for parameter 'fullyQualifiedTypeName' in 'IServiceCollection IServiceCollectionExtensions.AddMonaiDeployStorageService(IServiceCollection services, string fullyQualifiedTypeName, HealthCheckOptions healthCheckOptions = HealthCheckOptions.ServiceHealthCheck | HealthCheckOptions.AdminServiceHealthCheck, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.