Skip to content

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

chore: files changed crates/openhuman-core/src/modules/registry_tests.rs

Steven Enamakel1d7f8645b7c4
diff --git a/crates/openhuman-core/src/modules/registry_tests.rs b/crates/openhuman-core/src/modules/registry_tests.rs
index e11d492099..3c40cf836a 100644
--- a/crates/openhuman-core/src/modules/registry_tests.rs
+++ b/crates/openhuman-core/src/modules/registry_tests.rs
@@ -394,17 +394,20 @@ fn every_digest_is_a_lowercase_sha256() {
#[test]
fn every_asset_name_carries_its_host_key_and_a_known_extension() {
// tinybus selects the asset by exact name and requires a `.tar.gz` or
- // `.zip` archive, so a name that does not match its key is a module that
- // loads the wrong platform's library.
+ // `.zip` archive. Most archive platform stems match their host keys;
+ // TinyMCP's release uses the canonical `archlinux` stem for the rolling
+ // Arch host keys.
for record in ALL {
for asset in record.assets {
- // The rolling Arch Linux host key tracks the release archive's
- // canonical `archlinux` stem.
- let archive_host_key = asset
- .host_key
- .strip_prefix("archlinux-rolling-")
- .map(|suffix| format!("archlinux-{suffix}"))
- .unwrap_or_else(|| asset.host_key.to_owned());
+ let archive_host_key = if record.id == "tinymcp" {
+ asset
+ .host_key
+ .strip_prefix("archlinux-rolling-")
+ .map(|suffix| format!("archlinux-{suffix}"))
+ .unwrap_or_else(|| asset.host_key.to_owned())
+ } else {
+ asset.host_key.to_owned()
+ };
assert!(
asset.archive.contains(&archive_host_key),
"{} asset {} does not name its host key {}",