Remove Swift file length budget

Merged
AZ
5mo ago
+37-1396

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.yml and .coderabbit.yaml with Ruby YAML
  • validated Greptile JSON with jq
  • python3 tests/test_ci_change_areas.py
  • confirmed no file-length budget references remain

Issues


View with Codesmith Autofix with Codesmith
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, and tests/test_ci_swift_file_length_budget.sh; removed related steps from ci.yml.
    • Replaced swift-file-package-boundaries.md with swift-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.

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.