Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

fix(tooling): use canonical Rust LLVM component (#256)

Marton Mayer2183bc1c3e7b
diff --git a/mise.toml b/mise.toml
index 6360245b8..c3264d88e 100644
--- a/mise.toml
+++ b/mise.toml
@@ -4,7 +4,7 @@ experimental = true
[tools]
python = "3.12.12"
uv = "0.5.31"
-rust = { version = "1.97.0", profile = "default", components = ["rustfmt", "clippy", "llvm-tools-preview"] }
+rust = { version = "1.97.0", profile = "default", components = ["rustfmt", "clippy", "llvm-tools"] }
"cargo:cargo-deny" = "0.20.2"
"cargo:cargo-llvm-cov" = "0.8.7"
node = ["24.12.0", "22.23.2"]
diff --git a/tools/ci/tests/test_public_tree.py b/tools/ci/tests/test_public_tree.py
index 38c143b27..52bc670c2 100644
--- a/tools/ci/tests/test_public_tree.py
+++ b/tools/ci/tests/test_public_tree.py
@@ -2,6 +2,7 @@ from __future__ import annotations
import re
import subprocess
+import tomllib
from pathlib import Path
from tools.ci import check_public_tree
@@ -56,6 +57,11 @@ def test_bootstrap_uses_root_locks_even_in_ci() -> None:
assert not (REPOSITORY_ROOT / "packages/sie_ts_sdk/pnpm-lock.yaml").exists()
+def test_bootstrap_installs_canonical_rust_components() -> None:
+ mise_config = tomllib.loads((REPOSITORY_ROOT / "mise.toml").read_text())
+ assert mise_config["tools"]["rust"]["components"] == ["rustfmt", "clippy", "llvm-tools"]
+
+
def test_ci_is_fork_safe_and_actions_are_immutable() -> None:
workflow = (REPOSITORY_ROOT / ".github/workflows/ci.yml").read_text()
assert "pull_request_target" not in workflow
diff --git a/tools/mise_tasks/gateway-coverage.bash b/tools/mise_tasks/gateway-coverage.bash
index cd1ec0978..0ae5c99a4 100755
--- a/tools/mise_tasks/gateway-coverage.bash
+++ b/tools/mise_tasks/gateway-coverage.bash
@@ -6,7 +6,7 @@
set -euo pipefail
-# cargo-llvm-cov needs the `llvm-tools-preview` rustup component, which
+# cargo-llvm-cov needs the canonical `llvm-tools` rustup component, which
# mise.toml declares alongside the rust toolchain pin so `mise install`
# provisions it on every dev machine and CI runner.
#