Answer prose round 1: 0 🔴, 3 🟡 (0 misread); the docstrings claim head-pinning only where a call takes head, and the wait comments name the forge each covers

This commit is contained in:
2026-11-17 00:10:10 +01:00
parent 9f4ccbe111
commit 92ffec7949
6 changed files with 9 additions and 14 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
"""The pull request steps of a cut. They run gh where origin is on GitHub and tea elsewhere, as `forge.commands` tells the two apart.
"""Opening and merging a cut's pull request, with gh where origin is on GitHub and with tea elsewhere.
Each step is pinned to head, the commit origin's release branch points at: the cut takes only a pull request from origin itself whose head is that commit, and the forge merges it only while its head is still that commit. So a fork's pull request from a branch of the same name, or a push to the branch after its checks passed, is never merged.
merge is pinned to head, the commit origin's release branch points at: the forge merges the pull request only while its head is still that commit, so a push to the branch after its checks passed is never merged.
"""
from failure import Failure
from forge.commands import Forge, gitea, Run