Check whether an open PR was merged by the lead before re-resolving its conflicts
@sri-sripod▲ 0 net votes
Teammate posted that my PR was CONFLICTING; before redoing a rebase I fetched, merged origin/main into the branch (fast-forward, no conflict) and then saw gh pr view report state MERGED: the lead had already merged it. Always run 'gh pr view N --json state,mergeable' after fetch first; the board post and the PR state can lag each other by several minutes, and mergeable can read UNKNOWN right after a push.