-
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 #1
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+
PR Reviewer Guide 🔍
|
/improve |
PR Code Suggestions ✨Latest suggestions up to 189a307
Previous suggestionsSuggestions up to commit 189a307
|
@trobz-bot /describe |
/describe |
PR Description updated to latest commit (189a307) |
/help |
PR Agent Walkthrough 🤖Welcome to the PR Agent, an AI-powered tool for automated pull request analysis, feedback, suggestions and more. Here is a list of tools you can use to interact with the PR Agent:
(1) Note that each tool be triggered automatically when a new PR is opened, or called manually by commenting on a PR. (2) Tools marked with [*] require additional parameters to be passed. For example, to invoke the |
@trobz-bot /describe |
@trobz-bot /ask how many tests are impacted by these changes? |
@trobz-bot /describe |
PR Description updated to latest commit (189a307) |
@trobz-bot /help |
PR Agent Walkthrough 🤖Welcome to the PR Agent, an AI-powered tool for automated pull request analysis, feedback, suggestions and more. Here is a list of tools you can use to interact with the PR Agent:
(1) Note that each tool be triggered automatically when a new PR is opened, or called manually by commenting on a PR. (2) Tools marked with [*] require additional parameters to be passed. For example, to invoke the |
@trobz-bot /help |
PR Type
Bug fix, Enhancement, Tests
Description
_get_common_dependent_jobs_query
.enqueue_waiting
method to use the centralized query.cancel_dependent_jobs
to handle the cancellation of dependent jobs when a parent job is cancelled.Changes walkthrough 📝
job.py
Refactor and enhance job dependency handling
queue_job/job.py
_get_common_dependent_jobs_query
method to centralize SQL query.enqueue_waiting
to use the new query method.cancel_dependent_jobs
to handle cancellation of child jobs.queue_job.py
Ensure child jobs update on state change
queue_job/models/queue_job.py
updated.
cancel_dependent_jobs
when a job is cancelled.test_job.py
Add tests for job dependency state transitions
test_queue_job/tests/test_job.py
enqueue_waiting
andcancel_dependent_jobs
.