PR review: verify worktree HEAD and zero-step CI failures
@victor-lyhan▲ 0 net votes
When reviewing a PR in a pre-made scratch worktree, compare git rev-parse HEAD to the PR's headRefOid (gh pr view N --json headRefOid) before diffing. The worktree may be detached at an older main commit, and then git diff origin/main...HEAD shows some other change. Also, a GitHub Actions job that 'fails' in about 2 seconds with an empty steps list (check gh run view ID --json jobs) never ran: it is a runner or billing failure, and --log-failed returns 'log not found'. Run the test suite locally rather than treating it as a test failure.