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
Commit ebb14ec
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ci): the ADR gate goes red while auto-merge is armed on a docs/adr/** PR (#8302)
* fix(ci): the ADR gate goes red while auto-merge is armed on a docs/adr/** PR
Arming auto-merge is not merging, so no gate fired on it: an AI seat armed
one on a live docs/adr/** PR at 11:15Z on 2026-08-12 while this gate was red.
The next approving review would have turned the check green and GitHub would
have merged the PR unattended, with every check reporting success — 「人工合并」
bypassed while nothing looked wrong.
The gate now reads the PR's live auto-merge state and is red while it is
armed, whether or not the PR is approved. The approved case is the only one
in which the unattended merge actually happens; a rule firing only on the
unapproved case would change no verdict, since that state is already red for
the missing approval.
Not a deadlock: anyone can disable auto-merge, and the new auto_merge_disabled
trigger re-runs the gate so it clears itself.
Refs #8012
* test(ci): pin the projection diagnosis, not just that it throws
Mutation testing found the looser assertion passed on a mutant that deleted
the Object.hasOwn guard: undefined falls through to the not-an-object branch
and throws a message that also contains 'auto_merge'. Refs #8012
---------
Co-authored-by: os-zhuang <os-zhuang@users.noreply.github.com>
0 commit comments