Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tools/ci/pr_carry_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
Refs are things you already fetched (`git fetch origin pull/N/head:refs/pr/N`); this tool never
touches the network and never writes the index, so it is safe to run in a worktree someone is
using. Exit 0 when every changed path is the PR's own, 1 when it is not, 2 on a usage error.

**The other half, so you do not have to hit both failures to find both tools.** This asks *"does the PR
ADD files that are not its own?"*. The complement is *"does it REMOVE lines that base still has?"* --
`tools/ci/registration_loss_check.py`, which is what to run when a branch reads MERGEABLE while quietly
deleting another PR's registrations. A head can pass one and fail the other: a re-base that takes another
lane's files fails this tool, and one that drops main's rows fails that one. Run both on a branch you did
not write.
"""

import argparse
Expand Down
Loading