-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fixes #833 Delete all next-gen versions on restore original image #835
Conversation
…ersions button (#805)
Testing in progress... |
Thank you for the PR @Tabrisrp. |
Yes, that sounds like a regression. @Tabrisrp the lossless/smart compression is related to the image optimization only, not the generation of webp/avif, right? |
The lossless level also applies to the next-gen versions, so it makes sense to delete and re-create them too |
@Tabrisrp Looks like @Mai-Saad and @jeawhanlee were correct here. Currently in 2.2 we're not touching the version that's not enabled. Is this a big effort to redo this change? |
It would mean to go back to the previous state, so the issue this PR is fixing would not be fixed. Re-optimizing process is first restore the original, then optimize again with new settings, so it uses the same underlying restore methods. |
@piotrbak how can we align on the expected behavior to move forward? Should we set up a quick call this afternoon or not needed? |
@MathieuLamiot I think we're okay with what @Tabrisrp explained. @Mai-Saad We'll need to update the TCs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Correctly delete all next-gen versions on restore original image by passing the second parameter of the methods to true
Fixes #833
Type of change
Checklists
Feature validation
Code style