Add Db healthcheck #128
pipeline.yml
on: push
setup
4s
Matrix: Build and test projects / build-and-test
Matrix: Test staging area / build-and-test
Waiting for pending jobs
Release API image
59s
Release client package
/
release
Release index package
/
release
update-preview-index
0s
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/PackagesHandlers.cs#L47
Dereference of a possibly null reference.
|
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/Authentication/APIKeyEndpointFilter.cs#L25
Dereference of a possibly null reference.
|
Build and test projects / build-and-test (macos-latest):
src/PackageRegistryService/Authentication/APIKeyEndpointFilter.cs#L30
Possible null reference return.
|
Build and test projects / build-and-test (macos-latest):
src/PackageRegistryService/Data/DataInitializer.cs#L33
Dereference of a possibly null reference.
|
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 (macos-latest):
src/PackageRegistryService/Data/DataInitializer.cs#L67
Dereference of a possibly null reference.
|
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/Authentication/APIKeyEndpointFilter.cs#L25
Dereference of a possibly null reference.
|
Build and test projects / build-and-test (ubuntu-latest):
src/PackageRegistryService/Authentication/APIKeyEndpointFilter.cs#L30
Possible null reference return.
|
Build and test projects / build-and-test (ubuntu-latest):
src/PackageRegistryService/Pages/Handlers/PackagesHandlers.cs#L47
Dereference of a possibly null reference.
|
Build and test projects / build-and-test (ubuntu-latest):
src/PackageRegistryService/Data/DataInitializer.cs#L33
Dereference of a possibly null reference.
|
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
Dereference of a possibly null reference.
|
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/PackagesHandlers.cs#L47
Dereference of a possibly null reference.
|
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/Authentication/APIKeyEndpointFilter.cs#L25
Dereference of a possibly null reference.
|
Build and test projects / build-and-test (windows-latest):
src/PackageRegistryService/Authentication/APIKeyEndpointFilter.cs#L30
Possible null reference return.
|
Build and test projects / build-and-test (windows-latest):
src/PackageRegistryService/Data/DataInitializer.cs#L33
Dereference of a possibly null reference.
|
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)'.
|
Build and test projects / build-and-test (windows-latest):
src/PackageRegistryService/Data/DataInitializer.cs#L67
Dereference of a possibly null reference.
|