You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contributor's push did not invalidate previous review #196417
changed the title [-]contributors push did not invalidate previous review[/-][+]Contributor's push did not invalidate previous review[/+]on Nov 12, 2026
When the contributor pushed from a3d2a70 to 16c7e6d, it should have dismissed Dan's review.
That behavior was never turned on for flutter/packages; pushes have never invalidated approvals there, we have always just relied on the final reviewer to determine whether an earlier approval should be re-requested based on the changes.
I understand the safety benefits of dismissing stale approvals, but I think this can add quite a bit of friction for larger or federated plugin PRs in flutter/packages, especially changes involving multiple platforms, like camera.
Contributors often start with a larger PR to validate the overall approach across the platform interface, native implementations, and app-facing package before splitting it up or getting everything reviewed together.
These PRs naturally take longer to review, and conflicts in CHANGELOG.md or pubspec.yaml are pretty common while waiting for reviews. The issue is that even a trivial conflict resolution or version bump dismisses all existing approvals and starts the review process over, even when none of the actual implementation code has changed.
Could we consider a more targeted approach in Cocoon instead of GitHub's blanket dismissal? For example, only invalidating approvals when changes after a review touch files other than CHANGELOG.md or the version: field in pubspec.yaml, or otherwise rethinking how multi-package/federated plugin changes are submitted and reviewed.
These PRs naturally take longer to review, and conflicts in CHANGELOG.md or pubspec.yaml are pretty common while waiting for reviews.
The approval bit on the combo PR doesn't actually matter, because it's not submitted in that form. What matters is just that all the stakeholders have reviewed it and LGTM'd it so the submittable PRs can be started.
Activity
[-]contributors push did not invalidate previous review[/-][+]Contributor's push did not invalidate previous review[/+]stuartmorgan commentedon Nov 12, 2026
That behavior was never turned on for flutter/packages; pushes have never invalidated approvals there, we have always just relied on the final reviewer to determine whether an earlier approval should be re-requested based on the changes.
eyebrowsoffire commentedon Nov 16, 2026
We do have this turned on in
flutter/flutter. We might want to consider making these consistent between the repos.eyebrowsoffire commentedon Nov 16, 2026
@Piinks I'd love your input on this when you get a chance.
Piinks commentedon Nov 16, 2026
Yeahhhh let's turn that on. One sec. I will check flutter/core-packages as well
Piinks commentedon Nov 16, 2026
Thanks for flagging. Review dismissal is enabled now for pushes on flutter/packages and flutter/core-packages. Closing as fixed.
Mairramer commentedon Nov 19, 2026
I understand the safety benefits of dismissing stale approvals, but I think this can add quite a bit of friction for larger or federated plugin PRs in
flutter/packages, especially changes involving multiple platforms, likecamera.Contributors often start with a larger PR to validate the overall approach across the platform interface, native implementations, and app-facing package before splitting it up or getting everything reviewed together.
These PRs naturally take longer to review, and conflicts in
CHANGELOG.mdorpubspec.yamlare pretty common while waiting for reviews. The issue is that even a trivial conflict resolution or version bump dismisses all existing approvals and starts the review process over, even when none of the actual implementation code has changed.Could we consider a more targeted approach in Cocoon instead of GitHub's blanket dismissal? For example, only invalidating approvals when changes after a review touch files other than CHANGELOG.md or the version: field in pubspec.yaml, or otherwise rethinking how multi-package/federated plugin changes are submitted and reviewed.
stuartmorgan commentedon Nov 19, 2026
The approval bit on the combo PR doesn't actually matter, because it's not submitted in that form. What matters is just that all the stakeholders have reviewed it and LGTM'd it so the submittable PRs can be started.