Skip to content

fix for sporadic porch crash during new package revision #15

fix for sporadic porch crash during new package revision

fix for sporadic porch crash during new package revision #15

Re-run triggered December 12, 2024 15:26
Status Success
Total duration 42s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lint: controllers/main.go#L46
could not import github.com/nephio-project/porch/controllers/packagevariants/pkg/controllers/packagevariant (-: # github.com/nephio-project/porch/controllers/packagevariants/pkg/controllers/packagevariant
lint: controllers/packagevariants/pkg/controllers/packagevariant/packagevariant_controller.go#L599
invalid operation: downstream.Status != nil (mismatched types "github.com/nephio-project/porch/api/porch/v1alpha1".PackageRevisionStatus and untyped nil)
lint: controllers/packagevariants/pkg/controllers/packagevariant/packagevariant_controller.go#L601
invalid operation: upstreamLock.Git.Ref != nil (mismatched types string and untyped nil)) (typecheck)
lint: controllers/packagevariants/pkg/controllers/packagevariant/packagevariant_controller.go#L599
invalid operation: downstream.Status != nil (mismatched types "github.com/nephio-project/porch/api/porch/v1alpha1".PackageRevisionStatus and untyped nil)
lint: controllers/packagevariants/pkg/controllers/packagevariant/packagevariant_controller.go#L601
invalid operation: upstreamLock.Git.Ref != nil (mismatched types string and untyped nil) (typecheck)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636