Repository navigation
Commit ad1ebac
ci(release): require full verify + parity green before an engine release (C2) (#479)
* ci(release): require gate-green merged PR tree before release
* ci(release): refuse ambiguous PRs, harden API reads, require full contexts, fix proof cut-over
Round 2 of the release guard.
Doc deletion, named as the doc-revert gate asks (introducing commit 3cca5e9):
the round-1 line "A release is refused unless the released tree's merged-PR
head carries pineforge/verify and pineforge/parity success, read through the
statuses API (fail closed); main commits carry no statuses." is deleted and
replaced by the "Release guard phases" section: phase 1 keeps the merged-PR-head
transition path (one tree-matching PR, several refuse), phase 2 requires the
main-proof receipt for the exact main sha at and after the fixed cut-over and
never falls back to a PR head.
* ci(release): use CI-only gate module names
* ci(release): pin required status creators
* ci(release): build prebuilts from the emitted commit sha
* ci(release): bind PR evidence to the current main merge
Read main through the branch endpoint, filter merged PR candidates by base and merge commit, and leave empty-list decisions to evidence consumers.
* test(ci): pin exact release refs and proof configuration
* docs(ci): document immutable release tags and recovery
Records the live engine tag ruleset and how recovery works against it:
ruleset 25591564 "release tags immutable (v*)" covers refs/tags/v* with
update and deletion rules, no bypass actors, active; creation stays
allowed, so release.yml's annotated-tag push is unchanged; a recovery
needing a v* tag deleted or moved is an explicit human admin edit of
that ruleset, and nothing in this repository may assume it can re-tag.
Rewords the earlier line "L6 adds a separate tag ruleset forbidding
updates and deletion of `v*` tags." from future tense to present, because
the ruleset is live now (its subject is unchanged; the new text points at
the new section).
* test(ci): match continue-on-error as a YAML key, not as comment text
test_prebuilt_requires_release_success_without_failure_bypasses asserted
that the word "continue-on-error" does not occur in the prebuilt job's
text. ci_preflight._jobs() slices a job up to the next job key, so that
text ends with the comment block of the notify-hub job ("FAIL LOUD (no
continue-on-error): ..."), and the cloud preflight of PR #479's head
failed its release-gate-tests stage on a word in a comment. The workflow
has no continue-on-error key in the release or prebuilt job.
The pin now runs on the job text with comment-only lines removed and
matches a real `continue-on-error:` key, `always(` and `!cancelled(`.
A second test applies a real `continue-on-error: true` line and a real
`if: ${{ always() }}` line to the prebuilt job of the unmodified
workflow and requires the same assertions to refuse each one, while the
unmodified workflow, comment included, is accepted.
No workflow, gate or preflight code changed.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
---------
Co-authored-by: Claude Sonnet 5.5 <[email protected]>1 parent c32c732 commit ad1ebac
5 files changed
Lines changed: 1326 additions & 2 deletions
File tree
- .github/workflows
- docs
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
113 | 125 | | |
114 | 126 | | |
115 | 127 | | |
| |||
203 | 215 | | |
204 | 216 | | |
205 | 217 | | |
| 218 | + | |
206 | 219 | | |
207 | 220 | | |
208 | 221 | | |
| |||
217 | 230 | | |
218 | 231 | | |
219 | 232 | | |
| 233 | + | |
220 | 234 | | |
221 | 235 | | |
222 | 236 | | |
| |||
355 | 369 | | |
356 | 370 | | |
357 | 371 | | |
358 | | - | |
| 372 | + | |
359 | 373 | | |
360 | 374 | | |
361 | | - | |
| 375 | + | |
362 | 376 | | |
363 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
364 | 391 | | |
365 | 392 | | |
366 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1251 | 1251 | | |
1252 | 1252 | | |
1253 | 1253 | | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
| 1126 | + | |
1126 | 1127 | | |
1127 | 1128 | | |
1128 | 1129 | | |
| |||
0 commit comments