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/doctor/checks/config_semantics.rs,crates/openhuman-co

Steven Enamakelec00cc335807
diff --git a/crates/openhuman-core/src/doctor/checks/config_semantics.rs b/crates/openhuman-core/src/doctor/checks/config_semantics.rs
index 3d50a24bf1..6dcc56ba65 100644
--- a/crates/openhuman-core/src/doctor/checks/config_semantics.rs
+++ b/crates/openhuman-core/src/doctor/checks/config_semantics.rs
@@ -7,7 +7,7 @@ use async_trait::async_trait;
use crate::config::Config;
use crate::doctor::contract::{DoctorCheck, DoctorCtx, DoctorTier, Finding, FindingSeverity};
use crate::storage::{StorageUrl, STORAGE_URL_VAR};
-use tinystoragedrivers::{BlobConfig, StorageConfig};
+use tinystoragedrivers::StorageConfig;
const COMPONENTS_ID: &str = "components/referenced-but-disabled";
const MODULE_FALLBACK_ID: &str = "modules/source-fallback";
diff --git a/crates/openhuman-core/src/doctor/checks/storage.rs b/crates/openhuman-core/src/doctor/checks/storage.rs
index 3f1509df54..d9b21a7dd5 100644
--- a/crates/openhuman-core/src/doctor/checks/storage.rs
+++ b/crates/openhuman-core/src/doctor/checks/storage.rs
@@ -45,18 +45,11 @@ impl DoctorCheck for StorageConnect {
)];
}
};
- inspect_storage_config(self.id(), parsed, 0).await
+ inspect_storage_config(self.id(), parsed).await
}
}
-async fn inspect_storage_config(check_id: &str, config: StorageConfig, depth: u8) -> Vec<Finding> {
- if depth > 2 {
- return vec![Finding::skipped(
- check_id,
- "The selected composite storage configuration is nested beyond the inspection limit.",
- "Simplify the storage configuration and rerun doctor.",
- )];
- }
+async fn inspect_storage_config(check_id: &str, config: StorageConfig) -> Vec<Finding> {
match config {
StorageConfig::Sqlite { path } => {
match tokio::task::spawn_blocking(move || sqlite_probe(&path)).await {