Skip to content

[Snyk] Security upgrade golang from 1.17 to 1.21 #39

[Snyk] Security upgrade golang from 1.17 to 1.21

[Snyk] Security upgrade golang from 1.17 to 1.21 #39

Triggered via pull request February 20, 2024 19:00
Status Failure
Total duration 5m 42s
Artifacts

verify-codegen.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
verify-codegen
cannot use cpu.X86.HasSSE42 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
verify-codegen
unsafe.Offsetof(cpu.X86.HasSSE42) (value of type uintptr) is not constant
verify-codegen
cannot use cpu.X86.HasAVX2 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
verify-codegen
unsafe.Offsetof(cpu.X86.HasAVX2) (value of type uintptr) is not constant
verify-codegen
cannot use cpu.X86.HasPOPCNT (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
verify-codegen
unsafe.Offsetof(cpu.X86.HasPOPCNT) (value of type uintptr) is not constant
verify-codegen
cannot use cpu.S390X.HasVX (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
verify-codegen
unsafe.Offsetof(cpu.S390X.HasVX) (value of type uintptr) is not constant
verify-codegen
cannot use cpu.PPC64.IsPOWER9 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
verify-codegen
unsafe.Offsetof(cpu.PPC64.IsPOWER9) (value of type uintptr) is not constant
verify-codegen: python/kserve/kserve/models/v1beta1_inference_service.py#L1
Please run make generate. diff --git a/python/kserve/kserve/models/v1beta1_inference_service.py b/python/kserve/kserve/models/v1beta1_inference_service.py index d6bd3f8..0f64aab 100644 --- a/python/kserve/kserve/models/v1beta1_inference_service.py +++ b/python/kserve/kserve/models/v1beta1_inference_service.py @@ -150,8 +150,6 @@ class V1beta1InferenceService(object): :param metadata: The metadata of this V1beta1InferenceService. # noqa: E501 :type: V1ObjectMeta """ - if metadata is not None: - metadata.annotations = {"serving.knative.openshift.io/enablePassthrough": "true"} self._metadata = metadata
verify-codegen
Process completed with exit code 1.
verify-codegen
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
verify-codegen
Restore cache failed: Dependencies file is not found in /home/runner/work/kserve/kserve. Supported file pattern: go.sum