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

Bug 1818021 - Implement observedDigest #842

Merged
merged 7 commits into from Apr 28, 2020

Conversation

ibolton336
Copy link
Contributor

@ibolton336 ibolton336 commented Apr 27, 2020

@ibolton336 ibolton336 requested a review from a team April 27, 2020 21:13
@ibolton336 ibolton336 marked this pull request as draft April 27, 2020 21:14
@ibolton336 ibolton336 marked this pull request as ready for review April 28, 2020 15:04
@eriknelson eriknelson changed the title Implement observedDigest Bug 1818021 - Implement observedDigest Apr 28, 2020
if (isRerunPVDiscovery) {
const updatedGeneration = updatedPlan.status.observedDigest;
const oldGeneration = currentPlan.status.observedDigest;
if (updatedGeneration === oldGeneration) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we update each of these return paths with a comment that describes the specific case?

@eriknelson
Copy link
Contributor

I've tested this on 3->3 and 3->4 migrations and had good success with both, this even repairs a number of edit problems we've had previously:

ObservedDigestSuccess

Really happy to see this come together, thank you @ibolton336!

Want to follow up on the comments because I'm having a hard time following but I think this is looking good.

@eriknelson eriknelson merged commit 150ee02 into migtools:master Apr 28, 2020
@ibolton336 ibolton336 deleted the wizard-refactoring branch October 27, 2020 16:10
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.

Re-running PV discovery shows wrong info when navigating back & changing namespaces
2 participants