ci: add the independent-build lane and pin the perf Bundle

Add tools/ci/independent_build.py: export HEAD without stdlib/, build
both shipped binaries with --locked, run a language-only check/call, and
require a stdlib-dependent run to fail closed with no sibling stdlib.
Add tests/independent/language-only.mq.md and run the lane as its own
GitHub job and Woodpecker step.

Perf runner resolves the pinned Bundle (--stdlib-dir/--bundle-pin),
exports it to every workload and records it in the report; GitHub and
Woodpecker lanes verify the pin and pass the product tests an explicit
Bundle. docs/ci.md and performance docs describe the lanes.
This commit is contained in:
cflmy committed 2026-11-26 15:25:40 +08:00
1 parent 3a68260cf2
commit ab6b6b1a23
9 files changed
+316 -13

No files matched your search

+6 -3
View File
@@ -27,9 +27,12 @@ dominated by emulation and is not comparable with native or KVM.
## Tool
`tools/perf/runner.py` (schema `marqdo.perf.v2`) builds one release binary,
records its SHA256/Cargo.lock/rustc/source SHA, verifies every workload's exact
wire digest **before** timing, then reports warmups/samples, p50, p95, MAD,
CPU user/sys, peak RSS and the environment manifest. See
records its SHA256/Cargo.lock/rustc/source SHA, resolves one pinned stdlib
Bundle (name, version, tree/alias digests, source commit) and passes it to every
workload as `MARQDO_STDLIB_DIR`, verifies every workload's exact wire digest
**before** timing, then reports warmups/samples, p50, p95, MAD, CPU user/sys,
peak RSS and the environment manifest. A bad Bundle input or digest mismatch
fails before any workload runs; there is no checkout fallback (ADR-0070). See
[`tools/perf/README.md`](../tools/perf/README.md).
Rules enforced by the tool: