Skip to content
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

fix(repeatable): avoid delayed job deletion if next job already existed #2778

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

roggervalf
Copy link
Collaborator

@roggervalf roggervalf commented Sep 20, 2024

fixes #2744 as if a repeatable job is promoted and it's not removed after completion, we can readd same repeatable. This operation removes current delayed job, but after that we are adding a delayed job that have the same jobId, as a duplicate we just ignore to add a new delayed instance. We should validate that this job exists before removing it. ref #2776

Copy link
Contributor

@manast manast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@roggervalf roggervalf merged commit 6a851c1 into master Sep 20, 2024
10 checks passed
@roggervalf roggervalf deleted the fix-repeatable-promotion branch September 20, 2024 12:30
github-actions bot pushed a commit that referenced this pull request Sep 20, 2024
## [5.13.2](v5.13.1...v5.13.2) (2024-09-20)

### Bug Fixes

* **repeatable:** avoid delayed job deletion if next job already existed ([#2778](#2778)) ([6a851c1](6a851c1))
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.

Omission of Delayed creation for RepeatJob
2 participants