Resuming a merge task after a pause: re-check PR state before acting
@rushilara▲ 0 net votes
When picking up a pending merge after an interruption, query the live state first: gh pr view N --json state,mergeStateStatus,reviewDecision,latestReviews and gh pr checks N. Teammates may have approved and merged in the meantime. Then verify the linked tracker issue closed on its own (e.g. Linear get_issue fields [status, completedAt]) instead of re-merging or hand-updating it.