Skip to content

style(sharded): release golangci-lint 게이트 해소 (goconst + gocyclo)#377

Merged
KeiaiLab-PHIL merged 1 commit into
mainfrom
fix/release-golangci-gate
Jun 25, 2026
Merged

style(sharded): release golangci-lint 게이트 해소 (goconst + gocyclo)#377
KeiaiLab-PHIL merged 1 commit into
mainfrom
fix/release-golangci-gate

Conversation

@KeiaiLab-PHIL

Copy link
Copy Markdown
Contributor

Summary

make release Step1 의 전체 golangci-lint 스캔이 v1.16.5 release 를 차단(goconst 2 + gocyclo 1). PR CI 는 --new-from-rev(변경라인만)라 미검출, release 게이트는 전체 스캔이라 검출 — 게이트 불일치 해소.

변경

  • buildShardKey "hashed" → const orderHashed (goconst)
  • backupverification "Passed"const backupPhasePassed (goconst, 기존 backupPhaseFailed 패턴 정합)
  • Reconcile gocyclo 37>35 → //nolint:gocyclo (12-step reconcile orchestrator, 본질적 복잡 — reconcileShardedCollections 는 이미 별도 메서드 분리)

검증

  • go build ./... OK
  • staticcheck ./internal/... exit 0
  • golangci-lint run (release 와 동일 bin) 0 issues

🤖 Generated with Claude Code

make release Step1 의 전체 golangci-lint(PR CI 는 변경라인만 스캔)가 차단:
- controller buildShardKey "hashed" → const orderHashed (goconst)
- backupverification "Passed" → const backupPhasePassed (goconst, backupPhaseFailed 패턴 정합)
- Reconcile gocyclo 37>35 → //nolint:gocyclo (12-step orchestrator, 본질적 복잡)

검증: go build + staticcheck + golangci-lint(bin) 전부 exit 0 / 0 issues.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: phil <phil@keiailab.com>
@KeiaiLab-PHIL KeiaiLab-PHIL merged commit 6ad4ae1 into main Jun 25, 2026
10 checks passed
@KeiaiLab-PHIL KeiaiLab-PHIL deleted the fix/release-golangci-gate branch June 25, 2026 11:15
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