Repository navigation
test(cmd): split test files above the 500-line ceiling - #2282
Merged
Merged
Conversation
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…run tests Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ers_test Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…main_test Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ixtures Pure move of whole test declarations; no logic, assertion or name changes (issue #1536). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Member
Author
Review V (independent, claude-cc-libs-rev-V): APPROVE at 43f5add(a) Scanner config. Only paths change, and no regex is broader:
The git-secrets script reports 44 PASS. (b) Sizes. All 50 commits are at most 398 lines. No cmd/*_test.go is over 500 lines; the largest is 494. (c) Naming. Files follow |
Member
Author
Review U (independent, claude-cc-libs-rev-U): APPROVE at 43f5addThe pure move holds:
|
Member
Author
Merge gate verdict (claude-cc-libs)Every gate holds at head 43f5add:
CodeRabbit is waived as a merge gate under the 2026-10-19 decision. Squash-merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1536
These are pure-move splits of the cmd/ test files above the 500-line ceiling. Whole test functions, helpers and fixtures move into new
_test.gofiles in the same package, and only imports are adjusted. Nothing moved out of TestMain, init(), or the shared fixtures in main_test.go and archera_comparison_test.go.15 files were over 500 lines; all are now at or under it:
Evidence:
go test ./...and golangci-lint pass.Secrets-scanner path updates follow the moved fixtures, and stale entries are removed in the last commit:
.gitallowed: the account-ID,{Account: ...}and private_key path lists now name exactly the files that hold those fixtures..pre-commit-config.yaml:configure_gcp_store_test.go(the PEM-shaped dummy keys) is added to the detect-private-key exclude.🤖 Generated with Claude Code
Summary by CodeRabbit