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

+5
View File
@@ -27,6 +27,11 @@ workload whose wire output did not match the committed expected digest.
governor, CPU affinity and toolchain. For an approved-node comparison
it also requires an approved, correctness-verified MEASURED baseline.
Record competing load and investigate differences before sign-off.
* One explicit Bundle: `--stdlib-dir` (default: the pinned Bundle) is verified
against `tools/stdlib/bundle-pin.json`, and every workload receives it as
`MARQDO_STDLIB_DIR`. The report records the Bundle name, version, tree/alias
digests and source commit. A bad input or digest mismatch fails before any
workload runs; there is no checkout fallback (ADR-0070).
* Avoid TCG/QEMU for final performance numbers; use native or KVM with fixed
CPU affinity (`--cpu-list`) and an administrator-approved governor.
* The suggested investigation thresholds are p50 +15% and peak RSS +20%; they