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
Upgrade Rails to 8.1.2 and modernize config (#703)
* Upgrade Rails to 8.1.2 and modernize defaults
* Fix RuboCop violations and PRODUCTION_HOST nil safety from PR review
- Add frozen_string_literal comments to boot.rb, ci.rb,
filter_parameter_logging.rb, and production.rb
- Use %i[] notation for symbol array in filter_parameter_logging.rb
- Fix Gemfile gem ordering (bootsnap before puma before thruster)
- Fix array bracket spacing in production.rb
- Use $stdout instead of STDOUT per Style/GlobalStdStream
- Remove nil fallback from ENV.fetch('PRODUCTION_HOST') so missing
config fails at boot instead of producing broken Action Cable URLs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add frozen_string_literal comments to fix RuboCop lint CI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Address PR review feedback: fix bin/ci, puma, ActionCable, and config defaults
- Rewrite bin/ci to use plain Ruby (TutorialCI module) instead of
non-existent ActiveSupport::ContinuousIntegration DSL
- Add test asset build step to CI pipeline
- Use bin/conductor-exec wrapper for all CI commands
- Restore worker_timeout 3600 for development in puma.rb
- Restore default thread count to 5 in puma.rb
- Comment out solid_queue plugin (gem not in Gemfile)
- Make PRODUCTION_HOST optional with conditional guard
- Make deprecation reporting configurable via RAILS_REPORT_DEPRECATIONS env var
- Restore conditional cache store toggle in development.rb
- Preserve to_time_preserves_timezone = false in application.rb
- Use action_cable_meta_tag for client-side WebSocket URL construction
- Add actionCableUrl.js helper to read cable URL from meta tag
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fix CI lint offenses and SSR ActionCable loading
* Fix ActionCable subscription leaks and remove deprecated config
- Store subscription ref from subscriptions.create() in CommentBox and
Stimulus comments_controller so cleanup actually works on unmount
- Add disconnect() to Stimulus controller to close WebSocket on teardown
- Remove deprecated to_time_preserves_timezone setting (no-op in Rails 8.1)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Remove unused listen gem
The listen gem was only needed for ActiveSupport::EventedFileUpdateChecker
in development.rb, which was removed during the Rails 8.1 config
modernization. Rails 8.1 defaults to polling without it.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments