Skip to content

Commit 6b90f4d

Browse files
authored
2026.11.21.1: the test and CI design (mtest 0.11), the home's unit cache, offline builds and the newest defaults, package features, build programs' observed inputs (mcpp#986, #976, #927, #802, #293, #988, #989, #990, #991, #852, #992) (#984)
Release 2026.11.21.1: the test and CI architecture of design 2026-11-20 with its three sub-designs of 2026-11-21 (build programs' observed inputs, offline builds with host inputs and the toolchain defaults, package features), in one pull request. The CHANGELOG section `[2026.11.21.1]` is the release's notes. Refs #986, #976, #927, #802, #293, #988, #989, #990, #991, #852, #992. ## Engine - A package's instance is a function of its configuration (#986); a path enters a cache key by its role; a cacheable package's build program runs into the home's `build-cache/v1/out`. - The home's unit cache (#927): a fresh checkout of mcpp on a filled cache builds in 4.1 s instead of 164 s. `[profile.<name>] dependency_debug`, `[build] memory_threshold` (#802), one budget of slots for the machine (#976). - The record of a build and of a run, run fixtures (#293), `--changed`/`--since` by headers, `mcpp emit surface` and `MCPP_SURFACE_RECORD`. - A build program's observed inputs (#991): an edit of a header it includes compiles and runs it again; a project is told a notice once; contract names judged by their variable (#852). - Offline builds (#990): `mcpp fetch --to`/`--from`, `[build] offline`, `[xlings] archives`, `[build] allow_host_tools`; a build no longer requires patchelf; a toolchain request has one answer (#988); a compiler's version is its driver's (#989). - The defaults are data and the newest release every platform they serve publishes: gcc 16.2.0, ninja 1.13.2-mcpp.1, patchelf 0.19.3; llvm 23.1.3 and the musl rows stay. - A package's features are machine-readable (#992): `mcpp search --format json`, `mcpp why features`. ## Tests mtest 0.11.2. The kit records each command's steps and the surface it uses, shares one home as a run fixture, gives a case that changes a home its own, declares diagnostic lines and compares contractual outputs with goldens. The surface ledger covers every item of `mcpp emit surface` by a passing case or a waiver with its reason; the CPU budget is a gate. ## CI Tiers reach the jobs; a `full` run that passes leaves `verified-<tree>`; a push to main of a verified tree registers that run instead of testing again; `release-build.yml` holds the four release builds; `release.yml` promotes a verified run's archives. docs/92 and the release skill state the procedure. Specs, usage chapters (en and zh), design records and the CHANGELOG are updated with the change.
1 parent 722ec1b commit 6b90f4d

392 files changed

Lines changed: 17772 additions & 3371 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/docs/2026-11-20-test-architecture-upgrade-design.md‎

Lines changed: 1009 additions & 0 deletions
Large diffs are not rendered by default.

‎.agents/docs/2026-11-21-build-program-observed-inputs-design.md‎

Lines changed: 332 additions & 0 deletions
Large diffs are not rendered by default.

‎.agents/docs/2026-11-21-offline-host-inputs-and-toolchain-defaults-design.md‎

Lines changed: 376 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
subject: ecosystem
3+
status: active
4+
---
5+
6+
# 包的特性作为机器可读的回答:一个目录项,两种来源,三种状态(mcpp#992)
7+
8+
**日期:** 2026-11-21 · **版本:** v1 · **基线:** mcpp 2026.11.21.1 的分支(#984) · **规范:** SPEC-001 §3.5(描述符的两种形式)、
9+
SPEC-004(清单的键)、SPEC-010 §5(只读查询不安装)、docs/50(`kindVersion` 内只增加字段) · **所属:**
10+
[生态的测试与 CI 方案](2026-11-20-test-architecture-upgrade-design.md) 第 15 节的子方案三。
11+
12+
## 1. 问题
13+
14+
mcpp-ide 只显示 mcpp 陈述的事实,不读索引的描述符(mcpp-ide#16、#17:`features = [...]` 中的补全、悬停、未知名字的诊断、
15+
包详情中的勾选)。mcpp 的机器输出不含包的特性:`mcpp search --format json` 只有 `description`、`id`、`index`、`licenses`、
16+
`name`、`namespace`、`repo`、`versions`;`mcpp xpkg parse` 与 `mcpp why` 也没有。
17+
18+
## 2. 现状的测量
19+
20+
- **一个模型。** `mcpp.toml`(`toml.cppm`)与描述符的内联表(`xpkg.cppm` 的 `synthesize_from_xpkg_lua`)解析到同一个
21+
`Manifest`:`featuresMap`(特性 → implies,`default` 项为缺省集合)、`featureForwards`(`<依赖>/<特性>`)、
22+
`featureRequires`、`featureProvides`。不需要新的读取。
23+
- **两种来源。** 本机 mcpplibs 索引的 342 个描述符中,197 个为内联形式,特性在索引中(30 个写有特性);81 个为指针形式、
24+
66 个未写 `mcpp` 字段(按约定为指针形式),共 147 个,特性在载荷的 `mcpp.toml` 中。内联表对描述符的所有版本共用;
25+
指针形式的每个版本各有自己的清单。
26+
- **读取路径已经收敛。** `mcpp.pm.descriptor` 的 `descriptor_payload_present` 判断载荷是否在,`descriptor_manifest` 给出
27+
内联表或载荷中清单的位置(mcpp#960)。构建在读取指针形式的清单时另做一步:归档中的 workspace 成员接受其 workspace
28+
的继承(`graph_load` 的 `loadFrom`)。
29+
- **没有描述。** 两种来源都没有特性的 `description`;表形式的键检查(#540)把它报为未知键。
30+
31+
## 3. 决定
32+
33+
### 3.1 一个目录项
34+
35+
`mcpp.manifest` 增加 `feature_catalog(const Manifest&)`:每个特性一项,`name`、`default`(在缺省集合中)、`implies`
36+
(本包的特性)、`enables`(`<依赖>/<特性>`)、`description`(可空),按名字排序;`default` 本身不是一项。所有输出由它给出,
37+
JSON 的形状只在一处写出。
38+
39+
### 3.2 一条读取路径
40+
41+
`mcpp.pm.package_manifest` 的 `installed_manifest` 给出索引包某个已安装版本的清单:`descriptor_manifest` 之后,指针形式的
42+
清单按构建的方式读取,含归档中 workspace 的继承与描述符的命名空间。构建(`graph_load`)与查询都调用它,二者对同一个包不会
43+
给出不同的特性。`workspace_listing` 与 `inherit_as_workspace_member` 由 prepare 移入该模块;错误是 `ManifestError`
44+
(`at` 为读不出的清单),由调用方以自己的主语写出,构建的消息不变。
45+
46+
### 3.3 三种状态
47+
48+
一个包的一个版本的回答:
49+
50+
```json
51+
"features": {
52+
"version": "0.0.5",
53+
"state": "declared",
54+
"from": "payload",
55+
"list": [ { "name": "gui", "default": true, "implies": ["render"], "enables": ["imgui/docking"],
56+
"description": "..." } ]
57+
}
58+
```
59+
60+
| `state` | 含义 | `list` |
61+
|---|---|---|
62+
| `declared` | 回答取自索引(内联形式)或已安装的载荷中的清单 | 特性的列表,没有特性时为 `[]` |
63+
| `not-installed` | 指针形式,该版本的载荷不在 store 中 | `null` |
64+
| `unreadable` | 载荷在,清单读不出;另附一条诊断 | `null` |
65+
66+
`[]` 只表示「声明了零个特性」。未知的回答为 `null`:只读列表的客户端若把未安装读成没有特性,会把每个合法的名字诊断为
67+
未知。`from` 为 `index` 或 `payload`。
68+
69+
不是 mcpp 包的条目不输出 `features`。判据取自已有的两个事实:描述符写有 `mcpp` 字段(任一形式)的是 mcpp 包;不写该字段的
70+
描述符,在提供方的官方索引(`official_index_status` 的目录)中是提供方自身的载荷,在其他索引中按 SPEC-001 §3.5 的约定为
71+
指针形式。本机的目录中,官方索引的 342 个 `xim` 条目与 `luban` 等命名空间的条目不输出;mcpplibs 索引的 66 个未写字段的
72+
描述符按指针形式回答。
73+
74+
### 3.4 不安装
75+
76+
查询不下载、不安装(SPEC-010 §5):已安装就读取,未安装就以 `not-installed` 回答。取得载荷的是构建与 `mcpp fetch`。
77+
78+
### 3.5 两个输出
79+
80+
- **`mcpp search --format json`**:每个包的 `features`,为最新版本(`versions` 的第一项)的回答。一个包的查询即精确名字的
81+
search。`mcpp.search` 的 `kindVersion` 保持 1(只增加字段)。
82+
- **`mcpp why features [--format json]`**(`mcpp.why.features`):本工程解析出的每个包,`package`、`root`(是否为根)、
83+
`manifest_dir`,以及 `features` 的 `list` 与 `active`(本次构建激活的特性)。规划时每个包都已在 home 中,列表总是已知的。
84+
数据记录在 `resolution.json` 的 `graph` 中(`features` 为激活的特性,与构建程序读取的图文档同名同形;`feature_list`
85+
为目录项),命令读取该记录,与 `mcpp why deps` 读取同一记录相同。构建程序的图文档不加目录项:它是构建程序重跑键的一部分,
86+
描述的改动不应使构建程序重跑。不给话题的 `mcpp why` 不含该话题,与 `flags`、`platform` 相同。
87+
88+
`--protocol-version` 的 `features` 增加 `package-features`。
89+
90+
### 3.6 描述
91+
92+
表形式的特性增加 `description`(字符串),与 `[package] description` 同名同义;描述符的内联表的特性项同样接受。
93+
短形式(`x = ["a"]`)没有描述。键检查的已知键随之增加。
94+
95+
## 4. 不做的
96+
97+
- 不在发布时把特性抄进指针形式的描述符:两份事实会分离,描述符也不按版本区分。
98+
- 不在查询中取得载荷。
99+
100+
## 5. 验证
101+
102+
| # | 判据 | 层 | 用例 |
103+
|---|---|---|---|
104+
| Q1 | `feature_catalog` 的缺省(含闭包)、implies、enables、description 与排序 | 单元 | `FeatureCatalog/*`(modules/manifest) |
105+
| Q2 | `description` 在两种来源中被读取且为字符串,表形式不再报未知键;两种来源对同一陈述给出同一目录 | 单元 | `FeatureCatalog/*` |
106+
| Q3 | 三种状态:内联形式为 `declared`/`index`;指针形式已安装为 `declared`/`payload`(含归档中 workspace 的继承),未安装为 `not-installed`,清单读不出为 `unreadable`,后两者 `list` 为 `null` | 单元、e2e | `PackageFeatures/*`;`index::features/992 …never installed`(search 前后各一次,中间以 `mcpp fetch` 安装) |
107+
| Q4 | `mcpp why features`:路径依赖的 `list`、`active` 与描述,JSON 与文本 | e2e | `index::features/992 why features…` |
108+
| Q5 | `--protocol-version` 列出 `package-features` 与 `mcpp.why.features` | e2e | `cli::golden/1123` |

‎.agents/docs/README.md‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ superseded_by: 2026-09-07-....md # when status is superseded
1818
---
1919
```
2020

21-
367 records.
21+
371 records.
2222

2323
## By subject
2424

@@ -36,6 +36,7 @@ Records that declare one. Everything else is listed by date below.
3636

3737
### build-program
3838

39+
- [构建程序的输入由观测给出:编译读到的文件、三道闸门的同一份记录、头文件的用法提示、提示的统一机制、契约中名字的歧义(mcpp#991、#852)](2026-11-21-build-program-observed-inputs-design.md) — active
3940
- [构建依赖的一条管线:配置与产物两轴、包的实例、库接口、兼容系统与工作空间收尾(#797)](2026-10-11-build-dependencies-one-pipeline-design.md) — active
4041
- [Four upstream asks from a UI framework: what each one is under mcpp's design, and the combined plan](2026-09-13-four-upstream-asks-from-a-ui-framework.md) — landed
4142

@@ -91,6 +92,8 @@ Records that declare one. Everything else is listed by date below.
9192

9293
### ecosystem
9394

95+
- [包的特性作为机器可读的回答:一个目录项,两种来源,三种状态(mcpp#992)](2026-11-21-package-features-query-design.md) — active
96+
- [离线、宿主输入与工具链的缺省:按内容取归档的来源、项目的取齐、宿主输入的声明、工具链的解析与锁、缺省版本的规则(mcpp#988、#989、#990)](2026-11-21-offline-host-inputs-and-toolchain-defaults-design.md) — active
9497
- [生态规则收敛方案:2026.11.18.1 之后十个 issue 的五类成因、七项决定与实施范围](2026-11-19-ecosystem-rule-convergence-design.md) — landed
9598
- [生态架构优化方案:四个平面的收敛、已合入项的纠正与新系统的准入(mcpp × openkal × xlings)](2026-11-12-ecosystem-architecture-optimization-design.md) — active
9699
- [测试与依赖解析补充方案:mcpp、mcpp test、mtest、mcpp-ide](2026-11-10-test-and-resolution-supplement-design.md) — active
@@ -173,6 +176,10 @@ Records that declare one. Everything else is listed by date below.
173176
- [SDK toolchains, the payload/engine seam, and openkal across iOS, Android and Web](2026-09-11-sdk-toolchains-and-ios-local-verification.md) — landed
174177
- [Where a platform's knowledge belongs: iOS, Android and Web across the engine, the index and the plugins](2026-09-11-platform-targets-design-review.md) — active
175178

179+
### test
180+
181+
- [生态的测试与 CI 方案:mtest 的框架与运行控制、mcpp 自身的测试系统、CI 的形态(mcpp#986、#976、#927、#802)](2026-11-20-test-architecture-upgrade-design.md) — active
182+
176183
### toolchain
177184

178185
- [目标基座与执行宿主:sysroot 的通用模型、运行器契约、自备输入,以及同批的发布产物路径(#832)](2026-10-23-target-base-and-execution-host-design.md) — landed
@@ -206,6 +213,10 @@ Records that declare one. Everything else is listed by date below.
206213

207214
### 2026-11
208215

216+
- [包的特性作为机器可读的回答:一个目录项,两种来源,三种状态(mcpp#992)](2026-11-21-package-features-query-design.md) — active
217+
- [离线、宿主输入与工具链的缺省:按内容取归档的来源、项目的取齐、宿主输入的声明、工具链的解析与锁、缺省版本的规则(mcpp#988、#989、#990)](2026-11-21-offline-host-inputs-and-toolchain-defaults-design.md) — active
218+
- [构建程序的输入由观测给出:编译读到的文件、三道闸门的同一份记录、头文件的用法提示、提示的统一机制、契约中名字的歧义(mcpp#991、#852)](2026-11-21-build-program-observed-inputs-design.md) — active
219+
- [生态的测试与 CI 方案:mtest 的框架与运行控制、mcpp 自身的测试系统、CI 的形态(mcpp#986、#976、#927、#802)](2026-11-20-test-architecture-upgrade-design.md) — active
209220
- [程序起点模型:启动者、两层入口与 `main` 的三种陈述(mcpp#845、mcpp#981)](2026-11-20-program-start-model.md) — landed
210221
- [生态规则收敛方案:2026.11.18.1 之后十个 issue 的五类成因、七项决定与实施范围](2026-11-19-ecosystem-rule-convergence-design.md) — landed
211222
- [第二部分之后的补充方案:带修正的 ninja、模块重编译的级联、工作区发布与本轮遗留项](2026-11-17-ninja-cascade-publish-supplement-design.md) — active

‎.agents/skills/mcpp-contributing/SKILL.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,19 @@ E2E 并不保证完全离线:部分脚本需要工具链、索引或 capabilit
150150
按 CI 等价方式设置 `MCPP_HOME`、镜像和其他 capability 后再运行;不要让缓存命中
151151
或空 workspace 选择冒充行为覆盖。
152152

153+
C++ 端到端用例的写法(`tests/support`,设计 2026-11-20):
154+
155+
- 等待被测程序给出的事件(一行输出、一个文件、退出),不等待时间;`sleep_for` 与 shell `sleep <n>` 的次数只减不增
156+
(`.github/tools/check_waits.sh`、`waits.baseline`)。只为改变修改时间的等待改用 `s::touch(file)`。
157+
- 断言只在其 home 不被别人改写时成立的用例(回放的构建、快速路径)调用 `s::own_home()`,在自己的 home 中运行 mcpp,
158+
而不持有 `machine`;改写 home 配置的用例写自己 home 的 `config.toml`,不写共享 home 的。
159+
- 继承的 home(`home::inherited`、`_inherit_toolchain.sh`)以用户的 home 为 upstream,不链接其载荷,不复制 subos。
160+
- 每个 E2E 组带 `s::home_fixture`:共享的 home 是运行夹具,其填充记在夹具上。
161+
- 形式本身是契约的输出(`--protocol-version`、`emit surface`)以 golden 文件整段比较;改变它的拉取请求以
162+
`MTEST_GOLDEN=update` 更新文件,审阅读取更新给出的改动。
163+
- 程序写出的 `warning:` 与 `error:` 行由用例以 `e2e::expect_diagnostic` 声明;kit 以 `report` 方式统计未声明的行。
164+
- 不变量(无改动的重建、第二个工程)以构建记录(`MCPP_BUILD_RECORD`)计数,以指标与界限陈述。
165+
153166
### 4. 提交 PR
154167

155168
**提交信息前缀**:`feat:` / `fix:` / `refactor:` / `test:` / `docs:` / `chore:`
@@ -357,6 +370,15 @@ UTF-8 ACP(65001),这类用例会静默变成永远绿的装饰品。参见
357370
「只有它自己和它声明的依赖」这个配置里——那是根构建从不产生的配置,也是唯一
358371
能抓到「悄悄依赖了未声明之物」的地方。
359372
⚠️ `mcpp test -p <x>` 对没有测试的成员**退 0**
373+
- **用户可见的提示只有一个汇点 `mcpp.diag`**:`warning`、`degraded`、`note`、`notice`
374+
与收尾的 `closing`/`on_failure`。`mcpp::ui::warning`、`note`、`tip` 只由 `mcpp.diag`
375+
渲染使用,其他地方直接调用或向 stderr 写 `warning:`/`note:`/`tip:` 都由
376+
`.github/tools/check_diag_sink.sh` 在 CI 中拒绝。领域即代码:`build-program/reads-outside`
377+
在机器输出中是 `MCPP_BUILD_PROGRAM_READS_OUTSIDE`
378+
- **策略不是缺省(每次都说)的提示先登记**:`modules/notice` 的 `kKinds` 一行陈述领域、
379+
策略(`once`:一个工程每个对象只说一次,记在 `target/.mcpp-notices`)与文档位置,调用
380+
`mcpp::diag::notice(..., subject, ...)`;多个对象合并为一条时用带 `scope` 与对象列表的形式。
381+
改变这次构建结果的事实(降级、弃用的读法、未知的键)不登记为 `once`
360382
- E2E 测试应声明所需 capability,并使用隔离的 `MCPP_HOME`;需要网络/索引的脚本
361383
不得被描述为完全离线
362384
- 不确定方向时先在 Issue 讨论再动手

‎.agents/skills/mcpp-release/SKILL.md‎

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ git checkout main && git pull origin main
7272
gh run list --branch main --limit 3
7373
```
7474

75+
缺省版本与索引比对(docs/51「缺省版本」):每个 `[[default]]` 应为上游最新的正式发布。
76+
`behind` 的一项在发版前移动(载荷先进入 xim-pkgindex),或在 CHANGELOG 中陈述保留的原因;
77+
上游的发布页另行核对,索引可能落后于上游。
78+
79+
```bash
80+
bash .github/tools/check_defaults.sh <xim-pkgindex checkout>
81+
```
82+
7583
以分支保护和 `gh pr checks <pr-number>` 显示的 actual required checks 为准。
7684
在 main 上监控当前运行时,检查 `ci` 这一个工作流的运行(它包含各平台、e2e 分片、
7785
交叉构建与 `e2e-coverage`);known-red 的腿(名字里带 issue 号)允许失败。跳过或
@@ -108,28 +116,38 @@ gh pr create --title "chore: bump version to $NEW_VERSION" --body "..."
108116
然后推送(标签在 push 启动运行时读取)。这样 PR 自己的运行就是全集,结果在 PR 的检查中可见。不要以
109117
`gh workflow run ci.yml --ref <分支>` 另开一次运行,也不要取消 PR 的运行(见 mcpp-contributing 第 5 节)。
110118

119+
全集运行通过时留下 `verified-<tree>`(设计 2026-11-20 §5.22),它的 `release-form` 作业留下四个发布归档。
120+
版本号的两处、CHANGELOG 与文档中 `@NEXT@` 的替换都在这次运行之前提交:之后的任何改动都改变树,标记随之失效。
121+
合入(squash)之后 main 的树与被验证的树相同,main 的运行只登记、保存缓存,不再运行测试,**不取消它**。
122+
合入与打 tag 之间 main 移动过时,发布照常构建,摘要写明原因。
123+
111124
### 3. 创建并推送 tag
112125

113126
```bash
114127
git tag "v$NEW_VERSION"
115128
git push origin "v$NEW_VERSION"
116129
```
117130

118-
Tag push 会自动触发 `release.yml` workflow。
131+
Tag push 会自动触发 `release.yml` workflow。它的 `find` 作业由 tag 得到树:有运行验证过这棵树、且仍保留
132+
四个 `release-*` 归档(七天)时,`promote` 提升它们(核对 `.sha256` 与 Linux 程序报告的版本),不再构建;
133+
否则运行 `release-build.yml` 的四个构建。运行摘要写明 "Promoted" 或 "Built" 及原因。
119134

120135
### 4. 监控 Release CI
121136

122-
Release workflow 的四个平台构建**同时开始**,各自把归档留作 artifact;`create-release`
123-
在四个构建都通过后一次创建带全部归档的 GitHub release(设计 2026-11-14):
137+
Release workflow 先由 `find` 决定提升还是构建。构建时四个平台构建(`release-build.yml`)**同时开始**,
138+
各自把归档留作 artifact;`create-release` 在四个构建或 `promote` 通过后一次创建带全部归档的 GitHub
139+
release(设计 2026-11-14、2026-11-20 §5.22):
124140

125141
| Job | 平台 | 产物 | 依赖 |
126142
|-----|------|------|------|
127143
| `canaries` | — | 生态项目(xlings、mcppls)用候选版本构建 | 仅手动发布且勾选 `canaries` 时运行 |
128-
| `build-release` | Linux x86_64 | `mcpp-X.Y.Z-linux-x86_64.tar.gz`、源码包、`mcpp.lua`、`install.sh` | 无 |
129-
| `build-linux-aarch64` | Linux aarch64(交叉) | `mcpp-X.Y.Z-linux-aarch64.tar.gz` | 无 |
130-
| `build-macos` | macOS ARM64 | `mcpp-X.Y.Z-macosx-arm64.tar.gz` | 无 |
131-
| `build-windows` | Windows x86_64 | `mcpp-X.Y.Z-windows-x86_64.zip` | 无 |
132-
| `create-release` | — | GitHub release、覆盖全部归档的 `SHA256SUMS` | 四个构建(及运行时的 canaries) |
144+
| `find` | — | tag、提交、树与验证它的运行 | 无 |
145+
| `promote` | — | 被验证运行的四个归档,作为 `release-promoted` | `find` 找到运行时 |
146+
| `build-release` | Linux x86_64 | `mcpp-X.Y.Z-linux-x86_64.tar.gz`、源码包、`mcpp.lua`、`install.sh` | `find` 未找到运行时(`build`) |
147+
| `build-linux-aarch64` | Linux aarch64(交叉) | `mcpp-X.Y.Z-linux-aarch64.tar.gz` | `find` 未找到运行时(`build`) |
148+
| `build-macos` | macOS ARM64 | `mcpp-X.Y.Z-macosx-arm64.tar.gz` | `find` 未找到运行时(`build`) |
149+
| `build-windows` | Windows x86_64 | `mcpp-X.Y.Z-windows-x86_64.zip` | `find` 未找到运行时(`build`) |
150+
| `create-release` | — | GitHub release、覆盖全部归档的 `SHA256SUMS` | 四个构建或 `promote`(及运行时的 canaries) |
133151
| `release-manifest` | — | `mcpp-release.json` | `create-release` |
134152
| `publish-ecosystem` | — | 镜像到 xlings-res 双端 + 开索引 bump PR | `release-manifest` |
135153

‎.gitattributes‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
tests/fixtures/openkal-hosted-threads/src/main.cpp.in text eol=lf
33
# The rows' snapshot is compared line by line with what the engine answers, in its own bytes.
44
tests/fixtures/target-rows.snapshot text eol=lf
5+
# The golden outputs are compared whole with what mcpp writes, in its own bytes (tests/e2e/cli/golden.cpp).
6+
tests/e2e/golden/* text eol=lf

‎.github/actions/bootstrap-mcpp/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ inputs:
3333
# `package.name`, so one of the two was simply unreachable — and which one
3434
# depended on the machine, which is why CI failed on `compat:lua` on
3535
# Windows and `mcpplibs.capi:lua` on Linux. Never pin below that.
36-
default: '2026.11.17.2'
36+
default: '2026.11.21.1'
3737

3838
outputs:
3939
sandbox-key:

0 commit comments

Comments
 (0)