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
fix: stabilize registry snapshot comparison
Steven Enamakel56fad0f3c565
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rsindex 000f97823c..f8b33d2ba2 100644--- a/crates/openhuman-core/src/core/all.rs+++ b/crates/openhuman-core/src/core/all.rs@@ -914,6 +914,11 @@ fn build_internal_only_controllers() -> Vec<GroupedController> {/// the complete set (byte-identical to pre-#4796).pub fn all_registered_controllers() -> Vec<RegisteredController> {let view = registry_view();+ registered_controllers(&view)+}++/// Apply the ambient domain filter to a stable registry snapshot.+fn registered_controllers(view: &RegistryView) -> Vec<RegisteredController> {let found = view.iter().filter(|g| group_allowed(g.group))diff --git a/crates/openhuman-core/src/core/all_registry_tests.rs b/crates/openhuman-core/src/core/all_registry_tests.rsindex b16c940bb8..d28a5aa6cc 100644--- a/crates/openhuman-core/src/core/all_registry_tests.rs+++ b/crates/openhuman-core/src/core/all_registry_tests.rs@@ -22,11 +22,15 @@ async fn full_registration_is_byte_identical() {// explicitly so parallel test order cannot change the registry surface.let ctx = CoreContext::for_test(DomainSet::full(), None);let (filtered_methods, raw_methods) = CoreContext::scope(ctx, async {- let filtered = all_registered_controllers()+ // Capture extensions once: other registry tests may append extensions+ // concurrently, and each public lookup intentionally takes a fresh+ // snapshot.+ let view = registry_view();+ let filtered = registered_controllers(&view).iter().map(|c| c.rpc_method_name()).collect::<Vec<_>>();- let raw = registry_view()+ let raw = view.iter().map(|g| g.controller.rpc_method_name()).collect::<Vec<_>>();