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

♻️ Preparing Splitter Service Swap for DerivativeRodeo #249

Merged
merged 1 commit into from
May 30, 2023

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented May 30, 2023

This commit is a refactor in-place. The primary goal is to allow for passing the file_set to the child works; something that is ideal for the derivative rodeo's interface.

This is intended to be a swap-in-place change. That is to say, if we deploy this change and have already enqueued jobs, nothing will fail nor break. The past enqueued jobs (with a work) will use the work based logic but future enqueueings will use file_set.

In using the file_set, we also avoid the issue of having passing a nil as the parent, and thus creating an infinite rescheduling cycle.

Related to:

Story

Refs #issuenumber

Expected Behavior Before Changes

Expected Behavior After Changes

Screenshots / Video

Notes

This commit is a refactor in-place.  The primary goal is to allow for
passing the file_set to the child works; something that is ideal for the
derivative rodeo's interface.

This is intended to be a swap-in-place change.  That is to say, if we
deploy this change and have already enqueued jobs, nothing will fail nor
break.  The past enqueued jobs (with a work) will use the work based
logic but future enqueueings will use file_set.

In using the file_set, we also avoid the issue of having passing a `nil`
as the parent, and thus creating an infinite rescheduling cycle.

Related to:

- #220
@jeremyf jeremyf requested a review from kirkkwang May 30, 2023 15:25
Copy link
Contributor

@kirkkwang kirkkwang left a comment

Choose a reason for hiding this comment

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

Looks good!

@jeremyf jeremyf merged commit ade8f34 into main May 30, 2023
@jeremyf jeremyf deleted the refactor-for-i220 branch May 30, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants