Repository navigation
Remove Swift file length budget - #8125
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. Warning Ignoring CodeRabbit configuration file changes. For security, only the configuration from the base branch is applied for open source repositories. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThe PR replaces Swift file/package boundary guidance with SwiftPM package-boundary guidance, removes Swift file-length budget CI tooling and tests, and updates related comments and rule indexes. ChangesSwift package-boundary policy
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR removes the Swift file-length budget system entirely — the checked-in TSV table, the Python checker script, its bash integration-test harness, and the two CI workflow steps that invoked them — while narrowing the combined
Confidence Score: 5/5Safe to merge — all deletions are self-consistent, no references to the removed files remain, and the only Swift changes are comment updates in a test file and a production comment block. Every removed artifact (TSV budget, Python script, bash test harness, CI steps, rule file, README entry, Greptile config entry) is cleaned up in lockstep. No production logic is touched; the two Swift file edits are comment-only. The new swift-package-boundaries.md rule fully covers the retained enforcement scope. No files require special attention. All cross-references between the deleted files and their consumers are consistently updated. Important Files Changed
Reviews (1): Last reviewed commit: "Remove Swift file length budget" | Re-trigger Greptile |
Summary
Testing
.github/workflows/ci.ymland.coderabbit.yamlwith Ruby YAMLjqpython3 tests/test_ci_change_areas.pyIssues
Need help on this PR? Tag
/codesmithwith 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.
.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.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.Written for commit 58eb6f8. Summary will update on new commits.
Summary by CodeRabbit
Chores
Documentation
Tests