Skip to content

fix: track solid_cable main for Rails 8.2 cable adapterization - #49

Merged
iuhoay merged 1 commit into
mainfrom
fix/solid-cable-rails-main-compat
Jul 16, 2026
Merged

iuhoay merged 1 commit into
mainfrom
fix/solid-cable-rails-main-compat

Conversation

@iuhoay

@iuhoay iuhoay commented Jul 16, 2026

Copy link
Copy Markdown
Owner

The "load full text" Turbo Stream never reached the entry page in production. Every /cable WebSocket upgraded fine but died server-side in handle_open with NoMethodError (undefined method 'mutex' for nil) before the welcome frame — solid_cable 4.0.0 still reads @server, which Rails main's Action Cable adapterization refactor removed from SubscriptionAdapter::Base.

This pins solid_cable to its main branch (locked at c968ba7), which carries the upstream fix (rails/solid_cable#80) plus a reconnect hardening fix. Development never showed the bug because the async adapter lives in Rails' tree and was updated together with the refactor.

Revert to the rubygems release once a version newer than 4.0.0 ships. Verified locally by driving the solid_cable adapter end-to-end (subscribe → confirm → broadcast → receive) against the dev database.

🤖 Generated with Claude Code

solid_cable 4.0.0 still reads @server, which Rails main's Action Cable
adapterization refactor removed from SubscriptionAdapter::Base. Every
/cable connection in production died in handle_open with
NoMethodError (undefined method 'mutex' for nil) before the welcome
frame, so turbo_stream_from never confirmed and EntryScrapeJob's
"load full text" broadcasts reached nobody. Dev hid it because the
async adapter lives in-tree and was updated with the refactor.

Pin the gem to rails/solid_cable main (locked at c968ba7), which
carries the fix (rails/solid_cable#80) plus a reconnect hardening fix.
Revert to the release once a version newer than 4.0.0 ships.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@iuhoay
iuhoay merged commit 511896b into main Jul 16, 2026
5 checks passed
@iuhoay
iuhoay deleted the fix/solid-cable-rails-main-compat branch July 16, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant