Skip to content

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

test(storage): split bus host tests into their own module

Steven Enamakel9c21b931312c
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lock
index 6e76f03b35..6e56975c14 100644
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@ -1273,7 +1273,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users 0.5.3",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -1525,7 +1525,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -2648,7 +2648,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20fd6de4ccfcc187e38bc21cfa543cb5a302cb86a8b114eb7f0bf0dc9f8ac00f"
dependencies = [
"io-lifetimes 3.0.1",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -3376,7 +3376,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -3849,7 +3849,7 @@ dependencies = [
"tinyagents-session",
"tinyagents-tasks",
"tinybox-bus",
- "tinybus",
+ "tinybus 0.1.3",
"tinychannels-bus",
"tinycomputer-bus",
"tinyconnectors-bus",
@@ -3876,6 +3876,8 @@ dependencies = [
"tinysearch-bus",
"tinyskills",
"tinystoragedrivers",
+ "tinystoragedrivers-bus",
+ "tinystoragedrivers-client",
"tinytools",
"tinytools-agent",
"tinytools-std",
@@ -3962,7 +3964,7 @@ dependencies = [
"tinyagents-graph",
"tinyagents-harness",
"tinyagents-session",
- "tinybus",
+ "tinybus 0.1.3",
"tinyinference-embeddings",
"tinyinference-llm",
"tinymcp-bus",
@@ -4599,7 +4601,7 @@ dependencies = [
"once_cell",
"socket2",
"tracing",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -5006,7 +5008,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.4.15",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -5019,7 +5021,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.12.1",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -5087,7 +5089,7 @@ dependencies = [
"security-framework 3.7.0",
"security-framework-sys",
"webpki-root-certs",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -5465,6 +5467,19 @@ dependencies = [
"zmij",
]
+[[package]]
+name = "serde_norway"
+version = "0.9.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e408f29489b5fd500fab51ff1484fc859bb655f32c671f307dcd733b72e8168c"
+dependencies = [
+ "indexmap 2.14.2",
+ "itoa",
+ "ryu",
+ "serde",
+ "unsafe-libyaml-norway",
+]
+
[[package]]
name = "serde_path_to_error"
version = "0.1.20"
@@ -5550,19 +5565,6 @@ dependencies = [
"syn 3.0.6",
]
-[[package]]
-name = "serde_yaml"
-version = "0.9.34+deprecated"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
-dependencies = [
- "indexmap 2.14.2",
- "itoa",
- "ryu",
- "serde",
- "unsafe-libyaml",
-]
-
[[package]]
name = "serialize-to-javascript"
version = "0.1.2"
@@ -6451,7 +6453,7 @@ dependencies = [
"getrandom 0.4.3",
"once_cell",
"rustix 1.1.5",
- "windows-sys 0.59.0",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -6760,6 +6762,20 @@ dependencies = [
"zip 2.4.2",
]
+[[package]]
+name = "tinybus"
+version = "0.1.4"
+source = "git+https://github.com/tinyhumansai/tinybus?rev=40814a8279ff71b8fb411f9f29362c8ec0be51e2#40814a8279ff71b8fb411f9f29362c8ec0be51e2"
+dependencies = [
+ "async-trait",
+ "serde",
+ "serde_json",
+ "sha2 0.10.9",
+ "thiserror 2.0.20",
+ "tokio",
+ "tracing",
+]
+
[[package]]
name = "tinybus-macros"
version = "0.1.3"
@@ -7188,7 +7204,7 @@ dependencies = [
"rustix 1.1.5",
"serde",
"serde_json",
- "serde_yaml",
+ "serde_norway",
"sha2 0.11.0",
"thiserror 2.0.20",
"tokio",
@@ -7197,7 +7213,7 @@ dependencies = [
[[package]]
name = "tinystoragedrivers"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"tinystoragedrivers-core",
"tinystoragedrivers-file",
@@ -7205,9 +7221,31 @@ dependencies = [
"tinystoragedrivers-sqlite",
]
+[[package]]
+name = "tinystoragedrivers-bus"
+version = "0.6.0"
+dependencies = [
+ "serde",
+ "serde_json",
+ "tinybus 0.1.4",
+]
+
+[[package]]
+name = "tinystoragedrivers-client"
+version = "0.6.0"
+dependencies = [
+ "async-trait",
+ "serde",
+ "serde_json",
+ "tinystoragedrivers-bus",
+ "tinystoragedrivers-core",
+ "tinystoragedrivers-secrets",
+ "tokio",
+]
+
[[package]]
name = "tinystoragedrivers-core"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"async-trait",
"serde",
@@ -7218,7 +7256,7 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-file"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"async-trait",
"libc",
@@ -7230,7 +7268,7 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-secrets"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"async-trait",
"atomicwrites",
@@ -7253,7 +7291,7 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-sqlite"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"rusqlite",
"serde_json",
@@ -7867,10 +7905,10 @@ dependencies = [
]
[[package]]
-name = "unsafe-libyaml"
-version = "0.2.11"
+name = "unsafe-libyaml-norway"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
+checksum = "b39abd59bf32521c7f2301b52d05a6a2c975b6003521cbd0c6dc1582f0a22104"
[[package]]
name = "untrusted"
@@ -8383,7 +8421,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.48.0",
+ "windows-sys 0.61.2",
]
[[package]]
diff --git a/crates/openhuman-core/src/modules/storage_host_bus_tests.rs b/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
new file mode 100644
index 0000000000..1dac1f1301
--- /dev/null
+++ b/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
@@ -0,0 +1,236 @@
+use super::*;
+use serde_json::json;
+
+#[test]
+fn module_scopes_are_distinct_per_module_and_per_tenant() {
+ let local = Scope::local();
+ let a = module_scope(None, &local, "alpha").unwrap();
+ let b = module_scope(None, &local, "beta").unwrap();
+ assert_ne!(a, b);
+ assert_eq!(a.as_str(), "module:alpha@local");
+ let acme = module_scope(
+ Some("acme"),
+ &crate::storage::scope_for_profile("acme"),
+ "alpha",
+ )
+ .unwrap();
+ assert_ne!(a, acme);
+ let other = module_scope(
+ Some("globex"),
+ &crate::storage::scope_for_profile("globex"),
+ "alpha",
+ )
+ .unwrap();
+ assert_ne!(acme, other);
+}
+
+#[test]
+fn a_profiles_module_scope_sits_under_its_lease_fence() {
+ for profile in ["acme", "user-1_x", "h-0123456789abcdef0123456789abcdef"] {
+ let scope = module_scope(
+ Some(profile),
+ &crate::storage::scope_for_profile(profile),
+ "tinymcp",
+ )
+ .unwrap();
+ let covered =
+ crate::profiles::fence::scopes_of(&crate::profiles::ProfileId::parse(profile).unwrap());
+ assert!(
+ covered.iter().any(|matcher| match matcher {
+ crate::storage::fence::ScopeMatch::Prefix(prefix) =>
+ scope.as_str().starts_with(prefix.as_str()),
+ crate::storage::fence::ScopeMatch::Exact(exact) => scope.as_str() == exact,
+ }),
+ "{profile}: {scope:?}"
+ );
+ }
+}
+
+#[test]
+fn an_ambiguous_module_id_falls_back_to_a_hashed_scope() {
+ let local = Scope::local();
+ let hashed = module_scope(None, &local, "a@b").unwrap();
+ assert!(hashed.as_str().starts_with("module-sha256:"));
+ assert_ne!(hashed, module_scope(None, &local, "a@c").unwrap());
+ // For a profile there is no hash fallback: it would leave the fence.
+ assert!(module_scope(
+ Some("acme"),
+ &crate::storage::scope_for_profile("acme"),
+ "a@b"
+ )
+ .is_err());
+}
+
+#[tokio::test]
+async fn a_module_write_under_a_stale_lease_is_fenced_by_the_host() {
+ use crate::storage::fence::{FenceRegistry, LeaseFence};
+ use crate::storage::fenced_backend::FencedBackend;
+ use crate::storage::lease::{DocumentLeases, LeaseStore};
+ use std::sync::atomic::{AtomicU64, Ordering};
+ use std::time::Duration;
+
+ let shared: Arc<dyn StorageBackend> = Arc::new(MemoryStorage::new());
+ let clock = Arc::new(AtomicU64::new(0));
+ let reading = Arc::clone(&clock);
+ let fences = Arc::new(FenceRegistry::new(move || reading.load(Ordering::SeqCst)));
+ let ttl = Duration::from_secs(30);
+ let leases: Arc<dyn LeaseStore> =
+ Arc::new(DocumentLeases::cluster(shared.as_ref(), "node-a", None, ttl).unwrap());
+ let grant_a = leases.acquire("acme", 0).await.unwrap();
+ fences.register(Arc::new(LeaseFence::new(
+ Arc::clone(&leases),
+ "acme",
+ "node-a",
+ grant_a.epoch,
+ grant_a.expires_at_ms,
+ 5_000,
+ crate::profiles::fence::scopes_of(&crate::profiles::ProfileId::parse("acme").unwrap()),
+ )));
+ let fenced: Arc<dyn StorageBackend> = Arc::new(FencedBackend::new(shared, Arc::clone(&fences)));
+
+ let rig = rig();
+ *rig.env.backend.lock().unwrap() = Some(fenced);
+ *rig.env.fences.lock().unwrap() = Some(fences);
+ *rig.env.profile.lock().unwrap() = Some("acme".into());
+
+ call(
+ &rig,
+ &alpha(),
+ Object::Documents,
+ "Put",
+ put("notes", "a", json!({"v": 1})),
+ )
+ .await
+ .unwrap();
+
+ // The lease runs out; the module's next write is refused by the host's fence,
+ // and a read is not.
+ clock.store(10 * 60 * 1000, Ordering::SeqCst);
+ let result = call(
+ &rig,
+ &alpha(),
+ Object::Documents,
+ "Put",
+ put("notes", "a", json!({"v": 2})),
+ )
+ .await;
+ assert_eq!(
+ result,
+ Err(HostError::Storage(StorageFailure {
+ kind: StorageKind::Fenced
+ }))
+ );
+ let fenced_audit = rig.trail.0.lock().unwrap().last().cloned().unwrap();
+ assert_eq!(fenced_audit.outcome, "fenced");
+ assert!(
+ call(&rig, &alpha(), Object::Documents, "Get", get("notes", "a"))
+ .await
+ .is_ok()
+ );
+}
+
+#[tokio::test]
+async fn the_bus_hands_the_host_the_brokers_sender_and_nothing_else() {
+ use tinybus::broker::Broker;
+ use tinybus::transport::memory::MemoryBus;
+ use tinybus::Connection;
+
+ let bus = MemoryBus::new();
+ Broker::new().spawn(bus.clone());
+ let service = Connection::connect(bus.connect().await.unwrap())
+ .await
+ .unwrap();
+ let module = Connection::connect(bus.connect().await.unwrap())
+ .await
+ .unwrap();
+ let outsider = Connection::connect(bus.connect().await.unwrap())
+ .await
+ .unwrap();
+
+ let rig = rig();
+ let directory = Directory(HashMap::from([(
+ module.unique_name().unwrap().as_str().to_string(),
+ "alpha".to_string(),
+ )]));
+ let host = Arc::new(StorageHost::new(
+ Arc::new(directory),
+ Arc::clone(&rig.env) as Arc<dyn Environment>,
+ Arc::clone(&rig.trail) as Arc<dyn AuditSink>,
+ ));
+ for object in [Object::Documents, Object::Secrets] {
+ let path = ObjectPath::new(format!("{OBJECT_ROOT}/{}", object.as_str())).unwrap();
+ service
+ .serve_at(
+ path,
+ ObjectService {
+ object,
+ host: Arc::clone(&host),
+ },
+ )
+ .await
+ .unwrap();
+ }
+ service.request_name(STORAGE_INTERFACE).await.unwrap();
+
+ let documents = |from: &Connection| {
+ from.proxy(
+ STORAGE_INTERFACE,
+ format!("{OBJECT_ROOT}/Documents"),
+ STORAGE_INTERFACE,
+ )
+ .unwrap()
+ };
+
+ // The registered module is served...
+ let stored: Value = documents(&module)
+ .call("Put", put("notes", "a", json!({"v": 1})))
+ .await
+ .unwrap();
+ assert_eq!(stored, json!(1));
+ let found: Value = documents(&module)
+ .call("Get", get("notes", "a"))
+ .await
+ .unwrap();
+ assert_eq!(found["document_id"], "a");
+
+ // ...a peer that is not a module is refused with the denial name, not data.
+ let refused = documents(&outsider)
+ .call::<Value>("Get", get("notes", "a"))
+ .await
+ .unwrap_err();
+ match refused {
+ tinybus::Error::MethodFailed { name, message } => {
+ assert_eq!(name, ERROR_DENIED);
+ assert_eq!(message, "unknown-caller");
+ }
+ other => panic!("unexpected error: {other:?}"),
+ }
+
+ // A forged scope is a refused request, not a different scope.
+ let mut forged = get("notes", "a");
+ forged["scope"] = json!("local");
+ assert!(documents(&module)
+ .call::<Value>("Get", forged)
+ .await
+ .is_err());
+
+ // Secrets are on a confidential route: an ordinary call never reaches the host.
+ let secrets = module
+ .proxy(
+ STORAGE_INTERFACE,
+ format!("{OBJECT_ROOT}/Secrets"),
+ STORAGE_INTERFACE,
+ )
+ .unwrap();
+ assert!(secrets
+ .call::<Value>("Get", json!({"name": "token.a"}))
+ .await
+ .is_err());
+ assert!(rig
+ .trail
+ .0
+ .lock()
+ .unwrap()
+ .iter()
+ .all(|record| record.object != "Secrets"));
+}
diff --git a/crates/openhuman-core/src/modules/storage_host_tests.rs b/crates/openhuman-core/src/modules/storage_host_tests.rs
index 5bca9804de..5796695edd 100644
--- a/crates/openhuman-core/src/modules/storage_host_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_host_tests.rs
@@ -685,236 +685,5 @@ async fn every_call_is_audited_without_its_payload() {
assert!(!rendered.contains("PAYLOAD-MARKER"));
}
-#[test]
-fn module_scopes_are_distinct_per_module_and_per_tenant() {
- let local = Scope::local();
- let a = module_scope(None, &local, "alpha").unwrap();
- let b = module_scope(None, &local, "beta").unwrap();
- assert_ne!(a, b);
- assert_eq!(a.as_str(), "module:alpha@local");
- let acme = module_scope(
- Some("acme"),
- &crate::storage::scope_for_profile("acme"),
- "alpha",
- )
- .unwrap();
- assert_ne!(a, acme);
- let other = module_scope(
- Some("globex"),
- &crate::storage::scope_for_profile("globex"),
- "alpha",
- )
- .unwrap();
- assert_ne!(acme, other);
-}
-
-#[test]
-fn a_profiles_module_scope_sits_under_its_lease_fence() {
- for profile in ["acme", "user-1_x", "h-0123456789abcdef0123456789abcdef"] {
- let scope = module_scope(
- Some(profile),
- &crate::storage::scope_for_profile(profile),
- "tinymcp",
- )
- .unwrap();
- let covered =
- crate::profiles::fence::scopes_of(&crate::profiles::ProfileId::parse(profile).unwrap());
- assert!(
- covered.iter().any(|matcher| match matcher {
- crate::storage::fence::ScopeMatch::Prefix(prefix) =>
- scope.as_str().starts_with(prefix.as_str()),
- crate::storage::fence::ScopeMatch::Exact(exact) => scope.as_str() == exact,
- }),
- "{profile}: {scope:?}"
- );
- }
-}
-
-#[test]
-fn an_ambiguous_module_id_falls_back_to_a_hashed_scope() {
- let local = Scope::local();
- let hashed = module_scope(None, &local, "a@b").unwrap();
- assert!(hashed.as_str().starts_with("module-sha256:"));
- assert_ne!(hashed, module_scope(None, &local, "a@c").unwrap());
- // For a profile there is no hash fallback: it would leave the fence.
- assert!(module_scope(
- Some("acme"),
- &crate::storage::scope_for_profile("acme"),
- "a@b"
- )
- .is_err());
-}
-
-#[tokio::test]
-async fn a_module_write_under_a_stale_lease_is_fenced_by_the_host() {
- use crate::storage::fence::{FenceRegistry, LeaseFence};
- use crate::storage::fenced_backend::FencedBackend;
- use crate::storage::lease::{DocumentLeases, LeaseStore};
- use std::sync::atomic::{AtomicU64, Ordering};
- use std::time::Duration;
-
- let shared: Arc<dyn StorageBackend> = Arc::new(MemoryStorage::new());
- let clock = Arc::new(AtomicU64::new(0));
- let reading = Arc::clone(&clock);
- let fences = Arc::new(FenceRegistry::new(move || reading.load(Ordering::SeqCst)));
- let ttl = Duration::from_secs(30);
- let leases: Arc<dyn LeaseStore> =
- Arc::new(DocumentLeases::cluster(shared.as_ref(), "node-a", None, ttl).unwrap());
- let grant_a = leases.acquire("acme", 0).await.unwrap();
- fences.register(Arc::new(LeaseFence::new(
- Arc::clone(&leases),
- "acme",
- "node-a",
- grant_a.epoch,
- grant_a.expires_at_ms,
- 5_000,
- crate::profiles::fence::scopes_of(&crate::profiles::ProfileId::parse("acme").unwrap()),
- )));
- let fenced: Arc<dyn StorageBackend> = Arc::new(FencedBackend::new(shared, Arc::clone(&fences)));
-
- let rig = rig();
- *rig.env.backend.lock().unwrap() = Some(fenced);
- *rig.env.fences.lock().unwrap() = Some(fences);
- *rig.env.profile.lock().unwrap() = Some("acme".into());
-
- call(
- &rig,
- &alpha(),
- Object::Documents,
- "Put",
- put("notes", "a", json!({"v": 1})),
- )
- .await
- .unwrap();
-
- // The lease runs out; the module's next write is refused by the host's fence,
- // and a read is not.
- clock.store(10 * 60 * 1000, Ordering::SeqCst);
- let result = call(
- &rig,
- &alpha(),
- Object::Documents,
- "Put",
- put("notes", "a", json!({"v": 2})),
- )
- .await;
- assert_eq!(
- result,
- Err(HostError::Storage(StorageFailure {
- kind: StorageKind::Fenced
- }))
- );
- let fenced_audit = rig.trail.0.lock().unwrap().last().cloned().unwrap();
- assert_eq!(fenced_audit.outcome, "fenced");
- assert!(
- call(&rig, &alpha(), Object::Documents, "Get", get("notes", "a"))
- .await
- .is_ok()
- );
-}
-
-#[tokio::test]
-async fn the_bus_hands_the_host_the_brokers_sender_and_nothing_else() {
- use tinybus::broker::Broker;
- use tinybus::transport::memory::MemoryBus;
- use tinybus::Connection;
-
- let bus = MemoryBus::new();
- Broker::new().spawn(bus.clone());
- let service = Connection::connect(bus.connect().await.unwrap())
- .await
- .unwrap();
- let module = Connection::connect(bus.connect().await.unwrap())
- .await
- .unwrap();
- let outsider = Connection::connect(bus.connect().await.unwrap())
- .await
- .unwrap();
-
- let rig = rig();
- let directory = Directory(HashMap::from([(
- module.unique_name().unwrap().as_str().to_string(),
- "alpha".to_string(),
- )]));
- let host = Arc::new(StorageHost::new(
- Arc::new(directory),
- Arc::clone(&rig.env) as Arc<dyn Environment>,
- Arc::clone(&rig.trail) as Arc<dyn AuditSink>,
- ));
- for object in [Object::Documents, Object::Secrets] {
- let path = ObjectPath::new(format!("{OBJECT_ROOT}/{}", object.as_str())).unwrap();
- service
- .serve_at(
- path,
- ObjectService {
- object,
- host: Arc::clone(&host),
- },
- )
- .await
- .unwrap();
- }
- service.request_name(STORAGE_INTERFACE).await.unwrap();
-
- let documents = |from: &Connection| {
- from.proxy(
- STORAGE_INTERFACE,
- format!("{OBJECT_ROOT}/Documents"),
- STORAGE_INTERFACE,
- )
- .unwrap()
- };
-
- // The registered module is served...
- let stored: Value = documents(&module)
- .call("Put", put("notes", "a", json!({"v": 1})))
- .await
- .unwrap();
- assert_eq!(stored, json!(1));
- let found: Value = documents(&module)
- .call("Get", get("notes", "a"))
- .await
- .unwrap();
- assert_eq!(found["document_id"], "a");
-
- // ...a peer that is not a module is refused with the denial name, not data.
- let refused = documents(&outsider)
- .call::<Value>("Get", get("notes", "a"))
- .await
- .unwrap_err();
- match refused {
- tinybus::Error::MethodFailed { name, message } => {
- assert_eq!(name, ERROR_DENIED);
- assert_eq!(message, "unknown-caller");
- }
- other => panic!("unexpected error: {other:?}"),
- }
-
- // A forged scope is a refused request, not a different scope.
- let mut forged = get("notes", "a");
- forged["scope"] = json!("local");
- assert!(documents(&module)
- .call::<Value>("Get", forged)
- .await
- .is_err());
-
- // Secrets are on a confidential route: an ordinary call never reaches the host.
- let secrets = module
- .proxy(
- STORAGE_INTERFACE,
- format!("{OBJECT_ROOT}/Secrets"),
- STORAGE_INTERFACE,
- )
- .unwrap();
- assert!(secrets
- .call::<Value>("Get", json!({"name": "token.a"}))
- .await
- .is_err());
- assert!(rig
- .trail
- .0
- .lock()
- .unwrap()
- .iter()
- .all(|record| record.object != "Secrets"));
-}
+#[path = "storage_host_bus_tests.rs"]
+mod bus;
diff --git a/docs/gitbooks/en/developing/embed/api-index.json b/docs/gitbooks/en/developing/embed/api-index.json
index e1284be6eb..1f4c29ce4f 100644
--- a/docs/gitbooks/en/developing/embed/api-index.json
+++ b/docs/gitbooks/en/developing/embed/api-index.json
@@ -466,6 +466,7 @@
"skills": true,
"storage-file": false,
"storage-mongodb": false,
+ "storage-s3": false,
"storage-sqlite": true,
"tinymemes": true,
"voice": false,
diff --git a/docs/gitbooks/en/developing/embed/api-index.md b/docs/gitbooks/en/developing/embed/api-index.md
index 6ba4596b51..86245a4c8a 100644
--- a/docs/gitbooks/en/developing/embed/api-index.md
+++ b/docs/gitbooks/en/developing/embed/api-index.md
@@ -206,6 +206,7 @@ The compiled capability report describes this build:
"skills": true,
"storage-file": false,
"storage-mongodb": false,
+ "storage-s3": false,
"storage-sqlite": true,
"tinymemes": true,
"voice": false,
diff --git a/docs/gitbooks/en/developing/embed/capability-matrix.md b/docs/gitbooks/en/developing/embed/capability-matrix.md
index 07dc4c0fdf..d47e453514 100644
--- a/docs/gitbooks/en/developing/embed/capability-matrix.md
+++ b/docs/gitbooks/en/developing/embed/capability-matrix.md
@@ -24,6 +24,7 @@ This matrix comes from the default-feature compiled capability-report example. R
| `skills` | Yes |
| `storage-file` | No |
| `storage-mongodb` | No |
+| `storage-s3` | No |
| `storage-sqlite` | Yes |
| `tinymemes` | Yes |
| `voice` | No |
diff --git a/gitbooks/developing/embed/api-index.json b/gitbooks/developing/embed/api-index.json
index e1284be6eb..1f4c29ce4f 100644
--- a/gitbooks/developing/embed/api-index.json
+++ b/gitbooks/developing/embed/api-index.json
@@ -466,6 +466,7 @@
"skills": true,
"storage-file": false,
"storage-mongodb": false,
+ "storage-s3": false,
"storage-sqlite": true,
"tinymemes": true,
"voice": false,
diff --git a/gitbooks/developing/embed/api-index.md b/gitbooks/developing/embed/api-index.md
index 6ba4596b51..86245a4c8a 100644
--- a/gitbooks/developing/embed/api-index.md
+++ b/gitbooks/developing/embed/api-index.md
@@ -206,6 +206,7 @@ The compiled capability report describes this build:
"skills": true,
"storage-file": false,
"storage-mongodb": false,
+ "storage-s3": false,
"storage-sqlite": true,
"tinymemes": true,
"voice": false,
diff --git a/gitbooks/developing/embed/capability-matrix.md b/gitbooks/developing/embed/capability-matrix.md
index 07dc4c0fdf..d47e453514 100644
--- a/gitbooks/developing/embed/capability-matrix.md
+++ b/gitbooks/developing/embed/capability-matrix.md
@@ -24,6 +24,7 @@ This matrix comes from the default-feature compiled capability-report example. R
| `skills` | Yes |
| `storage-file` | No |
| `storage-mongodb` | No |
+| `storage-s3` | No |
| `storage-sqlite` | Yes |
| `tinymemes` | Yes |
| `voice` | No |
diff --git a/llms-full.txt b/llms-full.txt
index fb6dfed0ed..fbe8636bee 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -2779,6 +2779,7 @@ This matrix comes from the default-feature compiled capability-report example. R
| `skills` | Yes |
| `storage-file` | No |
| `storage-mongodb` | No |
+| `storage-s3` | No |
| `storage-sqlite` | Yes |
| `tinymemes` | Yes |
| `voice` | No |
@@ -3046,6 +3047,7 @@ The compiled capability report describes this build:
"skills": true,
"storage-file": false,
"storage-mongodb": false,
+ "storage-s3": false,
"storage-sqlite": true,
"tinymemes": true,
"voice": false,