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 all traces of old Sidekiq "worker" naming #1808

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

mike3985
Copy link
Contributor

@mike3985 mike3985 commented Jan 3, 2025

Sidekiq::Worker was deprecated a while back and
we switched over
to using Sidekiq::Job here and moved this file from app/workers.

I assume there's a reason that we kept these bits when we made those
changes. Some sort of compatibility issue?

Anyway, this setup is now preventing RSpec from running at all on my
machine. (I think it's the difference between the naming of the
MappingsBatchJob constant and its file.) So I'm hoping that it's not
needed anymore.

Sidekiq::Worker was deprecated a while back and
[we switched over](1817374)
to using Sidekiq::Job here and moved this file from app/workers.

I assume there's a reason that we kept these bits when we made those
changes. Some sort of compatibility issue?

Anyway, this setup is now preventing RSpec from running at all on my
machine. (I think it's the difference between the naming of the
MappingsBatchJob constant and its file.) So I'm hoping that it's not
needed anymore.
@mike3985 mike3985 requested a review from brucebolt January 3, 2025 15:13
@brucebolt
Copy link
Member

Ooh, good spot. Aliases were added temporarily so already queued jobs (with the old name) wouldn't fail when the new code was deployed.

I should've removed the alias after deploying the new code.

@mike3985 mike3985 merged commit 77750e1 into main Jan 3, 2025
11 checks passed
@mike3985 mike3985 deleted the mappings-batch-job-worker branch January 3, 2025 15:27
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.

2 participants