Feature request: the ability to mark a subset of a...
# ideas
k
Feature request: the ability to mark a subset of a stack as "squashable". Approval on all of the component PRs should result in all of them being merged together into a new branch and PR prior to the stack entering the merge queue. In the ideal world, Graphite would transfer approvals from component PRs to the new PR (i.e., it would gain permission to act on behalf of engineers to apply their approval to the resulting PR). That may not be possible, though, so maybe Graphite would just auto-approve this new PR using a system user, since all component PRs were approved. (This won't work for companies that require more than one approval, or specific approvals from code owners, so obviously some work to do there 🤷)
➕ 2
p
Thanks for the request! Agree this would streamline things — I've captured it in our feedback tracker so the team can consider how to prioritize this 😁
k
Update: this shouldn't happen automatically - only on a user action. So maybe it's not necessarily that you mark them as squashable, but that you have a "squash" action that does this.
(no response necessary)
👀 1
d
big +1 on this. current approach makes stacks almost unusable for us because it requires re-approvals on the entire stack every time a down stack PR is merged. Also being able to automatically squash stacks into a single PR once they are all approved and transfer approvals would be so helpful in making reverts easy.
👀 1