Skip to content

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

chore(modules): re-pin TinyEventQueues to v0.2.1 and send it its storage bus

M3gA-Mind2e221688655f
diff --git a/Cargo.lock b/Cargo.lock
index d89200bf4a..f4f0730e23 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -9715,7 +9715,7 @@ dependencies = [
[[package]]
name = "tinyeventqueues"
-version = "0.1.3"
+version = "0.2.1"
dependencies = [
"async-trait",
"data-encoding",
@@ -9736,7 +9736,7 @@ dependencies = [
[[package]]
name = "tinyeventqueues-bus"
-version = "0.1.3"
+version = "0.2.1"
dependencies = [
"serde",
"serde_json",
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lock
index 19ca78f347..c25eccc976 100644
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@ -7861,7 +7861,7 @@ dependencies = [
[[package]]
name = "tinyeventqueues-bus"
-version = "0.1.3"
+version = "0.2.1"
dependencies = [
"serde",
"serde_json",
diff --git a/crates/openhuman-core/src/inbound/settings.rs b/crates/openhuman-core/src/inbound/settings.rs
index e6261b5017..0319365b4c 100644
--- a/crates/openhuman-core/src/inbound/settings.rs
+++ b/crates/openhuman-core/src/inbound/settings.rs
@@ -217,7 +217,11 @@ pub fn module_config(config: &Config) -> Value {
"[inbound] configuring the tinyeventqueues module"
);
let resolved = remember(resolved);
+ // The module keeps its queues in host storage and refuses to load without
+ // the bus name that serves it; the host still derives the scope and grant
+ // from the authenticated caller, never from this value.
json!({
+ "storage_callback": tinystoragedrivers_bus::STORAGE_INTERFACE.to_string(),
"queues": resolved.queues_json,
"pipeline": resolved.pipeline_json,
})
diff --git a/crates/openhuman-core/src/inbound/settings_tests.rs b/crates/openhuman-core/src/inbound/settings_tests.rs
index a9f07b31dc..2186018b0d 100644
--- a/crates/openhuman-core/src/inbound/settings_tests.rs
+++ b/crates/openhuman-core/src/inbound/settings_tests.rs
@@ -110,6 +110,8 @@ async fn the_module_config_is_what_the_storage_grant_declares() {
config.inbound.queues_path = Some(queues.path().to_path_buf());
let blob = module_config(&config);
+ // The module refuses to load without the bus name serving its storage.
+ assert_eq!(blob["storage_callback"], "ai.tinyhumans.tinystorage.Storage");
assert_eq!(blob["queues"]["queues"][0]["max_attempts"], 4);
assert_eq!(blob["pipeline"]["version"], 1);
let grant = queue_grant().unwrap();
diff --git a/crates/openhuman-core/src/modules/registry/records_eventqueues.rs b/crates/openhuman-core/src/modules/registry/records_eventqueues.rs
index a506ce87d8..cb18e25e9d 100644
--- a/crates/openhuman-core/src/modules/registry/records_eventqueues.rs
+++ b/crates/openhuman-core/src/modules/registry/records_eventqueues.rs
@@ -11,63 +11,88 @@ pub(crate) const TINYEVENTQUEUES: ModuleRecord = ModuleRecord {
description: "Durable inbound event queues: dedupe, filtering, pacing and retry before triage",
bus_name: tinyeventqueues_bus::INTERFACE,
object_path: tinyeventqueues_bus::OBJECT_PATH,
- version: "0.1.3",
- release_url: "https://github.com/tinyhumansai/tinyeventqueues/releases/tag/v0.1.3",
+ version: "0.2.1",
+ release_url: "https://github.com/tinyhumansai/tinyeventqueues/releases/tag/v0.2.1",
assets: &[
+ PlatformAsset {
+ host_key: "archlinux-rolling-x86_64",
+ archive: "tinyeventqueues-0.2.1-archlinux-rolling-x86_64.tar.gz",
+ sha256: "ee7fcd7316fbae4bc932ac231dfc35fc0a6c309fa12e88154fc2bb14e2475925",
+ },
+ PlatformAsset {
+ host_key: "fedora-43-arm64",
+ archive: "tinyeventqueues-0.2.1-fedora-43-arm64.tar.gz",
+ sha256: "d41f2aeb3767f51b31c62fa92c7dcbb45f3686cf0951cd85eee5c2b6c1d2633c",
+ },
+ PlatformAsset {
+ host_key: "fedora-43-x86_64",
+ archive: "tinyeventqueues-0.2.1-fedora-43-x86_64.tar.gz",
+ sha256: "042e505157e6b18d66307f4e00c2929bb5279875d209db6698b5f01438c5b6e1",
+ },
+ PlatformAsset {
+ host_key: "fedora-44-arm64",
+ archive: "tinyeventqueues-0.2.1-fedora-44-arm64.tar.gz",
+ sha256: "1627eb8f7e4dd56abffa3f3c4b882edf9bd216fe474728f5788a9997703a38d9",
+ },
+ PlatformAsset {
+ host_key: "fedora-44-x86_64",
+ archive: "tinyeventqueues-0.2.1-fedora-44-x86_64.tar.gz",
+ sha256: "41a0072c767f53a39ebe6756057253991b54cd47f43ab4f9a6e87bf5b26b40d1",
+ },
PlatformAsset {
host_key: "macos-15-arm64",
- archive: "tinyeventqueues-0.1.3-macos-15-arm64.tar.gz",
- sha256: "d58f7c1128e0e2615220f72716ec266378bca7f34bb6fbc87b9d823a217a5b71",
+ archive: "tinyeventqueues-0.2.1-macos-15-arm64.tar.gz",
+ sha256: "36f52348e93ba516de0072b89858c4f960433081c20b93a4956dbd226190dd45",
},
PlatformAsset {
host_key: "macos-15-x86_64",
- archive: "tinyeventqueues-0.1.3-macos-15-x86_64.tar.gz",
- sha256: "bc1ec0c54abab9731cdaa741ab19f7a2001661c11c32f3b4c2125b3aedc55588",
+ archive: "tinyeventqueues-0.2.1-macos-15-x86_64.tar.gz",
+ sha256: "b8ff10113e3874dc06d9ae06ca9bcff6b7689f49c084c780b29f93cf5a5e8e5b",
},
PlatformAsset {
host_key: "macos-26-arm64",
- archive: "tinyeventqueues-0.1.3-macos-26-arm64.tar.gz",
- sha256: "610b6f03caaafa30b7e29d773ba180560fbbaa9ad92f2b60ebdf3cfa92b1a98a",
+ archive: "tinyeventqueues-0.2.1-macos-26-arm64.tar.gz",
+ sha256: "5e16b2121643783c00cab1c129093c5007926069d1be4abab98ed29effe9da96",
},
PlatformAsset {
host_key: "macos-26-x86_64",
- archive: "tinyeventqueues-0.1.3-macos-26-x86_64.tar.gz",
- sha256: "0d1f8869c83a79140f5bd6dd09f5b6ac242440521d3c115f115faea3ed132662",
+ archive: "tinyeventqueues-0.2.1-macos-26-x86_64.tar.gz",
+ sha256: "5d6449cb5027887570c9033cf38b91fdf3a2cc505c43fa863011566e1a885000",
},
PlatformAsset {
host_key: "ubuntu-22.04-arm64",
- archive: "tinyeventqueues-0.1.3-ubuntu-22.04-arm64.tar.gz",
- sha256: "66438022dc178ab604d2808454e47645cdad9b96e3ce8a05b12d291a30426a0e",
+ archive: "tinyeventqueues-0.2.1-ubuntu-22.04-arm64.tar.gz",
+ sha256: "92631e5ff5ec5aa5f515472a9a11478a0e2aa88006fc8d82694d7e5bbaf5140c",
},
PlatformAsset {
host_key: "ubuntu-22.04-x86_64",
- archive: "tinyeventqueues-0.1.3-ubuntu-22.04-x86_64.tar.gz",
- sha256: "14e2bb473fbee04863c51efb882d63dc8541f6afad05c30c23b35f54da2c638f",
+ archive: "tinyeventqueues-0.2.1-ubuntu-22.04-x86_64.tar.gz",
+ sha256: "6c7698049080c33c00233a9fbe26ffad0d50638f91ea3a2908c11fc530994c9e",
},
PlatformAsset {
host_key: "ubuntu-24.04-arm64",
- archive: "tinyeventqueues-0.1.3-ubuntu-24.04-arm64.tar.gz",
- sha256: "843033ece85e04191b1429f5ef7015602138fb9b18493c2fae4fdacc79602364",
+ archive: "tinyeventqueues-0.2.1-ubuntu-24.04-arm64.tar.gz",
+ sha256: "65180e0ebb42ca48c56e90c056a76b02b7c589a52fbca798b97d2a3b56975fff",
},
PlatformAsset {
host_key: "ubuntu-24.04-x86_64",
- archive: "tinyeventqueues-0.1.3-ubuntu-24.04-x86_64.tar.gz",
- sha256: "abde968ef3004e17914fe08ea20ee8dbd018b6d767279d94c1c39d3f65f9a896",
+ archive: "tinyeventqueues-0.2.1-ubuntu-24.04-x86_64.tar.gz",
+ sha256: "13ccb0fea19b30fd26981d30eee1b8f937a948c3f2f6b670a7b0ad6d06d926a2",
},
PlatformAsset {
host_key: "windows-11-arm64",
- archive: "tinyeventqueues-0.1.3-windows-11-arm64.zip",
- sha256: "f3c6a6c0d902902e54070308c5430e87dca6321cd2ef95aac629091b5d00fa12",
+ archive: "tinyeventqueues-0.2.1-windows-11-arm64.zip",
+ sha256: "dbdbecd9bd273c9d7e0f4bbf5ac537158df1f7b065595063b8068eb117da5ea0",
},
PlatformAsset {
host_key: "windows-2022-x86_64",
- archive: "tinyeventqueues-0.1.3-windows-2022-x86_64.zip",
- sha256: "ae19a089a111eb071c92dbd6bfa30c07c3d613ec862e7e7d03646692089c1c9c",
+ archive: "tinyeventqueues-0.2.1-windows-2022-x86_64.zip",
+ sha256: "463b302229221fb8fb1cb0b2857c34460a52296a4377ac5cc95657d40ad70de8",
},
PlatformAsset {
host_key: "windows-2025-x86_64",
- archive: "tinyeventqueues-0.1.3-windows-2025-x86_64.zip",
- sha256: "936db8601ddefe34e1fa7eaa059c7b27bf0847c967e3c9415eccfe51ed9d7429",
+ archive: "tinyeventqueues-0.2.1-windows-2025-x86_64.zip",
+ sha256: "ebbe289ece1b6ebe8ec4f4f76b7e655605822d6babd89880111584780fb7f9e7",
},
],
load: LoadPolicy::Lazy,
diff --git a/vendor/tinyeventqueues b/vendor/tinyeventqueues
index a719a6e009..a8d1e306a5 160000
--- a/vendor/tinyeventqueues
+++ b/vendor/tinyeventqueues
@@ -1 +1 @@
-Subproject commit a719a6e0092734eb4643956c2c0e98c20ccb278f
+Subproject commit a8d1e306a569373ffee9a808356e7aa2596b3b7c