Skip to content

Target Rails main; drop actioncable-next dependency.#7

Merged
samuel-williams-shopify merged 2 commits into
mainfrom
next
May 29, 2026
Merged

Target Rails main; drop actioncable-next dependency.#7
samuel-williams-shopify merged 2 commits into
mainfrom
next

Conversation

@samuel-williams-shopify
Copy link
Copy Markdown
Contributor

@samuel-williams-shopify samuel-williams-shopify commented May 29, 2026

The ActionCable::Server::Socket abstraction (rails/rails#50979) is now available in Rails main (8.1+), so the actioncable-next shim is no longer required.

This branch tracks Rails main. The main branch continues to support stable Rails via actioncable-next.

Types of Changes

  • New feature.
  • Maintenance.

Contribution

The ActionCable::Server::Socket abstraction (rails/rails#50979) is now
available in Rails main (8.1+), so the actioncable-next shim is no
longer required.

This branch tracks Rails main. The main branch continues to support
stable Rails via actioncable-next.
Adds tests for:
- Socket#request (both with and without Rails.application).
- Socket#run rescue branch (websocket raising during send).
- Middleware fall-through to inner app for non-websocket requests.
- Middleware#allow_request_origin? same-host, allowed, and denied paths.
- Middleware#handle_incoming_websocket abnormal-failure rescue.

Brings line coverage from 81.58% to 100.0%.
@samuel-williams-shopify samuel-williams-shopify merged commit 5130759 into main May 29, 2026
36 of 40 checks passed
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