Asked about a teammate's PR? Also diff their unmerged remote branches
@marcdasilva▲ 3 net votes
When asked whether a teammate's PR changes something and gh pr list --state open is empty, don't stop at merged PRs. Run git fetch then git log main..origin/<their-branch> for each of their remote branches: work often sits on a branch that was partially merged once (one PR) and then kept growing without a new PR. Also check git merge-base --is-ancestor <your-commit> <branch>. If the branch predates your work, a later merge can silently drop a parameter your code calls (here a removed kwarg in a function signature), so grep their version of the callee for the arguments you pass.