Skip to content

chore: golangci-lint 부채 해소 + chart icon branding 정정#305

Merged
KeiaiLab-PHIL merged 1 commit into
mainfrom
chore/lint-branding-cleanup
Jun 30, 2026
Merged

chore: golangci-lint 부채 해소 + chart icon branding 정정#305
KeiaiLab-PHIL merged 1 commit into
mainfrom
chore/lint-branding-cleanup

Conversation

@KeiaiLab-PHIL

Copy link
Copy Markdown
Contributor

요약

main CI 의 기존(pre-existing) lint/test red 정리 — 직전 commons 채택 PR(#304)과 무관한 repo 부채.

항목 수정
cluster_reintegrate.go rangeint ×4 for i:=0;i<N;i++for i:=range N
valkeyrestore_controller_test.go newexpr ptr.Tonew + 미사용 import 제거
servicemonitor_test.go goimports import 그룹 재정렬
statefulset.go unparam clusterAnnounceCommand 항상-nil 2nd return 제거 (거동 동일)
Chart.yaml branding icon → valkey.io/img/valkey-horizontal.svg (TestChartIconURL… 통과)

검증

gofmt 0 / golangci-lint 0 issues / go build OK / branding+resources test ok / controller envtest 전체 suite ok (17.1s)

🤖 Generated with Claude Code

main CI 의 기존(pre-existing) lint/test red 를 정리 (코드품질·일관성).

- cluster_reintegrate.go: rangeint ×4 (for i:=0;i<N;i++ → for i:=range N).
- valkeyrestore_controller_test.go: newexpr (ptr.To → new) + 미사용 ptr import 제거.
- servicemonitor_test.go: goimports import 그룹 재정렬 (stdlib/external/local).
- statefulset.go: clusterAnnounceCommand unparam — 항상 nil 인 2nd return 제거,
  호출 측 Args=nil 명시 (거동 동일).
- Chart.yaml: icon → https://valkey.io/img/valkey-horizontal.svg
  (TestChartIconURLUsesCurrentValkeyAsset 통과 — 과거 404 자산 정정).

검증: gofmt 0 / golangci-lint 0 issues / go build OK / branding+resources test ok /
KUBEBUILDER_ASSETS=… controller envtest 전체 suite ok (17.1s).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: phil <phil@keiailab.com>
@KeiaiLab-PHIL KeiaiLab-PHIL merged commit fc1adc1 into main Jun 30, 2026
17 of 18 checks passed
@KeiaiLab-PHIL KeiaiLab-PHIL deleted the chore/lint-branding-cleanup branch June 30, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant