Skip to content

Cs/http api

Cs/http api #741

Triggered via pull request December 5, 2024 12:44
Status Success
Total duration 2m 16s
Artifacts

ci-dotnet.yaml

on: pull_request
Matrix: Build & Test C# SDK
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Build & Test C# SDK (8.0.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Vaas.cs#L133
Possible null reference argument for parameter 'requestId' in 'Task Vaas.AddRequestHeadersAsync(HttpRequestMessage request, CancellationToken cancellationToken, string requestId = "")'.
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Vaas.cs#L224
Possible null reference argument for parameter 'requestId' in 'Task Vaas.AddRequestHeadersAsync(HttpRequestMessage request, CancellationToken cancellationToken, string requestId = "")'.
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Vaas.cs#L241
Dereference of a possibly null reference.
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Vaas.cs#L265
Possible null reference argument for parameter 'requestId' in 'Task Vaas.AddRequestHeadersAsync(HttpRequestMessage request, CancellationToken cancellationToken, string requestId = "")'.
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Vaas.cs#L302
Unreachable code detected
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/VaasVerdict.cs#L5
Non-nullable property 'Sha256' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Messages/WebSocketErrorMessage.cs#L18
Non-nullable property 'Type' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Messages/UrlAnalysisRequest.cs#L7
Non-nullable property 'url' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build & Test C# SDK (8.0.x): dotnet/Vaas/test/TestFiles/Program.cs#L19
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 & Test C# SDK (8.0.x): dotnet/Vaas/src/Vaas/Vaas.cs#L133
Possible null reference argument for parameter 'requestId' in 'Task Vaas.AddRequestHeadersAsync(HttpRequestMessage request, CancellationToken cancellationToken, string requestId = "")'.
codeql
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636