Hi everyone,
I wanted to ask about the preferred way to move forward with a contribution that has been sitting unattended for a couple of months due to an initial wrong approach.
I have an open PR where I received some early review and direction, but after revisiting it now, I realize that the current implementation has drifted quite a bit from what would be considered the right approach. Cleaning it up would effectively mean reworking most of the changes.
In such situations, is it generally recommended to:
-
Close the existing PR and open a fresh one with the corrected approach, or
-
Keep the same PR and push a reset (or large rework) commit that aligns the implementation with the intended direction?
I would prefer not to lose the context and initial review that happened on the original PR, but at the same time the current state of the PR is quite messy.
Would appreciate guidance on what is considered best practice in these cases.
Thanks!