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

AO3-6901 Use ActiveJob for asynchronous indexing #5055

Merged
merged 5 commits into from
Feb 12, 2025

Conversation

redsummernight
Copy link
Member

Issue

https://otwarchive.atlassian.net/browse/AO3-6901

Purpose

Move the asynchronous part of AsyncIndexer to Active Job.

I thought about setting config.active_job.queue_adapter = :test for all of the test environment, but that broke too many things, including all Cucumber tests expecting emails sent with deliver_later. On top of that, pre-7.2 Rails does not consistently follow that setting which complicates things (rails/rails#48585). I'm keeping test updates simple for now.

Testing Instructions

See issue.

@brianjaustin brianjaustin merged commit ddc7157 into otwcode:master Feb 12, 2025
29 checks passed
@redsummernight redsummernight deleted the test/activejob branch February 12, 2025 20:07
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.

4 participants