Skip to content

Sunm 36153 - update delayed_gem with Rails 6.1 compatible changes#6

Open
swatikri-ht wants to merge 37 commits into
ht-productionfrom
SUNM-36153/branch-3
Open

Sunm 36153 - update delayed_gem with Rails 6.1 compatible changes#6
swatikri-ht wants to merge 37 commits into
ht-productionfrom
SUNM-36153/branch-3

Conversation

@swatikri-ht

Copy link
Copy Markdown

No description provided.

pixeltrix and others added 30 commits July 18, 2023 16:36
Also bump the Ruby versions tested against.
While I believe 6 is the next planned release, plans can change.
Limit the rails 5.0 build matrix as 5.0 is no longer supported by the rails community. As with the other versions we don't have a good reason to break support but we don't need to tax travis building every combination.
This is a service we no longer use.
The term REMOVED was misleading when destroy_failed_jobs = false.
The term FAILED is not misleading, and is also used elsewhere in
similar contexts, so is more conventional.
It seems to be a preferred by the Rails team.
fix broken link
These are soon to be deprecated and render very poorly on most high density displays.

Here's a visual diff from a 2015 Retina MacBook Pro: 
http://link.olivierlacan.com/e15d4429a85f
However, the relaxed activerecord requirement is not yet in released versions of the gems
The divided load was triggering errors when encountering an unexpected load order. This allows the dependencies to properly load in any configuration.
It is very rare to hit this, but Rails uses it to handle class renames so data can deserialize after upgrading rails.

rails/rails@c3675f5#diff-0543aa8566327ece879b8ce6f394d391R185

This update allows us to handle either version of the load_tags data.
With the update to better handle disabling ActionMailer there is an edge case where Delayed::PerformableMailer isn't always loaded when it is needed.
New rails versions are cut and rails 6 actually requires it
@swatikri-ht swatikri-ht marked this pull request as ready for review July 19, 2023 06:08
@swatikri-ht swatikri-ht changed the title Sunm 36153/branch 3 Sunm 36153 - update delayed_gem with Rails 6.1 compatible changes Jul 19, 2023
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.

8 participants