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): verify preinstalled llvm tools for self-hosted runner
Steven Enamakelcd1f587ee246
diff --git a/scripts/ci/self-hosted/verify-runner.sh b/scripts/ci/self-hosted/verify-runner.shindex ea7d4e5d39..fb4ed337ea 100644--- a/scripts/ci/self-hosted/verify-runner.sh+++ b/scripts/ci/self-hosted/verify-runner.sh@@ -27,6 +27,21 @@ assert sys.version_info >= (3, 10)print(tomllib.load(open(sys.argv[1], "rb"))["toolchain"]["channel"])PYTHON)"+# cargo-llvm-cov --version does not inspect LLVM tools. Check the pinned+# toolchain before publishing environment, and forbid its automatic installer.+verify_llvm_tools() {+ local toolchain="$1" target_libdir llvm_bin tool+ target_libdir="$(rustup run "$toolchain" rustc --print target-libdir)" || return $?+ llvm_bin="$(dirname "$target_libdir")/bin"+ for tool in llvm-cov llvm-profdata; do+ if [[ ! -x "$llvm_bin/$tool" ]]; then+ printf '::error::Missing preinstalled LLVM tool for %s: %s\n' "$toolchain" "$tool" >&2+ return 1+ fi+ done+ printf 'CARGO_LLVM_COV_SETUP=no\n' >> "$GITHUB_ENV"+}+verify_llvm_tools "$channel"# rustup run --install is deliberately absent: an image without this toolchain fails.rustup run "$channel" rustc --versionrustup run "$channel" cargo clippy --version