candidate: prepare 3.0.0-rc.5 metadata and fix the migrated perf print workload
Version/metadata candidate only — this commit does not create a tag or release: - workspace version 3.0.0-rc.4 -> 3.0.0-rc.5 (Cargo.toml/Cargo.lock) and an explicit unreleased-candidate CHANGELOG section; current release docs still describe rc.4 until a frozen release SHA and maintainer approval exist. - The external-Bundle migration removed the in-repo stdlib tree, so the G4 stdlib-print-demo workload no longer had a source. Move it to a self-contained tools/perf/fixtures/print-demo.mq.md, rename to print-demo, record its expected digest, and make performance.yml copy the same tools/perf into the baseline worktree so a paired run measures identical workloads. - Evidence records the candidate measurement (MEASURED/correctness VERIFIED on the shared node) but explicitly does not claim G4 PASS: the beta baseline predates the external-Bundle harness and no approved paired node exists yet. Refs cflmy/marqdo-cli issues #11, cflmy/marqdo#2
This commit is contained in:
1 parent
deadf6edee
commit
9b21486c7d
9 files changed
+132
-69
No files matched your search
@@ -22,6 +22,12 @@ steps:
|
||||
git worktree add --detach "$perf_dir/beta" "$baseline_sha"
|
||||
trap 'git worktree remove --force "$perf_dir/beta"; rm -rf "$perf_dir"' EXIT
|
||||
(cd "$perf_dir/beta" && cargo build --release --locked -p marqdo-cli)
|
||||
# The external-Bundle migration moved the print workload fixture out of
|
||||
# the removed in-repo stdlib tree; both binaries must measure the same
|
||||
# workload sources/expected digests, so copy the perf definition into
|
||||
# the baseline worktree.
|
||||
rm -rf "$perf_dir/beta/tools/perf"
|
||||
cp -a tools/perf "$perf_dir/beta/tools/perf"
|
||||
|
||||
version="$(target/release/marqdo --version | cut -d ' ' -f 2)"
|
||||
python3 tools/release/package.py --version "$version" --source-sha "$CI_COMMIT_SHA" \
|
||||
|
||||
@@ -14,6 +14,23 @@ separately and do not follow the product version. Dates use ISO 8601.
|
||||
Older sections are release records: a retired option or spec they name is
|
||||
available at its tagged commit, not in the current tree.
|
||||
|
||||
## 3.0.0-rc.5 (unreleased candidate)
|
||||
|
||||
> Candidate preparation only: this section and the workspace version are not a
|
||||
> release record. No tag, archive or Gitea release exists for `3.0.0-rc.5`; the
|
||||
> tag/Release requires the frozen-SHA gates and maintainer sign-off documented
|
||||
> in `docs/releasing.md`.
|
||||
|
||||
- The CLI and provider worker consume one explicit external stdlib Bundle
|
||||
(`--stdlib-dir`/Bundle pin) and the repository no longer carries a `stdlib/`
|
||||
source tree (issue #11 Phase B). Contract lanes and product tests materialize
|
||||
the ecosystem Bundle through `tools/ci/fetch_ecosystem_bundle.py`.
|
||||
- Tooling, docs and test support reference the external Bundle; the release
|
||||
archive still ships exactly one verified stdlib Bundle.
|
||||
- Version metadata is `3.0.0-rc.5` on this candidate branch only. Remaining
|
||||
release gates: frozen SHA, same-SHA CI, strict VM, G4 performance and
|
||||
maintainer approval.
|
||||
|
||||
## 3.0.0-rc.4 (2026-11-25)
|
||||
|
||||
- The Rust workspace, CLI version output and protocol producers report
|
||||
|
||||
Generated
+17
-17
@@ -412,7 +412,7 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-cli"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"hex",
|
||||
@@ -439,7 +439,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-expression"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-span",
|
||||
"num-bigint",
|
||||
@@ -450,7 +450,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-foreign"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"libc",
|
||||
@@ -466,7 +466,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-frontend"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-expression",
|
||||
"marqdo-ir",
|
||||
@@ -481,7 +481,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-host"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"flate2",
|
||||
"getrandom 0.4.3",
|
||||
@@ -510,7 +510,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-host-contract"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-span",
|
||||
"marqdo-value",
|
||||
@@ -518,7 +518,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-ir"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-expression",
|
||||
"marqdo-span",
|
||||
@@ -528,7 +528,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-markdown"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"comrak",
|
||||
"marqdo-span",
|
||||
@@ -539,7 +539,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-package"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"hex",
|
||||
"semver",
|
||||
@@ -553,7 +553,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-plugin-abi"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-value",
|
||||
"serde",
|
||||
@@ -563,7 +563,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-plugin-sdk"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-plugin-abi",
|
||||
"serde",
|
||||
@@ -572,7 +572,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-provider-worker"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"libloading",
|
||||
"marqdo-host",
|
||||
@@ -586,7 +586,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-runtime"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-expression",
|
||||
"marqdo-frontend",
|
||||
@@ -606,7 +606,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-sandbox"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"serde",
|
||||
@@ -614,14 +614,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-span"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-value"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"marqdo-span",
|
||||
"num-bigint",
|
||||
@@ -632,7 +632,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marqdo-worker-ipc"
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
dependencies = [
|
||||
"serde_json",
|
||||
"thiserror",
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "3.0.0-rc.4"
|
||||
version = "3.0.0-rc.5"
|
||||
edition = "2021"
|
||||
rust-version = "1.89"
|
||||
license = "Apache-2.0"
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# 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 上重新执行全部命令并记录摘要。
|
||||
|
||||
## 性能门禁(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。
|
||||
|
||||
## 未完成(阻塞发布,不冒充 PASS)
|
||||
|
||||
- 冻结候选 SHA 与文档/版本一致性;
|
||||
- strict L1 独立 VM、非 root 同 SHA 证据;
|
||||
- G4 性能固定节点或维护者批准的 shared-node WARN;
|
||||
- 维护者显式 tag/Release 批准。
|
||||
|
||||
按 `docs/releasing.md`,自动化只可预备 RC 与证据,不得自行 tag/release。
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"tools/perf/fixtures/print-demo.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:ca03bebeb3052ad7ae18943d04dccb7921e58421c46a2d8db460fbe3e96d9d51",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
"branch.eval": 70,
|
||||
"call.enter": 9,
|
||||
"call.exit": 9,
|
||||
"effect": 20,
|
||||
"loop.iteration": 24,
|
||||
"parameter.observed": 13,
|
||||
"return": 9,
|
||||
"run.completed": 1,
|
||||
"run.started": 1,
|
||||
"stdout.chunk": 1,
|
||||
"stream.opened": 1,
|
||||
"variable.assigned": 83
|
||||
},
|
||||
"count": 241,
|
||||
"sequence_sha256": "sha256:d7a9c356294e2ecace0f93b8b65c4eb0555073e1eec4846fb044dd5f395c97bd"
|
||||
},
|
||||
"schema": "marqdo.observation",
|
||||
"status": "ok",
|
||||
"stderr": {
|
||||
"bytes": 0,
|
||||
"sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"stdout": {
|
||||
"bytes": 16,
|
||||
"sha256": "sha256:ca03bebeb3052ad7ae18943d04dccb7921e58421c46a2d8db460fbe3e96d9d51"
|
||||
},
|
||||
"terminal": {
|
||||
"status": "ok",
|
||||
"value": {
|
||||
"type": "text",
|
||||
"value": "你好,Marqdo"
|
||||
},
|
||||
"value_type": "Text"
|
||||
}
|
||||
},
|
||||
"schema": "marqdo.perf.expected.v1",
|
||||
"wire_sha256": "sha256:a36f2476e799cc45127ebb31c1a7828115276a6bec39368b6b9f5297b7d16799",
|
||||
"workload": "print-demo"
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"stdlib/demo.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:4f5fcde6b4073511330c50f15bf07db13abc2cf0cf71de777e8e23ca870220fe",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
"branch.eval": 1956,
|
||||
"call.enter": 131,
|
||||
"call.exit": 131,
|
||||
"effect": 404,
|
||||
"loop.iteration": 810,
|
||||
"parameter.observed": 166,
|
||||
"return": 131,
|
||||
"run.completed": 1,
|
||||
"run.started": 1,
|
||||
"stdout.chunk": 6,
|
||||
"stream.opened": 1,
|
||||
"variable.assigned": 2533
|
||||
},
|
||||
"count": 6271,
|
||||
"sequence_sha256": "sha256:e17ea3ebe3ecd40f9e619f06e3bd9d4370d34616caf02a6099bbffe0f686522d"
|
||||
},
|
||||
"schema": "marqdo.observation",
|
||||
"status": "ok",
|
||||
"stderr": {
|
||||
"bytes": 0,
|
||||
"sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"stdout": {
|
||||
"bytes": 380,
|
||||
"sha256": "sha256:4f5fcde6b4073511330c50f15bf07db13abc2cf0cf71de777e8e23ca870220fe"
|
||||
},
|
||||
"terminal": {
|
||||
"status": "ok",
|
||||
"value": {
|
||||
"type": "none"
|
||||
},
|
||||
"value_type": "None"
|
||||
}
|
||||
},
|
||||
"schema": "marqdo.perf.expected.v1",
|
||||
"wire_sha256": "sha256:7bed5196b8cd52d1de12561f445bc2271dd5e91ed9c4065ebf79d0cb22d8a826",
|
||||
"workload": "stdlib-print-demo"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
# 打印工作负载
|
||||
|
||||
## @exec main
|
||||
|
||||
**问候 = "你好,Marqdo"**
|
||||
|
||||
> **打印(问候)**
|
||||
|
||||
`return 问候`
|
||||
@@ -123,18 +123,18 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdlib-print-demo",
|
||||
"name": "print-demo",
|
||||
"kind": "run",
|
||||
"source": "stdlib/demo.mq.md",
|
||||
"source": "tools/perf/fixtures/print-demo.mq.md",
|
||||
"argv": [
|
||||
"run",
|
||||
"stdlib/demo.mq.md",
|
||||
"tools/perf/fixtures/print-demo.mq.md",
|
||||
"--output",
|
||||
"json"
|
||||
],
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"stdlib/demo.mq.md"
|
||||
"tools/perf/fixtures/print-demo.mq.md"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user