candidate: rc.5 archive evidence, rc.4 paired perf baseline and strict blocker
ci/woodpecker/push/main Pipeline failed
ci/woodpecker/pr/main Pipeline failed

- 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
This commit is contained in:
cflmy committed 2026-11-27 10:21:11 +08:00
1 parent 9b21486c7d
commit 29fc0108f5
4 files changed
+27 -10

No files matched your search

+4 -2
View File
@@ -15,8 +15,10 @@ steps:
- cargo build --release --locked -p marqdo-cli -p marqdo-provider-worker
- |
set -eu
baseline_sha=2c7c4f31e7a388d3fcfa717a77067e696ed13854
git fetch --no-tags origin refs/tags/v3.0.0-beta.1
# Baseline is the previous published release (rc.4), not the pre-external-
# Bundle beta: both the harness and the workload sources must be identical.
baseline_sha=452e9a32bd9e40dba427d4180691c58bab74449e
git fetch --no-tags origin refs/tags/v3.0.0-rc.4
test "$(git rev-parse 'FETCH_HEAD^{commit}')" = "$baseline_sha"
perf_dir="$(mktemp -d)"
git worktree add --detach "$perf_dir/beta" "$baseline_sha"
@@ -13,12 +13,24 @@
- 见父仓 #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`,保证两个二进制测同一工作负载。
- 本机共享节点(Intel i7-8565U,8 CPU,taskset pin,5 warmups/20 samples)对归档候选测得的绝对结果:`status=MEASURED`、`correctness=VERIFIED`、9/9 工作负载 MEASURED(p50 6.85–20.85ms,RSS 24–31MB)。
- **不允许作为 G4 PASS**:baseline tag `v3.0.0-beta.1` 早于外部 Bundle,无法在本机构成同 harness 的 paired baseline;`environment_approved` 不是维护者针对该 RC 的批准。仍需维护者批准节点/环境后跑同工作负载 paired run 并记录 WARN/PASS。
- 本机共享节点 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)
+4 -3
View File
@@ -1,9 +1,10 @@
{
"measure_argv": [
"run",
"tools/perf/fixtures/print-demo.mq.md"
"call",
"tools/perf/fixtures/print-demo.mq.md",
"main"
],
"measure_sha256": "sha256:ca03bebeb3052ad7ae18943d04dccb7921e58421c46a2d8db460fbe3e96d9d51",
"measure_sha256": "sha256:663b632142809ee1bdfa24671263228f52fe8017db0b81a15db8f2bf3028ea33",
"normalized": {
"events": {
"by_kind": {
+5 -3
View File
@@ -127,14 +127,16 @@
"kind": "run",
"source": "tools/perf/fixtures/print-demo.mq.md",
"argv": [
"run",
"call",
"tools/perf/fixtures/print-demo.mq.md",
"main",
"--output",
"json"
],
"measure_argv": [
"run",
"tools/perf/fixtures/print-demo.mq.md"
"call",
"tools/perf/fixtures/print-demo.mq.md",
"main"
]
}
]