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
chore: rename test files to remove redundant `_tests` suffix
Steven Enamakel8363ab523660
diff --git a/crates/openhuman-core/src/desktop/app_state/ops/current_user_generation.rs b/crates/openhuman-core/src/desktop/app_state/ops/current_user_generation.rsindex 3a3645ea46..8ca58bbb43 100644--- a/crates/openhuman-core/src/desktop/app_state/ops/current_user_generation.rs+++ b/crates/openhuman-core/src/desktop/app_state/ops/current_user_generation.rs@@ -88,7 +88,7 @@ pub fn forget_current_user_caches() {}/// The sign-out generation a refresh must still be running under to publish.-fn current_user_generation() -> u64 {+pub(super) fn current_user_generation() -> u64 {CURRENT_USER_GENERATION.load(Ordering::SeqCst)}@@ -98,7 +98,7 @@ fn current_user_generation() -> u64 {/// Checking before the lock would be a check-then-act: sign-out could land in/// the gap and this write would then restore the negative cache it had just/// cleared.-fn record_current_user_failure_unless_stale(+pub(super) fn record_current_user_failure_unless_stale(generation: u64,api_base: &str,token: &str,@@ -118,7 +118,7 @@ fn record_current_user_failure_unless_stale(/// Stamp a refreshed user's freshness only if `generation` is still current,/// **checked while holding the success lock** — the same check-then-act the/// failure recorder avoids, for the same reason.-fn note_current_user_success_unless_stale(generation: u64, api_base: &str, token: &str) -> bool {+pub(super) fn note_current_user_success_unless_stale(generation: u64, api_base: &str, token: &str) -> bool {let mut success = LAST_CURRENT_USER_SUCCESS.lock();if current_user_generation() != generation {return false;@@ -129,7 +129,7 @@ fn note_current_user_success_unless_stale(generation: u64, api_base: &str, token/// Clear the failure record only while the refresh still belongs to the/// current session generation.-fn clear_current_user_failure_unless_stale(generation: u64) -> bool {+pub(super) fn clear_current_user_failure_unless_stale(generation: u64) -> bool {let mut failure = CURRENT_USER_FAILURE.lock();if current_user_generation() != generation {return false;diff --git a/crates/openhuman-core/src/security/approval/gate_tests_part_01_tests.rs b/crates/openhuman-core/src/security/approval/gate_core_flow_tests.rssimilarity index 100%rename from crates/openhuman-core/src/security/approval/gate_tests_part_01_tests.rsrename to crates/openhuman-core/src/security/approval/gate_core_flow_tests.rsdiff --git a/crates/openhuman-core/src/security/approval/gate_tests_part_03_tests.rs b/crates/openhuman-core/src/security/approval/gate_origin_intercept_tests.rssimilarity index 100%rename from crates/openhuman-core/src/security/approval/gate_tests_part_03_tests.rsrename to crates/openhuman-core/src/security/approval/gate_origin_intercept_tests.rsdiff --git a/crates/openhuman-core/src/security/approval/gate_tests_part_02_tests.rs b/crates/openhuman-core/src/security/approval/gate_ttl_and_triage_tests.rssimilarity index 100%rename from crates/openhuman-core/src/security/approval/gate_tests_part_02_tests.rsrename to crates/openhuman-core/src/security/approval/gate_ttl_and_triage_tests.rsdiff --git a/crates/openhuman-core/src/security/approval/store_tests_part_02_tests.rs b/crates/openhuman-core/src/security/approval/store_flow_trust_tests.rssimilarity index 100%rename from crates/openhuman-core/src/security/approval/store_tests_part_02_tests.rsrename to crates/openhuman-core/src/security/approval/store_flow_trust_tests.rsdiff --git a/crates/openhuman-core/src/security/approval/store_tests_part_01_tests.rs b/crates/openhuman-core/src/security/approval/store_persistence_tests.rssimilarity index 100%rename from crates/openhuman-core/src/security/approval/store_tests_part_01_tests.rsrename to crates/openhuman-core/src/security/approval/store_persistence_tests.rs