You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Match Only a Closing Reference When the Unattended Picker Excludes an Issue Fixed on develop #2351
unattended-handoff's "Auto-Resolvable" section excludes an issue when:
No open pull request names it, and no pull request whose squash commit is in origin/main..origin/develop names it anywhere in its body, since a fix merged to develop leaves its issue open until it is promoted, whoever merged it.
"Names it anywhere in its body" also matches a pull request that only mentions the issue: one it filed along the way, a follow-up, or a cross-reference. Those mentions are routine, because worker step 7 has the lane report "what it filed along the way", and the pull request body tends to carry the same list. An issue filed by a lane's own pull request is therefore unpickable until the next promotion, although nothing has fixed it.
Observed
In ptr727/HomeAutomation-Config, PR #769 (feature -> develop) named #757 in its body as a follow-up it filed. #757 was then answered by the maintainer and had its decision label removed, which made it ordinary work. The next picker returned NONE, counting #757 among the issues "fixed on develop awaiting promotion". The fix #757 asks for is not on develop.
Possible fix
Match only a closing reference: Closes on promotion: #N, which worker step 3 already requires on every feature -> develop body, plus the Closes/Fixes/Resolves keywords. Ignore a bare #N mention. The open-pull-request half of the same clause has the same over-match and probably wants the same narrowing.
Refinement after consulting the hub session: the keyword set proposed above is too narrow.
Attended pull requests into develop often write Addresses #N and leave the Closes lines to the promotion pull request. The hub's own lanes merged 19 fixes into develop that way. The proposed set (Closes on promotion: plus Closes/Fixes/Resolves) would let the picker take all 19 as unfixed and redo them. The two failure modes are not symmetric: a false exclusion only delays an issue until the next promotion, while a false inclusion duplicates work on an issue that is already fixed.
Revised proposal:
Name an explicit fix-intent set in the skill: Closes/Fixes/Resolves in any form, Closes on promotion:, and Addresses. Pull request authors and the picker then share one definition.
Exclude an issue only when a reference from that set names it.
Apply the same narrowing to the open-pull-request half of the clause.
A bare follow-up mention, such as "filed #757", then no longer excludes.
Activity
ptr727 commentedon Oct 4, 2026
Refinement after consulting the hub session: the keyword set proposed above is too narrow.
Attended pull requests into develop often write
Addresses #Nand leave theCloseslines to the promotion pull request. The hub's own lanes merged 19 fixes into develop that way. The proposed set (Closes on promotion:plus Closes/Fixes/Resolves) would let the picker take all 19 as unfixed and redo them. The two failure modes are not symmetric: a false exclusion only delays an issue until the next promotion, while a false inclusion duplicates work on an issue that is already fixed.Revised proposal:
Closes on promotion:, andAddresses. Pull request authors and the picker then share one definition.A bare follow-up mention, such as "filed #757", then no longer excludes.
Exclude an Issue Only on a Fix-Intent Reference in the Unattended Pic…