Skip to content

revert change to structs from classes for IntOrString and ResourceQuantity, and handle null values in YAML converters #1894

revert change to structs from classes for IntOrString and ResourceQuantity, and handle null values in YAML converters

revert change to structs from classes for IntOrString and ResourceQuantity, and handle null values in YAML converters #1894

Triggered via pull request October 15, 2025 15:57
Status Success
Total duration 11m 13s
Artifacts 3

buildtest.yaml

on: pull_request
Matrix: Dotnet build
Fit to window
Zoom out
Zoom in

Annotations

53 warnings
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageV1beta1OperationsExtensions.g.cs#L910
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageV1beta1OperationsExtensions.g.cs#L779
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StoragemigrationV1alpha1OperationsExtensions.g.cs#L910
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StoragemigrationV1alpha1OperationsExtensions.g.cs#L779
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2730
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2609
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1465
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1348
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L760
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
MSBuild build: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L643
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/VolumeAttributesClassClient.g.cs#L579
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/VolumeAttributesClassClient.g.cs#L451
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2730
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2609
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L579
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L451
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1465
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1348
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L760
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (ubuntu-latest): src/KubernetesClient/obj/Release/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L643
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (macOS-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (macOS-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/Models/ResourceQuantity.cs#L174
In externally visible method 'ResourceQuantity.implicit operator decimal(ResourceQuantity v)', validate parameter 'v' 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)
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/VolumeAttributesClassClient.g.cs#L579
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/VolumeAttributesClassClient.g.cs#L451
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L579
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/StorageVersionMigrationClient.g.cs#L451
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2730
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L2609
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1465
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L1348
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L760
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
e2e: src/KubernetesClient/obj/Debug/net8.0/generated/LibKubernetesGenerator/LibKubernetesGenerator.KubernetesClientSourceGenerator/CustomObjectsOperationsExtensions.g.cs#L643
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'

Artifacts

Produced during runtime
Name Size Digest
test-results-macOS-latest
3.7 MB
sha256:269d5bba971d4387960c297d955336d7c12cbc9883430016274742450264fec3
test-results-ubuntu-latest
5.73 MB
sha256:c2795eb74508d9428f2b97a937b2928df98d2a8f26f3be4121f15e4e58e38c54
test-results-windows-latest
6.79 MB
sha256:ce0d48600b8d255b4bb9a7124af711c458508cf737d2f1db4305d2f3d29389c9