Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(ci): document post-measurement preflight guard and trusted-base rollout

Steven Enamakel36fe39eb5ae5
diff --git a/docs/ci-private-measurements-8063.json b/docs/ci-private-measurements-8063.json
index 27b86d8bad..a5182e4dea 100644
--- a/docs/ci-private-measurements-8063.json
+++ b/docs/ci-private-measurements-8063.json
@@ -123,5 +123,19 @@
"Fresh compiler-key namespace and local outputs; package caches retained and shared CAS may deduplicate existing blobs.",
"Observed shared-host co-tenancy; elapsed differences do not isolate cache-only effects or establish speedup against the historical GitHub job.",
"Only closed scratch footprints are authoritative; optional live disk polling stopped early during cold and did not cover warm."
- ]
+ ],
+ "post_measurement_preflight_validation": {
+ "introduced_revision": "cd1f587ee246b1d0753e84160c265a5f20ad16dc",
+ "verify_runner_sha256": "8a41db134461a1dcc8f861a18d919366c63caf1fa54b1c58a427367f98b48f74",
+ "scope": "Required pinned LLVM executables and disabled implicit installation; measured lane selections, build settings and cache policy unchanged.",
+ "old_missing_tools_exit": 0,
+ "new_missing_tools_exit": 1,
+ "negative_environment_empty": true,
+ "installed_tools_positive_exit": 0,
+ "implicit_setup_disabled": true,
+ "focused_tests_passed": 7,
+ "script_tests_passed": 772,
+ "script_tests_skipped": 3,
+ "script_test_failures": 0
+ }
}
diff --git a/docs/ci-private-validation.md b/docs/ci-private-validation.md
index 9bfd539a95..51cb36f867 100644
--- a/docs/ci-private-validation.md
+++ b/docs/ci-private-validation.md
@@ -133,10 +133,10 @@ workflow routing, since pre-merge runs can execute the old workflow.
Both runs at `3a01ec0c54a54f30a14ab92cd5fdbf241d6e9316` independently passed
with identical selected test identities. The [measurement record](ci-private-measurements-8063.json)
contains exact counters, resource limits and archive digests.
-Both use the same published image, frozen injected rootfs/kernel, four vCPUs,
+Both used the same published image, frozen injected rootfs/kernel, four vCPUs,
13 GiB RAM, 160 GiB scratch, 32 GiB guest swap and the production 58 GiB shared
-host limit. The cold used the 180-minute workflow budget and 195-minute guest
-deadline; there were no additional per-unit CPU or memory caps.
+host limit. The measured contract used a 180-minute full-entry budget and
+195-minute guest deadline; there were no additional per-unit CPU or memory caps.
| Metric | Cold | Warm |
| --------------------------------------- | -----------------: | -----------------: |
@@ -148,6 +148,7 @@ deadline; there were no additional per-unit CPU or memory caps.
| Local compiler-cache hits | 2,286 | 2,717 |
| Remote compiler-cache hits | 0 | 3,801 |
| Compiler-cache misses | 3,830 | 33 |
+| Compiler-cache hit rate | 37.4% | 99.5% |
| Compiler-cache errors | 0 | 0 |
| Cache-save duration/result | 206 s / exit 0 | 1 s / exit 0 |
@@ -195,14 +196,39 @@ CAS may already contain deduplicated blobs. The warm repeat retained that same
namespace and package-cache disk. This is compiler-key cold, with observed
production co-tenancy. Neighbors changed during the cold run and transient host
memory reclaim occurred; periodic unit PSI avg10 samples reached 60.91%, with
-zero host OOM events. The warm observed unit PSI avg10 maximum was 4.56%. Historical and cold/warm elapsed differences do not isolate
-a cache-only causal effect.
+zero host OOM events. The warm observed unit PSI avg10 maximum was 4.56%.
+Historical and cold/warm elapsed differences do not isolate a cache-only causal
+effect.
The completed cold/warm scratch had 2,133,032,960 / 2,155,548,672 bytes
(about 1.99 / 2.01 GiB) free. Optional live disk polling stopped early in cold
-and did not cover warm; these are closed footprints rather than peak headroom. Release
-example files were absent after scoped cleanup. Logical ordinary ELF sizes fell
+and did not cover warm; these are closed footprints rather than peak headroom.
+Release example files were absent after scoped cleanup. Logical ordinary ELF sizes fell
from 922,632,896 to 538,239,416 bytes for approvals and from 926,900,368 to
536,418,496 for Composio relative to the disk-full diagnostic. Reflinks make
allocated subtree sizes upper bounds, so those figures do not establish physical
reclaimed bytes. The remaining scratch margin is narrow.
+
+### Preflight guard added after measurement
+
+After the measured revision, preflight gained a required LLVM-tool check and
+`CARGO_LLVM_COV_SETUP=no`. The paired results above retain their exact measured
+revision; the lane selections, build settings and compiler-cache policy are
+unchanged. Separate published-image verification reproduced the old guard
+accepting a missing LLVM-tool path, then confirmed the new guard rejects it
+before publishing environment. The real installed tools passed. Seven focused
+contract tests and the complete script suite passed: 772 tests, three platform
+skips, zero failures. No component installation or image modification was used
+for this guard verification.
+
+### Trusted-base rollout
+
+[The earlier GitHub run](https://github.com/tinyhumansai/openhuman/actions/runs/39066797765)
+used main's 120-minute workflow and cancelled during Rust lint after core coverage
+passed. [Budget prerequisite #8067](https://github.com/tinyhumansai/openhuman/pull/8067)
+raises that finite limit to 180 minutes, matching the measured contract and the
+already configured 195-minute supervisor deadline. A fresh synchronize or
+ready-for-review event must follow its merge:
+[reruns retain the original event revision](https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs).
+Verification of the new checkout/Tinymold action steps through trusted-main
+routing remains pending their rollout.
diff --git a/docs/ci-self-hosted.md b/docs/ci-self-hosted.md
index 41a710a932..5089c04c3e 100644
--- a/docs/ci-self-hosted.md
+++ b/docs/ci-self-hosted.md
@@ -119,6 +119,8 @@ for any commit without posting it.
validation, `verify-runner.sh` compares `/etc/ohci/build-info` with that pin,
checks preinstalled tools (Python 3.10 with tomli, or stdlib tomllib), and selects `rust-toolchain.toml` explicitly.
Missing metadata, tools, or the compiler fail; CI does not install replacements.
+ The selected compiler's `llvm-cov` and `llvm-profdata` executables are checked,
+ and `CARGO_LLVM_COV_SETUP=no` disables implicit component installation.
- The pinned shared checkout action fetches the PR merge ref with
`fetch-depth: 0` and `submodule-depth: 0`: full root and recursive submodule
history for pin ancestry checks, with unused `wiki` submodules excluded.