Skip to content

Add Db healthcheck #128

Add Db healthcheck

Add Db healthcheck #128

Triggered via push July 4, 2024 16:32
Status Success
Total duration 4m 56s
Artifacts

pipeline.yml

on: push
Build and test projects  /  determine-strategy
0s
Build and test projects / determine-strategy
Test staging area  /  determine-strategy
Test staging area / determine-strategy
Matrix: Build and test projects / build-and-test
Matrix: Test staging area / build-and-test
Waiting for pending jobs
Release API image
59s
Release API image
Release client package  /  release
Release client package / release
Release index package  /  release
Release index package / release
Staging area pre-publish checks
0s
Staging area pre-publish checks
update-preview-index
0s
update-preview-index
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Build and test projects / build-and-test (macos-latest): src/PackageRegistryService/Authentication/APIKeyEndpointFilter.cs#L13
Nullability of reference types in return type of 'ValueTask<object> APIKeyEndpointFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)' doesn't match implicitly implemented member 'ValueTask<object?> IEndpointFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)'.
Build and test projects / build-and-test (macos-latest): src/PackageRegistryService/Program.cs#L57
Possible null reference argument for parameter 'connectionString' in 'IHealthChecksBuilder NpgSqlHealthCheckBuilderExtensions.AddNpgSql(IHealthChecksBuilder builder, string connectionString, string healthQuery = "SELECT 1;", Action<NpgsqlConnection>? configure = null, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
Build and test projects / build-and-test (macos-latest): src/PackageRegistryService/Pages/Handlers/IndexHandlers.cs#L9
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 and test projects / build-and-test (macos-latest): src/PackageRegistryService/Pages/Handlers/AboutHandlers.cs#L9
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 and test projects / build-and-test (macos-latest): src/PackageRegistryService/Data/DataInitializer.cs#L33
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
Build and test projects / build-and-test (ubuntu-latest): src/PackageRegistryService/Authentication/APIKeyEndpointFilter.cs#L13
Nullability of reference types in return type of 'ValueTask<object> APIKeyEndpointFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)' doesn't match implicitly implemented member 'ValueTask<object?> IEndpointFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)'.
Build and test projects / build-and-test (ubuntu-latest): src/PackageRegistryService/Program.cs#L57
Possible null reference argument for parameter 'connectionString' in 'IHealthChecksBuilder NpgSqlHealthCheckBuilderExtensions.AddNpgSql(IHealthChecksBuilder builder, string connectionString, string healthQuery = "SELECT 1;", Action<NpgsqlConnection>? configure = null, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
Build and test projects / build-and-test (ubuntu-latest): src/PackageRegistryService/Data/DataInitializer.cs#L33
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
Build and test projects / build-and-test (ubuntu-latest): src/PackageRegistryService/Data/DataInitializer.cs#L67
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
Build and test projects / build-and-test (ubuntu-latest): src/PackageRegistryService/Pages/Handlers/AboutHandlers.cs#L9
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 and test projects / build-and-test (windows-latest): src/PackageRegistryService/Authentication/APIKeyEndpointFilter.cs#L13
Nullability of reference types in return type of 'ValueTask<object> APIKeyEndpointFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)' doesn't match implicitly implemented member 'ValueTask<object?> IEndpointFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)'.
Build and test projects / build-and-test (windows-latest): src/PackageRegistryService/Program.cs#L57
Possible null reference argument for parameter 'connectionString' in 'IHealthChecksBuilder NpgSqlHealthCheckBuilderExtensions.AddNpgSql(IHealthChecksBuilder builder, string connectionString, string healthQuery = "SELECT 1;", Action<NpgsqlConnection>? configure = null, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
Build and test projects / build-and-test (windows-latest): src/PackageRegistryService/Pages/Handlers/IndexHandlers.cs#L9
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 and test projects / build-and-test (windows-latest): src/PackageRegistryService/Pages/Handlers/AboutHandlers.cs#L9
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 and test projects / build-and-test (windows-latest): src/PackageRegistryService/Data/DataInitializer.cs#L33
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.