Commit 574a0c0
docs(contributing): document the merge gate and the never-arriving-check trap (#941)
* docs(contributing): document the merge gate and the never-arriving-check trap
On 2026-09-01 Vercel consolidated its commit-status contexts from one per
project (`Vercel – threadplane`, `Vercel – threadplane-minting-service`) to a
single `Vercel`. Branch protection required the literal old string, so the
required check stopped arriving and every PR became permanently unmergeable
while showing all checks green — `MERGEABLE` + `BLOCKED`, indistinguishable
from a slow queue. That cost a lot of confused debugging, and the diagnostic is
one API call once you know to make it.
Adds a "The merge gate" section covering:
- what the single required check is (`CI — required`, the `required-pr-checks`
job, app-pinned to 15368, strict), and that `approve` must never join it;
- why the gate is a job we own rather than a vendor status string a third party
can rename out from under us;
- the diagnostic — diff the contexts posted on the head SHA against the
contexts protection requires — including the check-runs/statuses API split
that makes `CI — required` absent from `/status`;
- the pre-2026-09-01 protection config as a rollback reference, since branch
protection is not version-controlled and needs an admin token to read.
Deliberately no CI guard asserting protection matches the file: reading branch
protection needs `administration: read`, which the workflow `permissions:` key
cannot grant, so it would require a long-lived admin PAT in Actions secrets.
That credential is a worse risk than the drift it catches. Reasoning is
recorded in the section so the next person doesn't re-derive it.
Verified against the API while writing: f927124 carries the two old contexts
(minting-service failing), a8a603f carries the single `Vercel`, and
`CI — required` is a check run from app 15368.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* docs(contributing): record why the Vercel status stays non-required
Reviewed 2026-09-01. States the residual gap plainly — a Vercel-environment-
specific failure is not caught pre-merge, only post-merge by `Deploy → Vercel`
— and why requiring the status back was rejected: the consolidated `Vercel`
context now covers every project, so it would let an unrelated project block a
pure-website PR, reversing the #931 behaviour.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 407c995 commit 574a0c0
1 file changed
Lines changed: 109 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
89 | 198 | | |
90 | 199 | | |
91 | 200 | | |
| |||
0 commit comments