Skip to content

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

refactor(storage): remove tiny_artifacts schema from owner schemas

Steven Enamakelf676b4f1fcbb
diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rs
index 5d30b7d879..491d817eed 100644
--- a/crates/openhuman-core/src/storage/schema.rs
+++ b/crates/openhuman-core/src/storage/schema.rs
@@ -44,7 +44,6 @@ pub fn owner_schemas() -> Vec<Schema> {
crate::desktop::notifications::storage_schema(),
crate::integrations::task_sources::storage_schema(),
artifacts,
- tiny_artifacts::storage_schema(),
crate::platform::cost::storage_schema(),
crate::config::schema::config_storage_schema(),
crate::profiles::storage_schema(),
diff --git a/crates/openhuman-core/src/storage/schema_tests.rs b/crates/openhuman-core/src/storage/schema_tests.rs
index ad79df006a..9875b52c0b 100644
--- a/crates/openhuman-core/src/storage/schema_tests.rs
+++ b/crates/openhuman-core/src/storage/schema_tests.rs
@@ -62,26 +62,3 @@ fn tiny_artifacts_blob_namespace_composes_with_host_artifact_collections() {
.any(|prefix| prefix == "artifacts/files/"));
}
-#[test]
-fn tiny_artifacts_blob_namespace_is_in_the_composed_owner_schema() {
- let registry = registry().expect("the owners compose");
- assert!(registry.owners().any(|owner| owner == "artifacts"));
-
- let schema = owner_schemas()
- .into_iter()
- .find(|schema| schema.owner.as_str() == "artifacts" && schema.items.iter().any(|item| {
- matches!(
- item,
- Item::Blobs {
- prefix,
- scope: ScopeClass::Tenant,
- } if prefix == "artifacts/files/"
- )
- }))
- .expect("TinyArtifacts declares its tenant blob prefix alongside host artifact data");
- assert!(schema.items.iter().any(|item| matches!(
- item,
- Item::Blobs { prefix, scope: ScopeClass::Tenant }
- if prefix == "artifacts/files/"
- )));
-}