Activate Solid Cable for production Action Cable#3535
Open
Rolling2405 wants to merge 3 commits intoDARIAEngineering:mainfrom
Open
Activate Solid Cable for production Action Cable#3535Rolling2405 wants to merge 3 commits intoDARIAEngineering:mainfrom
Rolling2405 wants to merge 3 commits intoDARIAEngineering:mainfrom
Conversation
Re-enable solid_cable adapter in cable.yml for production. Schema (cable_schema.rb) already exists. Replaces async adapter which only works within a single process. Polling interval: 0.1s, message retention: 1 day. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Creates lib/tasks/solid.rake with a 'solid:setup' task that: - Creates and migrates Solid Cache, Cable, and Queue databases - Handles pre-existing databases gracefully (skips creation) - Falls back to loading schema files if no migrations exist - Reconnects to primary database after setup - Works across all Rails environments Note: This file is duplicated on feature/activate-solid-cache. When merging, whichever PR merges second will have no merge conflict since the file content is identical. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Change 'rescue => e' to 'rescue StandardError => e' in solid.rake to avoid catching non-standard exceptions like SignalException. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I rule and have completed some work on Case Manager that's ready for review!
This activates Solid Cable as the Action Cable adapter in production, enabling real-time WebSocket features (like live notifications) to work without needing a separate Redis server.
This pull request makes the following changes:
For reviewer:
featureif it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.dependenciesif it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.