This message was deleted.
# report-bugs
s
This message was deleted.
x
Hey Dane, can you check your GitHub branch protection rules for me? Under your repo/settings/branches/branch protection rules… My suspicion is that under
main
or
*
that the branch protection rule “Dismiss stale pull request approvals” is probably turned on
Oh, one other thing you could check - are there any timeline items on the GitHub PR page that references the review dismissal? See pic for example
d
I tried changing the base branch of a PR manually, instead of allowing bors (werkos bot) do it, and it also dismisses the review
x
Hmmm, I’m not longer sure that it’s not GitHub dismissing these reviews… Are there any other branch protection rules set to dismiss stale reviews that apply to other branches other than main?
d
I opened up a ticket with Github, apparently they made this change and there is no setting to customize the behavior at the moment wtf lol
j
We contacted GH as well - here is the response so far
d
This is the response we got
n
@Dane Williams /@David Vo we’ve been playing around with it locally on our end and noticed: • If GitHub changes the base branch (i.e. because it has deleted the downstack branch after it merged), the review stays. • If anyone else changes the base branch, however, the review gets dismissed. As a result, we want GitHub to do all base branch changes. In Graphite’s merge all implementation today, there’s only one place which can cause Graphite to do a base branch change for you: if you have the “Automatically delete head branches” setting off Graphite needs to change the base branch to re-point it at trunk. If you turn that setting on, GitHub will automatically handle the change for you — and leave the review in tact. Can you both try turning that setting on and letting me know if merge works?
j
Looks like GH has reverted the change for now — we'll be following up with their team to ensure they understand our use case and hope that they'll make this configurable before rolling it back out.