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

api: set the job submission during job reversion #17097

Merged
merged 2 commits into from
May 8, 2023

Conversation

shoenig
Copy link
Member

@shoenig shoenig commented May 5, 2023

This PR fixes a bug where the job submission would always be nil when
a job goes through a reversion to a previous version. Basically we need
to detect when this happens, lookup the submission of the job version
being reverted to, and set that as the submission of the new job being
created.

No CL/BP; this is for a 1.6 feature

This PR fixes a bug where the job submission would always be nil when
a job goes through a reversion to a previous version. Basically we need
to detect when this happens, lookup the submission of the job version
being reverted to, and set that as the submission of the new job being
created.
This e2e test ensures a reverted job inherits the job submission
associated with the version of the job being reverted to.
@shoenig shoenig added this to the 1.6.0 milestone May 5, 2023
@shoenig shoenig marked this pull request as ready for review May 8, 2023 19:05
@shoenig shoenig requested review from tgross and gulducat May 8, 2023 19:06
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM

@shoenig shoenig merged commit 8dff1f7 into main May 8, 2023
@shoenig shoenig deleted the api-reversion-submission branch May 8, 2023 19:18
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.

2 participants