Skip to content

Nullability and code coverage... we'll see how it goes. #58

Nullability and code coverage... we'll see how it goes.

Nullability and code coverage... we'll see how it goes. #58

Triggered via push August 13, 2024 04:42
Status Success
Total duration 1m 1s
Artifacts 2

publish.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 warnings and 1 notice
build (8.x): src/Docker.Registry.DotNet/Application/Authentication/AuthenticateParser.cs#L23
Nullability of reference types in value of type 'Dictionary<string, string>' doesn't match target type 'IDictionary<string, string?>'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/TagOperations.cs#L43
Possible null reference argument for parameter 'json' in 'ListTagsResponseDto? JsonSerializer.DeserializeObject<ListTagsResponseDto?>(string json)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobOperations.cs#L49
Possible null reference argument for parameter 'dockerContentDigest' in 'GetBlobResponse.GetBlobResponse(string dockerContentDigest, Stream stream)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobOperations.cs#L50
Possible null reference argument for parameter 'stream' in 'GetBlobResponse.GetBlobResponse(string dockerContentDigest, Stream stream)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobUploadOperations.cs#L104
Possible null reference argument for parameter 'path' in 'Task<RegistryApiResponse<string>> RegistryClient.MakeRequest(HttpMethod method, string path, IReadOnlyQueryString? queryString = null, IReadOnlyDictionary<string, string>? headers = null, Func<HttpContent>? content = null, CancellationToken token = default(CancellationToken))'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobUploadOperations.cs#L139
Possible null reference argument for parameter 'path' in 'Task<RegistryApiResponse<string>> RegistryClient.MakeRequest(HttpMethod method, string path, IReadOnlyQueryString? queryString = null, IReadOnlyDictionary<string, string>? headers = null, Func<HttpContent>? content = null, CancellationToken token = default(CancellationToken))'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/RepositoryOperations.cs#L38
Possible null reference argument for parameter 'json' in 'ListRepositoryTagsResponse? JsonSerializer.DeserializeObject<ListRepositoryTagsResponse>(string json)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/CatalogOperations.cs#L55
Possible null reference argument for parameter 'json' in 'CatalogResponse? JsonSerializer.DeserializeObject<CatalogResponse>(string json)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobOperations.cs#L49
Possible null reference argument for parameter 'dockerContentDigest' in 'GetBlobResponse.GetBlobResponse(string dockerContentDigest, Stream stream)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobOperations.cs#L50
Possible null reference argument for parameter 'stream' in 'GetBlobResponse.GetBlobResponse(string dockerContentDigest, Stream stream)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/CatalogOperations.cs#L55
Possible null reference argument for parameter 'json' in 'CatalogResponse? JsonSerializer.DeserializeObject<CatalogResponse>(string json)'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/TagOperations.cs#L43
Possible null reference argument for parameter 'json' in 'ListTagsResponseDto? JsonSerializer.DeserializeObject<ListTagsResponseDto?>(string json)'.
build (8.x): src/Docker.Registry.DotNet/Application/Authentication/AuthenticateParser.cs#L23
Nullability of reference types in value of type 'Dictionary<string, string>' doesn't match target type 'IDictionary<string, string?>'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobUploadOperations.cs#L104
Possible null reference argument for parameter 'path' in 'Task<RegistryApiResponse<string>> RegistryClient.MakeRequest(HttpMethod method, string path, IReadOnlyQueryString? queryString = null, IReadOnlyDictionary<string, string>? headers = null, Func<HttpContent>? content = null, CancellationToken token = default(CancellationToken))'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/BlobUploadOperations.cs#L139
Possible null reference argument for parameter 'path' in 'Task<RegistryApiResponse<string>> RegistryClient.MakeRequest(HttpMethod method, string path, IReadOnlyQueryString? queryString = null, IReadOnlyDictionary<string, string>? headers = null, Func<HttpContent>? content = null, CancellationToken token = default(CancellationToken))'.
build (8.x): src/Docker.Registry.DotNet/Application/Endpoints/RepositoryOperations.cs#L38
Possible null reference argument for parameter 'json' in 'ListRepositoryTagsResponse? JsonSerializer.DeserializeObject<ListRepositoryTagsResponse>(string json)'.
12 tests found
There are 12 tests, see "Raw output" for the full list of tests.

Artifacts

Produced during runtime
Name Size
coverage Expired
12.9 KB
test-results Expired
34.5 KB