Skip to content

kyaml/openapi: replace the embedded Kubernetes schema with precomputed patch metadata #7830

kyaml/openapi: replace the embedded Kubernetes schema with precomputed patch metadata

kyaml/openapi: replace the embedded Kubernetes schema with precomputed patch metadata #7830

Triggered via pull request July 20, 2026 23:47
Status Failure
Total duration 3m 52s
Artifacts

go.yml

on: pull_request
Matrix: test-modules
conditional-changes
6s
conditional-changes
check-synced-go-modules
35s
check-synced-go-modules
Lint
3m 4s
Lint
Test Linux
1m 9s
Test Linux
Test Summary
2s
Test Summary
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: kyaml/openapi/internal/patchmetagen/main.go#L77
error returned from external package is unwrapped: sig: func (*k8s.io/kube-openapi/pkg/validation/spec.Swagger).UnmarshalJSON(data []byte) error (wrapcheck)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L73
error returned from external package is unwrapped: sig: func sigs.k8s.io/yaml.YAMLToJSON(y []byte) ([]byte, error) (wrapcheck)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L68
error returned from external package is unwrapped: sig: func (*k8s.io/kube-openapi/pkg/validation/spec.Swagger).FromGnostic(g *github.com/google/gnostic-models/openapiv2.Document) (ok bool, err error) (wrapcheck)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L65
error returned from external package is unwrapped: sig: func google.golang.org/protobuf/proto.Unmarshal(b []byte, m google.golang.org/protobuf/proto.Message) error (wrapcheck)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L59
error returned from external package is unwrapped: sig: func os.ReadFile(name string) ([]byte, error) (wrapcheck)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L135
`if refName(p.Ref) == ""` has complex nested blocks (complexity: 6) (nestif)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L103
`if ok` has complex nested blocks (complexity: 7) (nestif)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L62
`if filepath.Ext(path) == ".pb"` has complex nested blocks (complexity: 7) (nestif)
Lint: kyaml/openapi/openapi_test.go#L101
deploymentSchema is a global variable (gochecknoglobals)
Lint: kyaml/openapi/internal/patchmetagen/main.go#L83
cyclomatic complexity 64 of func `main` is high (> 30) (gocyclo)