Skip to content

Update knative deps #9056

Update knative deps

Update knative deps #9056

Triggered via pull request January 23, 2025 11:17
Status Failure
Total duration 3m 5s
Artifacts

knative-style.yaml

on: pull_request
style  /  ...  /  Auto-format and Check
20s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
2m 36s
style / Golang / Lint
style  /  ...  /  Do Not Submit
11s
style / Golang / Do Not Submit
style  /  ...  /  shell
47s
style / suggester / shell
style  /  ...  /  yaml
41s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 warnings
style / Golang / Boilerplate Check (go): control-plane/pkg/contract/contract.pb.go#L1
[Go headers] reported by reviewdog 🐶 missing boilerplate: Raw Output: control-plane/pkg/contract/contract.pb.go:1: missing boilerplate: /* * Copyright 2025 The Knative Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */
style / Golang / Boilerplate Check (go)
Process completed with exit code 1.
style / Golang / Lint: test/rekt/resources/kafkasource/kafkasource.go#L67
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
style / Golang / Lint: control-plane/pkg/apis/eventing/v1alpha1/kafka_sink_lifecycle_test.go#L23
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
style / Golang / Lint: control-plane/pkg/apis/eventing/v1alpha1/kafka_sink_types_test.go#L23
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
style / Golang / Lint: control-plane/pkg/apis/eventing/v1alpha1/kafka_sink_validation_test.go#L23
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
style / Golang / Lint: test/rekt/resources/configmap/wait.go#L42
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
style / Golang / Lint: test/rekt/features/featuressteps/broker.go#L127
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
style / Golang / Lint: control-plane/pkg/apis/internalskafkaeventing/v1alpha1/consumer_group_defaults.go#L41
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
style / Golang / Lint: control-plane/pkg/prober/cache_test.go#L88
printf: non-constant format string in call to (*testing.common).Errorf (govet)
style / Golang / Lint: control-plane/pkg/kafka/consumer_group_lag.go#L200
G115: integer overflow conversion int64 -> uint64 (gosec)
style / Golang / Lint: control-plane/pkg/kafka/topic.go#L111
G115: integer overflow conversion int32 -> int16 (gosec)
style / changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
style / Golang / Do Not Submit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-kafka-broker/eventing-kafka-broker. Supported file pattern: go.sum
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-kafka-broker/eventing-kafka-broker. Supported file pattern: go.sum
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-kafka-broker/eventing-kafka-broker. Supported file pattern: go.sum
style / suggester / yaml
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
style / suggester / shell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-kafka-broker/eventing-kafka-broker. Supported file pattern: go.sum