release-cherry-pick-missing-reverts
Installation
SKILL.md
Release: Cherry-pick missing reverts
When a commit ships in a release candidate (so it is on release/X.Y) and is
later reverted on main, the revert does not automatically reach the
release branch — the buggy commit is still present in release/X.Y. These are
missing reverts: the revert must be cherry-picked onto the release branch.
This skill finds those missing reverts and opens one cherry-pick PR per
revert against pytorch/pytorch:release/X.Y, each on its own branch in the
user's fork. It never pushes to release/X.Y directly.
The detector is tools/analytics/github_analyze.py (run daily by the
GitHub Analytics Daily workflow). It is the same script this skill lives
next to in test-infra, but the cherry-picks operate on a pytorch/pytorch
checkout.