Skip to content

Commit a4027f7

Browse files
authored
release: the seal and the publication follow the release they seal (#933)
* release: the seal and the publication follow the release they seal, not every job before it * docs: the release run's skipped seal, in the design record
1 parent 7d7aabf commit a4027f7

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎.agents/docs/2026-11-14-ci-and-release-time-cost-design.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,9 @@ Windows 把每个 `\n` 写成 `\r\n`;`write_config_value` 只认 `\n` 结尾
220220
重复的表。这是用户可见的缺陷(Windows 上第二次 `mcpp toolchain default` 之后 config.toml 无效),此前读者偶尔未在写入期间读取时
221221
用例通过。处理:`write_replacing` 按给定字节写出;`write_config_value` 在两种行尾之前匹配表头与键,新增的行沿用文件自身的行尾
222222
(Config/ConfigValueKeepsTheFilesLineEnding)。读者对拒绝的重试保留,它对应 Windows 替换期间真实存在的拒绝。
223+
224+
### 5.7 发布运行(43590596177)
225+
226+
四个构建同时开始(最长为 Linux aarch64 交叉构建 39 分钟),`create-release` 在四者通过后创建 release,自分派至创建共 40 分钟;v2026.11.12.1 的构建依次进行,至最后一个构建结束约 104 分钟。
227+
封存与发布两个作业被跳过:未带条件的作业只在其之前的全部作业(含间接的)成功时运行,未请求时被跳过的 canaries 因此跳过了二者。
228+
二者改为各自声明所跟随的那一个作业(mcpp#933);v2026.11.13.1 以 `tag: v2026.11.13.1` 再次分派完成,该分派重建该 tag 的提交。

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,9 +851,14 @@ jobs:
851851
dist/SHA256SUMS
852852
dist/mcpp.lua
853853
854+
# A job's default condition is that every job before it, transitively,
855+
# succeeded: the canaries, skipped in a release started without them, would
856+
# skip the seal and the publication after a release was created. Each states
857+
# the one job it follows (v2026.11.13.1 was created and not sealed).
854858
release-manifest:
855859
name: validate + seal release manifest
856860
needs: [create-release]
861+
if: ${{ !cancelled() && needs.create-release.result == 'success' }}
857862
runs-on: ubuntu-24.04
858863
permissions:
859864
contents: write
@@ -978,6 +983,7 @@ jobs:
978983
# Shared vendored scripts live in .github/tools/ (kept in sync with xlings).
979984
publish-ecosystem:
980985
needs: release-manifest
986+
if: ${{ !cancelled() && needs.release-manifest.result == 'success' }}
981987
runs-on: ubuntu-latest
982988
# A4 hardening: a single stuck upload once held this job >1h (6h default
983989
# ceiling). The mirror script has per-file timeouts and (post-0.0.89)

0 commit comments

Comments
 (0)