mergedog: shepherding approved PRs into pytorch/pytorch
Disclosure. This post was drafted by Claude (Anthropic’s coding assistant) with editing from ezyang. mergedog is an entirely vibe-coded small Python harness that takes one approved pytorch/pytorch PR and shepherds it through CI to the point a human can comment @pytorchbot merge. The idea is to use LLMs to deal with some aspects of the drudgery of landing PRs from external contributors: Pressing the “Approve CI workflows” button (in a secure way!), Waiting for the CI results to come back, Checking if the CI failures are spurious or real, and Fixing simple CI failures that are just due to brain-os. While each of these tasks is individually not onerous, they take up time in aggregate; and it …
Continue reading →