Skip to content

Create generic statsReporter in metrics package #6564

Create generic statsReporter in metrics package

Create generic statsReporter in metrics package #6564

Triggered via pull request July 8, 2024 22:26
Status Failure
Total duration 3m 29s
Artifacts

knative-style.yaml

on: pull_request
style  /  changes
3s
style / changes
style  /  ...  /  Auto-format and Check
24s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
3m 9s
style / Golang / Lint
style  /  ...  /  Do Not Submit
6s
style / Golang / Do Not Submit
style  /  ...  /  shell
0s
style / suggester / shell
style  /  ...  /  yaml
0s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 4 warnings
style / Golang / Boilerplate Check (go): cmd/apiserver_receive_adapter/main.go#L2
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/apiserver_receive_adapter/main.go:2: found mismatched boilerplate lines: {[]string}[0]: -: "Copyright 2024 The Knative Authors" +: "Copyright 2024 The Knative Authors." {[]string}[6]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/appender/main.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/appender/main.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/broker/config.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/broker/config.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/broker/filter/main.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/broker/filter/main.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/broker/ingress/main.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/broker/ingress/main.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/controller/main.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/controller/main.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/event_display/main.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/event_display/main.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/event_display/main_test.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/event_display/main_test.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go): cmd/heartbeats/main.go#L8
[Go headers] reported by reviewdog ๐Ÿถ found mismatched boilerplate lines: Raw Output: cmd/heartbeats/main.go:8: found mismatched boilerplate lines: {[]string}[0]: -: "\thttp://www.apache.org/licenses/LICENSE-2.0" +: " http://www.apache.org/licenses/LICENSE-2.0"
style / Golang / Boilerplate Check (go)
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
style / Golang / Lint: DEVELOPMENT.md#L134
[trailing whitespace] reported by reviewdog ๐Ÿถ > :information_source: If you are getting the error `No resources found in cert-manager namespace`, you need to install [cert-manager](https://cert-manager.io/docs/installation/) manually before running the quick full build and install command. Raw Output: DEVELOPMENT.md:134:> :information_source: If you are getting the error `No resources found in cert-manager namespace`, you need to install [cert-manager](https://cert-manager.io/docs/installation/) manually before running the quick full build and install command.
style / Golang / Lint: config/300-eventtype.yaml#L64
[trailing whitespace] reported by reviewdog ๐Ÿถ type: array Raw Output: config/300-eventtype.yaml:64: type: array
style / Golang / Lint: config/400-config-features.yaml#L46
[trailing whitespace] reported by reviewdog ๐Ÿถ Raw Output: config/400-config-features.yaml:46:
style / Golang / Lint: config/core/configmaps/features.yaml#L46
[trailing whitespace] reported by reviewdog ๐Ÿถ Raw Output: config/core/configmaps/features.yaml:46:
style / Golang / Lint: config/core/resources/eventtype.yaml#L64
[trailing whitespace] reported by reviewdog ๐Ÿถ type: array Raw Output: config/core/resources/eventtype.yaml:64: type: array
style / Golang / Lint: hack/run.sh#L1
[trailing whitespace] reported by reviewdog ๐Ÿถ #!/usr/bin/env bash Raw Output: hack/run.sh:1:#!/usr/bin/env bash
style / Golang / Lint: hack/run.sh#L31
[trailing whitespace] reported by reviewdog ๐Ÿถ ./"${ROOT_DIR}"/hack/install.sh Raw Output: hack/run.sh:31: ./"${ROOT_DIR}"/hack/install.sh
style / Golang / Lint: hack/run.sh#L47
[trailing whitespace] reported by reviewdog ๐Ÿถ ./"${ROOT_DIR}"/hack/update-deps.sh Raw Output: hack/run.sh:47: ./"${ROOT_DIR}"/hack/update-deps.sh
style / Golang / Lint: pkg/broker/filter/filter_handler.go#L110
var `responseCodeKey` is unused (unused)
style / Golang / Lint: pkg/broker/filter/filter_handler.go#L111
var `responseCodeClassKey` is unused (unused)
style / Golang / Lint
issues found
style / Golang / Lint: DEVELOPMENT.md#L15
[github.com/client9/misspell] reported by reviewdog ๐Ÿถ "fullfilled" is a misspelling of "fulfilled" Raw Output: DEVELOPMENT.md:15:39: "fullfilled" is a misspelling of "fulfilled"
style / Golang / Lint: DEVELOPMENT.md#L493
[EOF Newline] reported by reviewdog ๐Ÿถ Missing newline Raw Output: DEVELOPMENT.md:493: Missing newline
style / Golang / Lint: docs/mt-channel-based-broker/mt-channel-broker.png#L1294
[EOF Newline] reported by reviewdog ๐Ÿถ Missing newline Raw Output: docs/mt-channel-based-broker/mt-channel-broker.png:1294: Missing newline
style / Golang / Lint: docs/planning/images/featureplanning.png#L32
[EOF Newline] reported by reviewdog ๐Ÿถ Missing newline Raw Output: docs/planning/images/featureplanning.png:32: Missing newline
style / Golang / Lint: docs/planning/images/releaseplanning.png#L75
[EOF Newline] reported by reviewdog ๐Ÿถ Missing newline Raw Output: docs/planning/images/releaseplanning.png:75: Missing newline
style / Golang / Lint: hack/run.sh#L54
[EOF Newline] reported by reviewdog ๐Ÿถ Missing newline Raw Output: hack/run.sh:54: Missing newline
style / Golang / Lint: hack/teardown.sh#L34
[EOF Newline] reported by reviewdog ๐Ÿถ Missing newline Raw Output: hack/teardown.sh:34: Missing newline
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing/eventing. Supported file pattern: go.sum