Files
marqdo-cli/docs/evidence/2026-11-27-rc.5-candidate-prep.md
cflmy 29fc0108f5
ci/woodpecker/push/main Pipeline failed
ci/woodpecker/pr/main Pipeline failed
candidate: rc.5 archive evidence, rc.4 paired perf baseline and strict blocker
- Record the deterministic rc.5 archive (sha256:446197ad...) built twice from
  the candidate commit, smoke PASS and the offline Ubuntu 24.04/glibc 2.39
  cold install PASS; still no tag/release/asset upload.
- Fix the perf comparison baseline to the previous published rc.4 instead of
  the pre-external-Bundle beta, and measure the same fixture workload in both.
  The shared-node paired run (9/9 COMPARED, max p50 +5.15%, max RSS +4.87%,
  investigate=false) remains a WARN candidate only: status SMOKE and
  environment_approved=false, so it cannot be claimed as G4 PASS.
- Record strict L1 as BLOCKED with the real failures (no namespaces/VM,
  runuser denied); no strict evidence was produced and root-only results are
  never promoted.

Refs cflmy/marqdo-cli#11, cflmy/marqdo#2
2026-11-27 10:21:11 +08:00

43 lines
3.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 3.0.0-rc.5 候选准备(未发布)
日期:2026-11-27。分支:`release/3.0.0-rc.5-candidate`。本文件记录**候选准备**,不是发布记录:没有 tag、没有 Gitea Release、没有上传资产。
## 范围
- 工作区版本 `3.0.0-rc.4` → `3.0.0-rc.5`(Cargo.toml/Cargo.lock),CHANGELOG 增加“unreleased candidate”区段。
- 内容基线:CLI `deadf6e`(外部 Bundle Phase B,无仓库内 `stdlib/` 树)+ 根外部 Bundle `marqdo-stdlib@0.2.0`(`digest sha256:db905508...`)。
- 其余当前文档仍描述上一个已发布 rc.4;正式发布前必须在冻结 SHA 上统一 README/COMPATIBILITY/STATUS/开发者文档并重跑门禁。候选分支不合并即不改变产品发布声明。
## 候选验证(本机)
- 见父仓 #2 证据 `docs/evidence/2026-11-27-issue2-release-readiness.md`:确定性归档、smoke、离线冷安装、三个迁出扩展、外部 conformance、std surface、坏摘要 fail-closed。
- 本分支版本化为 rc.5 后重新生成归档时,仅版本/元数据变化;发布前须在冻结 SHA 上重新执行全部命令并记录摘要。
## rc.5 候选归档(未发布)
- 候选提交 `9b21486`(版本/metadata + 性能 harness 修复),CLI `--release` 构建成功。
- 同输入连续两次 `package.py`:`marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu.tar.gz` sha256 均为 `446197adb3c23dde87abc389490602e27856d6eb172667208080c8072a5ddece`(确定性 PASS)。
- `smoke.py` PASS;Ubuntu 24.04/glibc 2.39、`--network none`、无 Cargo 冷安装 PASS(缺 Bundle fail-closed;语言-only 可运行)。
- 未上传、无 tag、无 Release;`SOURCE_SHA` = 候选提交。
## 性能门禁(G4)候选结果
- 迁移后发现真实 harness 缺口:`stdlib-print-demo` 工作负载仍引用已删除的 CLI 内 `stdlib/demo.mq.md`,外部 Bundle 候选无法测量。
- 修复(本候选分支):新增 `tools/perf/fixtures/print-demo.mq.md`,工作负载改名为 `print-demo` 并指向 fixture,重新记录 `tools/perf/expected/print-demo.json`;`performance.yml` 在 baseline worktree 中复制同一 `tools/perf`,保证两个二进制测同一工作负载。
- 本机共享节点 paired run(Intel i7-8565U,8 CPU,taskset pin,5 warmups/20 samples):baseline 为**上一发布 rc.4**(`452e9a32...`,同一 harness/工作负载/fixture),candidate 为 rc.5 归档二进制 + 外部 Bundle。`correctness=VERIFIED`,9/9 工作负载 COMPARED,最大 p50 +5.15%、最大 RSS +4.87%,`investigate=false`(均低于 15%/20% 阈值)。
- **仍不是 G4 PASS**:报告 `status=SMOKE`、`environment_approved=false`,本机节点未获维护者针对该 RC 的批准;按 RC 政策只能作为 shared-node WARN 候选,需维护者在获批节点/环境复跑并明确批准。
## Strict L1(BLOCKED,未运行)
- 本环境无 disposable VM;`bwrap` 无法创建命名空间(`bwrap: No permissions to create a new namespace`),`unshare -Ur` 被拒(`/proc/self/uid_map: Operation not permitted`),`runuser -u nobody` 被拒(`cannot set groups: Operation not permitted`)。
- `tests/security/run-lane.sh` 明确要求普通用户在 disposable VM/可信 self-hosted runner 上运行并拒绝 root;本机无法产生 strict 证据,记录 BLOCKED 而非 PASS。
## 未完成(阻塞发布,不冒充 PASS)
- 冻结候选 SHA 与文档/版本一致性;
- strict L1 独立 VM、非 root 同 SHA 证据;
- G4 性能固定节点或维护者批准的 shared-node WARN;
- 维护者显式 tag/Release 批准。
按 `docs/releasing.md`,自动化只可预备 RC 与证据,不得自行 tag/release。