The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ci): route ex63 coverage suites through nextest-coverage wrapper
Steven Enamakel3c0576aa4525
diff --git a/docs/ci-private-validation.md b/docs/ci-private-validation.mdnew file mode 100644index 0000000000..f28189feb0--- /dev/null+++ b/docs/ci-private-validation.md@@ -0,0 +1,62 @@+# Private Rust validation inventory and measurements++This inventory records the test selections before changing execution for #8063.+Coverage replaces equivalent executions inside the private job. Feature sets are+not treated as equivalent merely because they select the same crate.++| Selection | Earlier execution | Private execution |+| --- | --- | --- |+| `openhuman` product `--lib --bins` | coverage nextest, background unit build | coverage nextest, sequential |+| `openhuman-cli` product integration targets | coverage nextest `kind(test)` | same, fails empty selection |+| `openhuman-embed`, `openhuman-tinyhumans` product, all targets | coverage libtest | coverage nextest |+| `openhuman-embed`, `openhuman-tinyhumans` default, all targets | omitted as presumed duplicates | separate coverage nextest configurations |+| `openhuman-rpc`, `openhuman-tui` default, all targets | coverage libtest | coverage nextest |+| core no-default lib, existing gate filters | plain libtest | coverage nextest with equivalent substring unions |+| core no-default plus `modules,mcp,e2e-test-support`, gate filters | serial plain libtest | serial coverage nextest |+| Tauri own manifest/default features | coverage libtest | coverage nextest |+| CLI ten storage E2E targets, `storage-sqlite,storage-file` | plain libtest | coverage nextest, same targets and driver matrix |+| core storage domain filters excluding cron module tests | plain libtest | coverage nextest, same inclusions/exclusions |+| core storage cron bus/documents tests | serial plain libtest | serial coverage nextest |+| RPC `session-store,storage-sqlite,storage-file`, `session_store::` | plain libtest | coverage nextest |++The storage E2E list and domain filter list remain declared in `lanes-plan.mjs`.+Product features remain in `scripts/ci/product-features.txt`; they are resolved+per package, preserving existing feature forwarding. Checksum-pinned native test+modules, coverage-presence checks and the 80% changed-line gate remain required.+Doctests, clippy, rustdoc, examples and uninstrumented link checks remain separate+because coverage/nextest does not replace them.++The full reusable workflow was inspected: `ci-full.yml` calls+`test-reusable.yml` for uninstrumented unit/quality checks and retains separate+core E2E, browser/desktop E2E, and platform suites. It does not invoke the private+coverage lane. These distinct workflows and their release callers are retained.++## Historical warm baseline++[Run 39006804022](https://github.com/tinyhumansai/openhuman/actions/runs/39006804022),+head `a90ebba82e4bbfe4d454107620b52bf18092932a`, completed its EX63 job on+2026-10-17 from 05:53:35 to 06:22:35 UTC: **29m00s**, excluding approximately+18m15s queue time. This used parallel lanes and the previous sccache backend.++- Cache: 5,373 Rust hits, zero misses. This is a **warm** baseline, not a cold run.+- Core nextest: 10,168 unit tests and 447 integration tests passed; 10 and 19 skipped.+- Remaining core coverage libtest records: 945 passed across 89 result records.+- Tauri: 309 passed, one ignored. Gates-off: 488 passed. Storage: 2,549 passed.+- Coverage: 1,554 eligible files present; changed-line report 86% over 125 measured+ changed lines (17 violations). Four LCOV reports were archived.+- Core coverage check: 20m23s; unit execution 546.719s; integration 316.683s.+- Cache save time is unavailable for this old backend.++These counts are executions, not deduplicated test identities. The historical+commit and runner allocation differ from the implementation benchmark, so this+is context rather than a controlled speed-up claim.++## Measurement protocol++Run the complete selected lane plan twice at the same source revision and image,+using fresh target outputs. Preserve package-manager caches, and identify whether+the signed remote Rust cache already contains those compiler keys. Do not call a+run cold merely because its target directory is new. Record Tinymold hit/miss and+save time, test counts, coverage presence, linkage proof, each check's result and+elapsed time. Preserve failed runs too. After merging, repeat through trusted-main+workflow routing, since pre-merge runs can execute the old workflow.diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex 38b27a4229..dca2e20189 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -404,7 +404,7 @@ test("private auxiliary coverage reports after failed tests and preserves the faconst plan = buildPlan({ profile: "ex63", areas: ALL, env: EX63_ENV });const check = plan.lanes.find((l) => l.name === "storage-drivers").checks[0];const result = spawnSync("bash", ["-o", "pipefail", "-c", check.run], {- cwd: dir, env: { ...process.env, PATH: `${dir}:${process.env.PATH}`, CARGO_CALLS: calls },+ cwd: repoRoot, env: { ...process.env, PATH: `${dir}:${process.env.PATH}`, CARGO_CALLS: calls },});assert.equal(result.status, 17);const commands = fs.readFileSync(calls, "utf8").trim().split("\n");diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex 2626418482..93c458ba15 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -587,7 +587,7 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {// retains prior instrumentation, while every suite writes its own report.if (ex63) {const coverageSuite = (args, output, manifest = "Cargo.toml") =>- `rc=0; cargo llvm-cov nextest --profile ci --no-fail-fast --no-tests=fail --no-clean --no-report ${args} || rc=$?; ` ++ `rc=0; bash scripts/ci/nextest-coverage.sh ${output.replace(/^lcov-|\.info$/g, "")} cargo llvm-cov nextest --profile ci --no-fail-fast --no-tests=fail --no-clean --no-report ${args} || rc=$?; ` +`cargo llvm-cov report --manifest-path ${manifest} --lcov --output-path ci-out/lcov/${output} || { report_rc=$?; if [ "$rc" -eq 0 ]; then rc=$report_rc; fi; }; exit "$rc"`;for (const lane of lanes) {if (!["rust-gates-off", "storage-drivers"].includes(lane.name)) continue;