Skip to content

fix: πŸ› handleState for review controller #317

fix: πŸ› handleState for review controller

fix: πŸ› handleState for review controller #317

Triggered via push June 25, 2026 15:11
Status Failure
Total duration 3m 15s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L320
ginkgo-linter: wrong length assertion. Consider using `Expect(jobList.Items).To(BeEmpty())` instead (ginkgolinter)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L209
ginkgo-linter: wrong error assertion. Consider using `Expect(deleteErr).ToNot(HaveOccurred())` instead (ginkgolinter)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L177
ginkgo-linter: wrong length assertion. Consider using `Expect(jobList.Items[0].Spec.Template.Spec.Containers).To(HaveLen(1))` instead (ginkgolinter)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L173
ginkgo-linter: wrong length assertion. Consider using `Expect(jobList.Items).To(HaveLen(1))` instead (ginkgolinter)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L367
Error return value of `k8sApiReader.List` is not checked (errcheck)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L318
Error return value of `k8sApiReader.List` is not checked (errcheck)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L237
Error return value of `k8sClient.Get` is not checked (errcheck)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L194
Error return value of `k8sClient.Get` is not checked (errcheck)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L171
Error return value of `k8sApiReader.List` is not checked (errcheck)
Run on Ubuntu: internal/controller/jobrequest_controller_test.go#L152
Error return value of `k8sClient.Get` is not checked (errcheck)