Add cancellation handling to prevent UnobservedTaskException in Watcher - #1827
Draft
tg123 wants to merge 4 commits into
Draft
Add cancellation handling to prevent UnobservedTaskException in Watcher#1827tg123 wants to merge 4 commits into
tg123 wants to merge 4 commits into
Annotations
11 warnings
|
Build:
src/KubernetesClient/KubernetesJson.cs#L220
In externally visible method 'string KubernetesJson.Serialize(JsonNode value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/KubernetesClient/KubernetesJson.cs#L200
In externally visible method 'string KubernetesJson.Serialize(JsonDocument value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/KubernetesClient/KubernetesJson.cs#L190
In externally visible method 'string KubernetesJson.Serialize(object value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/KubernetesClient/KubernetesJson.cs#L200
In externally visible method 'string KubernetesJson.Serialize(JsonDocument value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/KubernetesClient/KubernetesJson.cs#L190
In externally visible method 'string KubernetesJson.Serialize(object value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/KubernetesClient/Models/IntOrStringJsonConverter.cs#L27
In externally visible method 'void IntOrStringJsonConverter.Write(Utf8JsonWriter writer, IntOrString value, JsonSerializerOptions options)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/KubernetesClient/Models/IntOrStringJsonConverter.cs#L27
In externally visible method 'void IntOrStringJsonConverter.Write(Utf8JsonWriter writer, IntOrString value, JsonSerializerOptions options)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/KubernetesClient/Models/KubernetesDateTimeYamlConverter.cs#L8
The keyword 'new' should be followed by a space. (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1000.md)
|
|
Build:
src/KubernetesClient/MuxedStream.cs#L125
'MuxedStream.DisposeAsync()' hides inherited member 'Stream.DisposeAsync()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
|
|
Build:
src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponse.cs#L33
Property 'Status' on type 'k8s.KubeConfigModels.ExecCredentialResponse' uses type 'k8s.KubeConfigModels.ExecCredentialResponse.ExecStatus' which is not registered in the YamlDotNet static context. Add
|
|
Initialize CodeQL
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.
|
background
wait
wait-all
cancel
parallel
Loading