Skip to content

Add codegen resource and delete redundant content #2027

Add codegen resource and delete redundant content

Add codegen resource and delete redundant content #2027

Triggered via pull request February 2, 2026 15:20
Status Failure
Total duration 2m 18s
Artifacts 1

ci.yml

on: pull_request
Go Unit Tests
2m 14s
Go Unit Tests
Go Lint
21s
Go Lint
License Header Check
38s
License Header Check
Helm Lint
9s
Helm Lint
Matrix: Go Build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
License Header Check
Process completed with exit code 1.
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L435
cannot use HorizontalPodAutoscaler (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd(Endpoints).MustAdd(GatewayClass).MustAdd(HTTPRoute).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L434
cannot use HTTPRoute (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd(Endpoints).MustAdd(GatewayClass).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L433
cannot use GatewayClass (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd(Endpoints).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L432
cannot use Endpoints (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L431
cannot use EndpointSlice (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L430
cannot use DestinationRule (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L429
cannot use Deployment (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L428
cannot use DaemonSet (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L427
cannot use CustomResourceDefinition (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Build (ubuntu-latest): pkg/config/schema/collections/collections.gen.go#L426
cannot use ConfigMap (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L435
cannot use HorizontalPodAutoscaler (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd(Endpoints).MustAdd(GatewayClass).MustAdd(HTTPRoute).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L434
cannot use HTTPRoute (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd(Endpoints).MustAdd(GatewayClass).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L433
cannot use GatewayClass (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd(Endpoints).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L432
cannot use Endpoints (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd(EndpointSlice).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L431
cannot use EndpointSlice (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd(DestinationRule).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L430
cannot use DestinationRule (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd(Deployment).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L429
cannot use Deployment (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd(DaemonSet).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L428
cannot use DaemonSet (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd(CustomResourceDefinition).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L427
cannot use CustomResourceDefinition (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd(ConfigMap).MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
Go Unit Tests: pkg/config/schema/collections/collections.gen.go#L426
cannot use ConfigMap (variable of interface type "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema) as collection.Schema value in argument to collection.NewSchemasBuilder().MustAdd: "github.com/apache/dubbo-kubernetes/pkg/config/schema/resource".Schema does not implement collection.Schema (wrong type for method Equal)
License Header Check
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.

Artifacts

Produced during runtime
Name Size Digest
test-coverage Expired
67.1 KB
sha256:8203a6f5494985ae31a718d76d013bd7005ca856e6c851f5bcec07cce3886c0b