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(cron): add session_identity field to job origin fixtures
Steven Enamakelfac723cfd2bd
diff --git a/crates/openhuman-core/src/cron/job_builder_tests.rs b/crates/openhuman-core/src/cron/job_builder_tests.rsindex 93cdfde6da..b9209fef6a 100644--- a/crates/openhuman-core/src/cron/job_builder_tests.rs+++ b/crates/openhuman-core/src/cron/job_builder_tests.rs@@ -39,6 +39,7 @@ fn channel() -> JobOrigin {history_key: "telegram_alice_42".into(),sender: Some("alice".into()),thread_id: None,+ session_identity: None,}}diff --git a/crates/openhuman-core/src/cron/origin.rs b/crates/openhuman-core/src/cron/origin.rsindex 22b3759623..d999e8f0bb 100644--- a/crates/openhuman-core/src/cron/origin.rs+++ b/crates/openhuman-core/src/cron/origin.rs@@ -41,6 +41,7 @@ pub(crate) fn job_origin_from_turn(origin: &AgentTurnOrigin) -> Option<JobOriginhistory_key: history_key.clone(),sender: sender.clone(),thread_id: None,+ session_identity: None,})}_ => None,diff --git a/crates/openhuman-core/src/cron/origin_tests.rs b/crates/openhuman-core/src/cron/origin_tests.rsindex 6c5133cef0..6342a7bdc7 100644--- a/crates/openhuman-core/src/cron/origin_tests.rs+++ b/crates/openhuman-core/src/cron/origin_tests.rs@@ -44,6 +44,7 @@ fn channel_turn_maps_to_channel_origin_with_history_key() {history_key: "telegram_alice_42".into(),sender: Some("alice".into()),thread_id: None,+ session_identity: None,}));}@@ -116,6 +117,7 @@ fn channel_origin_job_runs_as_external_channel_turn() {history_key: "k".into(),sender: Some("alice".into()),thread_id: None,+ session_identity: None,}));match turn_origin_for_job_run(&job, "run-1") {AgentTurnOrigin::ExternalChannel {diff --git a/crates/openhuman-core/src/cron/store_tests.rs b/crates/openhuman-core/src/cron/store_tests.rsindex b5f90c8b1d..2eaf9db8fe 100644--- a/crates/openhuman-core/src/cron/store_tests.rs+++ b/crates/openhuman-core/src/cron/store_tests.rs@@ -118,6 +118,7 @@ fn a_stale_routing_patch_cannot_combine_with_a_newer_unvalidated_route() {history_key: format!("telegram-target-{target}"),sender: None,thread_id: None,+ session_identity: None,};let origin_42 = channel_origin("42");let origin_999 = channel_origin("999");diff --git a/crates/openhuman-core/src/cron/tools/collapsed_tests.rs b/crates/openhuman-core/src/cron/tools/collapsed_tests.rsindex 4aef29eeef..d19f67a90b 100644--- a/crates/openhuman-core/src/cron/tools/collapsed_tests.rs+++ b/crates/openhuman-core/src/cron/tools/collapsed_tests.rs@@ -204,6 +204,7 @@ async fn add_uses_the_explicit_channel_origin_without_ambient_turn_state() {history_key: "telegram-alice-42".into(),sender: Some("alice".into()),thread_id: None,+ session_identity: None,}));assert_eq!(jobs[0].delivery.mode, "origin");diff --git a/crates/openhuman-core/src/cron/tools/update_tests.rs b/crates/openhuman-core/src/cron/tools/update_tests.rsindex c633f40459..9416c96f5b 100644--- a/crates/openhuman-core/src/cron/tools/update_tests.rs+++ b/crates/openhuman-core/src/cron/tools/update_tests.rs@@ -14,6 +14,7 @@ fn channel_origin(reply_target: &str) -> JobOrigin {history_key: format!("telegram-user-{reply_target}"),sender: Some("alice".into()),thread_id: None,+ session_identity: None,}}diff --git a/vendor/tinyflows b/vendor/tinyflowsindex 035eb94f3e..7b9ee66bf3 160000--- a/vendor/tinyflows+++ b/vendor/tinyflows@@ -1 +1 @@-Subproject commit 035eb94f3e5a5c54915027186b9fa123e0635aa7+Subproject commit 7b9ee66bf3f18838cad41119eb931cafde0cd5c5