-
Notifications
You must be signed in to change notification settings - Fork 132
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
Recurring schedule hides configuration errors #358
Comments
I also noticed a very odd behaviour:
|
Hmm... I'm not seeing this. When I pass an invalid path via |
I thought I'm just tired, but I can still replicate this behaviour - I'm testing it by adding a new task to Also this will no longer be an issue when passing an invalid path in any of these methods will result in an error. |
Could you copy the full command you're using to run Solid Queue in each case? |
Used commands:
Now I made a syntax error in the default |
What version are you running? What you describe sounds a lot like what was fixed in #345 🤔 This would have been included in |
I'm on Indeed the env variable seems to be simply ignored by cli, I got confused by the combination of these few issues. |
Ahhhh! So sorry about that! It should be fixed now 😅 About the issue with the configuration, yes, it's on my radar; I've got it in my plans to raise or print some warnings about invalid configuration. |
Raise please 😅 Also reading the code I could see that |
Hmm... I think this is standard for all Rails configurations 🤔 But yes, I'll enhance the example with this. |
When configuring recurring jobs I've noticed that SolidQueue is hiding configuration mistakes that make it difficult to catch potential errors:
SolidQueue::RecurringTask
's validation are silently filtered out without any errorSOLID_QUEUE_RECURRING_SCHEDULE
to a path that doesn't exist makes SolidQueue silently fall back to an empty scheduleExpected behaviour: above errors should trigger an exception.
The text was updated successfully, but these errors were encountered: