Closed SteffanPerry closed 5 months ago
Do you have a sample application?
Is the event lambda and sqs being created?
Tried on a couple different apps unable to reproduce.
Thanks for taking a look. I'm gonna destroy everything then bring it back up to see if I can repro as well.
But no the sqs and lambdas are not being created.
Did you set ?
config.active_job.queue_adapter = :jets_job
@SteffanPerry Thanks for the report. Found some edge case issues with jobs. Will take a closer look soon. Just wanted to let you know so you don’t spin cycles.
The edge case issues should be fixed. Fixed in #727
For posterity:
Checklist
jets upgrade
command that makes this a simple task. There's also an Upgrading Guide: http://rubyonjets.com/docs/upgrading/My Environment
Expected Behaviour
When jobs are enabled via
config.job.enable = true
in deploy.rb, the jobs in app/jobs/* will be deployed.Current Behavior
After enabling jobs, none of the jobs in the app/job/directory have been created. This is using the latest rails 7.x, ruby 3.3.0, and jets 6.0
Step-by-step reproduction instructions
Create a rails/jets application. Create a api endpoint Deploy the api add a job (active job) and enable jobs in the deploy.rb config. deploy jets again.
Code Sample
Solution Suggestion