Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove QueAdapter from Active Job #46005

Merged
merged 1 commit into from Sep 12, 2022
Merged

Remove QueAdapter from Active Job #46005

merged 1 commit into from Sep 12, 2022

Conversation

yahonda
Copy link
Member

@yahonda yahonda commented Sep 12, 2022

Motivation / Background

Que and Rails (Active Job QueAdapter) have applied changes each other to support Ruby 3 keyword arguments and options provided as top level keywords, etc via these commits:

#44734
#44248
que-rb/que@d9244b9 via que-rb/que#319

Finally, we've found it is quite difficult to maintain them. Going forward Active Job Que adapter can be included in the future version of que gem itself. Refer to #45899 the background for this change.

Active Job Que adapter can be included in the future version of que gem itself.

Detail

This Pull Request removes QueAdapter from Active Job.

Additional information

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
  • There are no typos in commit messages and comments.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Feature branch is up-to-date with main (if not - rebase it).
  • Pull request only contains one commit for bug fixes and small features. If it's a larger feature, multiple commits are permitted but must be descriptive.
  • Tests are added if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.
  • PR is not in a draft state.
  • CI is passing.

@rails-bot rails-bot bot added the activejob label Sep 12, 2022
Que and Rails (Active Job QueAdapter) have applied changes each other
to support Ruby 3 keyword arguments and options provided as top level keywords, etc
via these commits:

rails#44734
rails#44248
que-rb/que@d9244b9 via que-rb/que#319

Finally, we've found it is quite difficult to maintain them.
Going forward Active Job Que adapter can be included in the future version of que gem itself.
Refer to rails#45899 the background for this change.

Active Job Que adapter can be included in the future version of que gem itself.
@yahonda
Copy link
Member Author

yahonda commented Sep 12, 2022

cc @ZimbiX @sidonath

@yahonda yahonda merged commit 1f7676e into rails:main Sep 12, 2022
ZimbiX added a commit to que-rb/que that referenced this pull request Oct 9, 2023
This no longer exists in Rails, but is still needed. I simply copied the class from the [removal PR](rails/rails#46005), and removed the unnecessary comments, and adjusted the formatting slightly.

(Tests not yet passing)
maxschridde1494 pushed a commit to talysto/que that referenced this pull request Oct 24, 2023
This no longer exists in Rails, but is still needed. I simply copied the class from the [removal PR](rails/rails#46005), and removed the unnecessary comments, and adjusted the formatting slightly.

(Tests not yet passing)
@yahonda yahonda deleted the diag45899 branch April 19, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants