Skip to content

feat: Add retention policy for available releases cleanup #260

feat: Add retention policy for available releases cleanup

feat: Add retention policy for available releases cleanup #260

Triggered via pull request January 3, 2026 15:09
Status Failure
Total duration 2m 12s
Artifacts

lint.yml

on: pull_request
Run on Ubuntu
2m 9s
Run on Ubuntu
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run on Ubuntu: internal/controller/rollout_controller.go#L722
cyclomatic complexity 32 of func `(*RolloutReconciler).evaluateGates` is high (> 30) (gocyclo)
Run on Ubuntu: internal/controller/rollout_controller.go#L1582
cyclomatic complexity 41 of func `(*RolloutReconciler).handleBakeTime` is high (> 30) (gocyclo)
Run on Ubuntu: internal/controller/rollout_controller.go#L1074
cyclomatic complexity 46 of func `(*RolloutReconciler).deployRelease` is high (> 30) (gocyclo)
Run on Ubuntu: internal/controller/rollout_controller.go#L483
cyclomatic complexity 48 of func `(*RolloutReconciler).parseOCIManifest` is high (> 30) (gocyclo)
Run on Ubuntu: internal/controller/rollout_controller.go#L105
cyclomatic complexity 65 of func `(*RolloutReconciler).Reconcile` is high (> 30) (gocyclo)
Run on Ubuntu: internal/controller/rollout_controller.go#L198
string `true` has 4 occurrences, make it a constant (goconst)
Run on Ubuntu: internal/controller/rollout_controller_test.go#L3183
string `1.0.0` has 4 occurrences, make it a constant (goconst)
Run on Ubuntu: internal/controller/rollout_controller_test.go#L260
string `3.0.0` has 4 occurrences, make it a constant (goconst)
Run on Ubuntu: internal/controller/rollout_controller_test.go#L240
string `2.0.0` has 5 occurrences, make it a constant (goconst)
Run on Ubuntu: internal/controller/healthcheck_controller.go#L73
string `kustomization` has 3 occurrences, make it a constant (goconst)