8000 Fix: keep the existing dependent_jobs value on updating an existing job by indeedhat · Pull Request #1761 · distribworks/dkron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: keep the existing dependent_jobs value on updating an existing job #1761

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 1 commit into
base: main
Choose a base branch
from

Conversation

indeedhat
Copy link
@indeedhat indeedhat commented Jun 24, 2025

Proposed changes

Instructs the store to include existing dependent_jobs on job update.
Currently the dependent_jobs slice gets reset to nil on updating an existing job, this breaks the job chaining feature.

EDIT: i forgot to mention with the original post, This is only a problem when using the API to update a job, when using the web ui the dependent_jobs field is pulled from the existing job payload and sent along with the update request.

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

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
0