Removing job from recurring.yml does not remove job from recurring tasks tab in mission control

Open
#623 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
backend

Research direction

Start with config/recurring.yml and the SolidQueue::RecurringTask.static entry point, then review the behavior introduced by change #433. Reproduce by removing or commenting out the development job, restarting Solid Queue, and checking both recurring tasks in Mission Control and the static task list; done means the removed job no longer appears.

Written by the indexing model from the issue text.

Description

I'm testing a recurring job in development which works fine but when I comment it out or remove it from recurring.yml and restart the system, it still appears in the recurring tasks tab of mission control. From my understanding it should be removed especially with this change #433? I still see the job when I run SolidQueue::RecurringTask.static

We are new to solid_queue so we may have set something up incorrectly. We are using v1.2.1 and Rails 7.1.5.1. We are using the single database configuration and starting solid_queue with foreman (didnt set up the puma plugin).

Image
# config/recurring.yml
production:
  stats_import_yesterday_job:
    class: StatsImportYesterdayJob
    schedule: "at 12:05am every day"
staging:
  stats_import_yesterday_job:
    class: StatsImportYesterdayJob
    schedule: "at 12:05am every day"
dev:
  stats_import_yesterday_job:
    class: StatsImportYesterdayJob
    schedule: "at 12:05am every day"
#development:
#  stats_import_yesterday_job:
#    class: StatsImportYesterdayJob
#    schedule: "every minute"
Dominant language
Ruby
Stars
2.5k
Forks
250
Avg merge
7h 7m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rails/solid_queue

All issues in rails/solid_queue

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.