Skip to content

feat: allow using a pattern of file to specify multiple configurations of recurring tasks #620

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ThomasCrambert
Copy link
Contributor

@ThomasCrambert ThomasCrambert commented Aug 8, 2025

Having only one file to configure recurring tasks is not optimal when handling several engines within the same codebase that are isolated from each other.

With these changes, it will be possible to define a pattern of config file paths (eg: engines/*/config/solid_queue/recurring.yml).

Note:

  • Should this new configuration option be available as well from the CLI? As it felt very advanced usage, I would say it should be configurable only via an initializer.
  • Should this option be in addition of recurring_schedule_file? I can see a use case where transversal tasks are defined config/recurring.yml and others more oriented toward business topics are defined in engines/*/config/solid_queue/recurring.yml

@ThomasCrambert ThomasCrambert marked this pull request as ready for review August 8, 2025 14:26
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.

1 participant