The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(migrations): rename and update migration tests
Steven Enamakel11f857827653
diff --git a/crates/openhuman-core/src/config/migrations/mod_tests.rs b/crates/openhuman-core/src/config/migrations/mod_tests.rsindex 6dad3f7394..9fde401731 100644--- a/crates/openhuman-core/src/config/migrations/mod_tests.rs+++ b/crates/openhuman-core/src/config/migrations/mod_tests.rs@@ -688,7 +688,7 @@ async fn a_hand_written_empty_allowlist_is_also_widened() {/// fails its provider lookup before making any HTTP request, so the model/// picker's managed pane renders "Could not load models from this provider."#[tokio::test]-async fn a_v10_workspace_with_no_cloud_providers_is_reseeded() {+async fn bare_core_v10_workspace_advances_schema_without_hosted_policy() {let tmp = TempDir::new().unwrap();fs::create_dir_all(tmp.path().join("workspace")).unwrap();@@ -698,24 +698,16 @@ async fn a_v10_workspace_with_no_cloud_providers_is_reseeded() {run_pending(&mut config).await;- assert!(- config.cloud_providers.iter().any(|e| e.slug == "openhuman"),- "a v10 workspace with an empty provider list must gain the managed entry, \- otherwise the model picker can never load the managed catalog"- );+ assert!(config.cloud_providers.is_empty());assert_eq!(config.schema_version, CURRENT_SCHEMA_VERSION,- "the re-seed step must advance the schema version"+ "generic schema steps must continue without hosted policy");}-/// The re-seed must not touch a workspace that already has providers.-///-/// `seed_cloud_providers` early-returns on a non-empty list, so this is the-/// guard that keeps the new step a no-op for every healthy install — including-/// one whose only entry is a BYO provider the user configured themselves.+/// Generic schema progression preserves a user-owned provider entry.#[tokio::test]-async fn a_v10_workspace_that_already_has_providers_is_left_alone() {+async fn bare_core_v10_workspace_preserves_user_cloud_providers() {let tmp = TempDir::new().unwrap();fs::create_dir_all(tmp.path().join("workspace")).unwrap();