Skip to content

chore: bump version to 2026.7.29.2 - #310

Merged
speak-agent merged 2 commits into
mainfrom
chore/bump-2026.7.29.2
Jul 29, 2026
Merged

chore: bump version to 2026.7.29.2#310
speak-agent merged 2 commits into
mainfrom
chore/bump-2026.7.29.2

Conversation

@speak-agent

@speak-agent speak-agent commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

发版 2026.7.29.2(当天第二个迭代版;.0 保留给正式/稳定版),外加一处发布规范文档修正。

本版内容:#309 —— SemVer 约束改走索引路由,项目 [indices] 里的包不再"写死版本能解析、带约束就挂"。

1. 版本号 bump

只改第一组两处:mcpp.tomlsrc/toolchain/fingerprint.cppm。bootstrap pin(.xlings.jsonworkspace.mcppci-fresh-install.ymlMCPP_PIN)仍停在 2026.7.29.1 —— 新版尚未发布,提前挪会让每个 CI job 去 xlings install 一个不存在的版本;按惯例(fd27314 只改两处,fde3b70 事后收尾)在发布并进索引后单独前移。

2. 修正 mcpp-release skill

skill 第 2 步写的是"四处一起 bump",与它自己后半程的「bootstrap pin 收尾」自相矛盾,也与 git 历史不符 —— 照着做会让全部 CI 红在 bootstrap。

改为按各自回答的问题拆成两组:第一组(mcpp.toml + fingerprint.cppm)每次发版必改;第二组(.xlings.json + MCPP_PIN)是 CI 的自举起点,与本次发布无关,不需要每次发版都动 —— 落后几个版本是正常状态,发布流程默认不碰它,真要前移唯一的硬前提是目标版本已发布并进索引。

另外 bump 改走 PR(mcpp-contributing 同样禁止版本 bump 直推 main),并补两条失败排查:

  • 全部 job 红在 bootstrap 报 package 'mcpp@X.Y.Z' not found → pin 提前 bump 了
  • 自查 --version 显示旧版本 → target/<triple>/<指纹>/ 指纹随版本变,ls | head -1 取到了上次构建

check_version_pins.sh 的实际语义也在文档里写清楚了:它只要求两处 pin 彼此相等不新于正在构建的版本,并不要求等于它。

Test plan

  • bash .github/tools/check_version_pins.sh OK(building=2026.7.29.2,bootstrap=2026.7.29.1)
  • mcpp build 通过,mcpp --versionmcpp 2026.7.29.2
  • tests/e2e/01_help_and_version.sh 通过(它交叉比对 mcpp.toml 与 --version)
  • 文档改动,无代码影响

The skill told you to bump all four version locations in one commit. Two of
them — `.xlings.json` `workspace.mcpp` and `ci-fresh-install.yml` `MCPP_PIN` —
are not "the current version" at all: they are the already-published version CI
BOOTSTRAPS FROM. Moving them to the version being released makes every job try
to `xlings install` something that does not exist yet.

The skill already documented the correct sequence further down ("bootstrap pin
收尾"), so step 2 contradicted it. Git history agrees with the tail: fd27314
bumped only mcpp.toml and fingerprint.cppm, leaving the pin on 2026.7.28.2.

Splits the four locations by the question each answers. The first group moves
every release. The second is a bootstrap origin that does NOT track releases —
lagging several versions is the normal state, the release flow leaves it alone,
and advancing it is an occasional deliberate act whose one hard precondition is
that the target version is already published and indexed.

Also routes the bump through a PR (mcpp-contributing forbids direct pushes for
version bumps too) and adds two failure rows: the all-red bootstrap symptom,
and the stale `--version` you get from `ls | head -1` when the target/
fingerprint directory changed with the version.
@speak-agent
speak-agent force-pushed the chore/bump-2026.7.29.2 branch from 533b6a5 to 49ec1fb Compare July 29, 2026 09:47

@Sunrisepeak Sunrisepeak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version bump verified: check_version_pins.sh OK (building 2026.7.29.2, bootstrap pin stays 2026.7.29.1), --version matches. Skill correction matches git history.

@speak-agent
speak-agent merged commit c765e83 into main Jul 29, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants