You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve RBS type checking implementation and documentation
Critical Fixes:
- Fix bundle exec consistency in rbs.rake for both rbs and steep tasks
- Add comprehensive error handling for runtime type checking in run_rspec.rake
- Fix type signature accuracy: Array[untyped] -> Array[String] in Pro configuration
- Rewrite cache.rbs to match actual implementation (was describing non-existent method)
Enhanced Runtime Type Checking:
- Extract runtime checking into reusable rbs_runtime_env_vars helper
- Extend coverage to :dummy and :dummy_no_turbolinks tasks
- Add opt-in mechanism via ENV["ENABLE_RBS_RUNTIME_CHECKING"]
- Add comprehensive documentation explaining coverage strategy per Evil Martians best practices
Documentation Improvements:
- Add extensive Steepfile documentation explaining positive-list approach
- Document all intentionally excluded files/directories with reasons
- Add step-by-step guide for adding new files to type checking
- Explain why bundle exec is necessary even in rake context
Configuration:
- Add Steepfile to RuboCop Naming/FileName exclusions
- Alphabetically order checked files for easy maintenance
All changes improve type safety, prevent silent failures, and make the
system more maintainable for future developers.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments