Skip to content

[WIP] Refactor xset apis #272

[WIP] Refactor xset apis

[WIP] Refactor xset apis #272

Triggered via pull request September 3, 2025 11:03
Status Failure
Total duration 1m 55s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Golang Lint: xset/synccontrols/x_scale.go#L280
rangeValCopy: each iteration copies 248 bytes (consider pointers or indexing) (gocritic)
Golang Lint: xset/synccontrols/x_scale.go#L228
rangeValCopy: each iteration copies 248 bytes (consider pointers or indexing) (gocritic)
Golang Lint: xset/synccontrols/sync_control.go#L153
appendAssign: append result not assigned to the same slice (gocritic)
Golang Lint: xset/synccontrols/sync_control.go#L152
appendAssign: append result not assigned to the same slice (gocritic)
Golang Lint: xset/subresources/pvc_control.go#L525
rangeValCopy: each iteration copies 448 bytes (consider pointers or indexing) (gocritic)
Golang Lint: xset/subresources/pvc_control.go#L384
rangeValCopy: each iteration copies 448 bytes (consider pointers or indexing) (gocritic)
Golang Lint: xset/subresources/pvc_control.go#L361
rangeValCopy: each iteration copies 248 bytes (consider pointers or indexing) (gocritic)
Golang Lint: xset/subresources/pvc_control.go#L305
sloppyReassign: re-assignment to `err` can be replaced with `err := pc.client.List(ctx, orphanedPvcList, &client.ListOptions{Namespace: xset.GetNamespace(), LabelSelector: selector})` (gocritic)
Golang Lint: xset/subresources/pvc_control.go#L286
appendCombine: can combine chain of 3 appends into one (gocritic)
Golang Lint: xset/subresources/pvc_control.go#L164
rangeValCopy: each iteration copies 448 bytes (consider pointers or indexing) (gocritic)
License Check
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.