Remove Swift file length budget
Merged
AZ
5mo ago+37+37+01234567890123456789-1396-1396-0123456789012345678901234567890123456789
Summary
- remove the Swift file-length budget, checker, and checker tests
- remove the workflow gate and numeric file-size review rules
- retain Swift package-boundary architecture review
Testing
- parsed
.github/workflows/ci.ymland.coderabbit.yamlwith Ruby YAML - validated Greptile JSON with
jq python3 tests/test_ci_change_areas.py- confirmed no file-length budget references remain
Issues
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.
Summary by cubic
Removed the Swift file-length budget and its CI gate, and shifted reviews to focus on SwiftPM package boundaries instead. This simplifies CI and keeps architectural review intact.
- Refactors
- Deleted
.github/swift-file-length-budget.tsv,scripts/swift_file_length_budget.py, andtests/test_ci_swift_file_length_budget.sh; removed related steps fromci.yml. - Replaced
swift-file-package-boundaries.mdwithswift-package-boundaries.md; updated references and rule IDs in.coderabbit.yaml,.github/review-bot-rules/README.md,.greptile/config.json,.greptile/files.json, and.greptile/rules.md. - Updated two Swift test/comment notes to drop file-length budget mentions.
- Deleted
Summary by CodeRabbit
-
Chores
- Updated Swift package-boundary review guidance to focus on independently testable and reusable app logic.
- Removed automated Swift file-length budget checks and related tooling.
-
Documentation
- Replaced the previous Swift file/package boundary guidance with package-focused documentation.
- Updated review-bot configuration and rule indexes to reference the revised guidance.
-
Tests
- Removed tests associated with the retired Swift file-length budget checks.
- Clarified comments describing ownership and account/team boundaries.