In the presence of merge commits, installer.sh will sometimes choose a commit from a PR branch that has been merged into master as the current preview version because:
it's in the history returned by the GraphQL API
it has a "green" status.
It should only consider commits that are first ancestors of the current master commit.
Description
In the presence of merge commits,
installer.sh
will sometimes choose a commit from a PR branch that has been merged intomaster
as the currentpreview
version because:It should only consider commits that are first ancestors of the current
master
commit.