-
Notifications
You must be signed in to change notification settings - Fork 0
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
14.0 imp queue job chained job #2
base: 14.0
Are you sure you want to change the base?
Conversation
- an explicit flush is needed or child jobs won't be updated - no need to forward port, this was fixed already in 16.0+
@trobz-bot /help |
Trobz Bot 🤖Here are the supported commands:
|
@trobz-bot /describe |
PR Description updated to latest commit (189a307) |
@trobz-bot /improve |
PR Code Suggestions ✨
|
PR Type
Bug fix, Enhancement, Tests
Description
_get_common_dependent_jobs_query
method.enqueue_waiting
method to use the refactored query.cancel_dependent_jobs
method to handle child job cancellations.Changes walkthrough 📝
job.py
Refactor and enhance job dependency handling
queue_job/job.py
_get_common_dependent_jobs_query
method to refactor common SQLquery.
enqueue_waiting
method to use the new query method.cancel_dependent_jobs
method to handle cancellation ofchild jobs.
queue_job.py
Ensure child job state updates and handle cancellations
queue_job/models/queue_job.py
updated.
cancel_dependent_jobs
when a job is cancelled.test_job.py
Add tests for job dependency state changes and cancellations
test_queue_job/tests/test_job.py
test_button_done_enqueue_waiting_dependencies
to verifydependent job state changes.
test_button_cancel_dependencies
to verify dependent jobcancellations.