Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(cron): cover scoped manual run claims and apply rustfmt

Steven Enamakelb4170a6ba61d
diff --git a/crates/openhuman-core/src/cron/bus_host_tests.rs b/crates/openhuman-core/src/cron/bus_host_tests.rs
index 7ef76e94e2..d5d8521a90 100644
--- a/crates/openhuman-core/src/cron/bus_host_tests.rs
+++ b/crates/openhuman-core/src/cron/bus_host_tests.rs
@@ -9,7 +9,7 @@ use async_trait::async_trait;
use std::sync::atomic::{AtomicUsize, Ordering};
use tempfile::TempDir;
use tinyflows_bus::schedule::types::{DeliveryConfig, DeliveryStatus, Schedule};
-use tinyflows_bus::schedule::{callbacks, CALLBACK_INTERFACE, DeliveryProjection};
+use tinyflows_bus::schedule::{callbacks, DeliveryProjection, CALLBACK_INTERFACE};
fn config(tmp: &TempDir) -> Config {
let config = Config {
@@ -64,7 +64,9 @@ fn flow_job(config: &Config, flow_id: &str) -> CronJob {
crate::cron::add_flow_schedule_job(
config,
flow_id,
- Schedule::Every { every_ms: 3_600_000 },
+ Schedule::Every {
+ every_ms: 3_600_000,
+ },
)
.unwrap()
}
@@ -294,7 +296,9 @@ async fn schedule_trigger_runs_a_system_job_and_records_the_handler_result() {
let row = crate::cron::system_jobs::ensure_system_job(
&config,
"bus-host-system",
- Schedule::Every { every_ms: 3_600_000 },
+ Schedule::Every {
+ every_ms: 3_600_000,
+ },
)
.unwrap();
let attempt: Attempt = proxy
@@ -542,7 +546,10 @@ async fn captured_deleted_flow_job_publishes_trigger_and_completion_identity() {
job_name: String,
job_type: String,
},
- Completed { job_id: String, success: bool },
+ Completed {
+ job_id: String,
+ success: bool,
+ },
}
struct CronEvents(String, mpsc::UnboundedSender<Seen>);
@@ -628,7 +635,10 @@ async fn captured_deleted_flow_job_publishes_trigger_and_completion_identity() {
let events = tokio::time::timeout(std::time::Duration::from_secs(2), async {
vec![
events_rx.recv().await.expect("trigger event remains open"),
- events_rx.recv().await.expect("completion event remains open"),
+ events_rx
+ .recv()
+ .await
+ .expect("completion event remains open"),
]
})
.await
diff --git a/crates/openhuman-core/src/cron/bus_host_trusted_system_tests.rs b/crates/openhuman-core/src/cron/bus_host_trusted_system_tests.rs
index 32e8e81b5d..785af91181 100644
--- a/crates/openhuman-core/src/cron/bus_host_trusted_system_tests.rs
+++ b/crates/openhuman-core/src/cron/bus_host_trusted_system_tests.rs
@@ -105,10 +105,7 @@ async fn schedule_trigger_runs_trusted_memory_job_child() {
);
let (_host, proxy) = agent_only_host(&config).await;
let attempt: Attempt = proxy
- .call(
- callbacks::SCHEDULE_TRIGGER,
- (&job, "run-memory-agent-only"),
- )
+ .call(callbacks::SCHEDULE_TRIGGER, (&job, "run-memory-agent-only"))
.await
.unwrap();
diff --git a/crates/openhuman-core/src/cron/documents_port.rs b/crates/openhuman-core/src/cron/documents_port.rs
index 7680e02194..dbd80eab44 100644
--- a/crates/openhuman-core/src/cron/documents_port.rs
+++ b/crates/openhuman-core/src/cron/documents_port.rs
@@ -258,9 +258,7 @@ impl DocumentsPort {
let id = text(&request, "id")?;
allowed_record(collection, id)?;
let precondition: Precondition = field(&request, "precondition")?;
- encode(
- documents.delete(collection, id, precondition).await?,
- )
+ encode(documents.delete(collection, id, precondition).await?)
}
"query" => {
let collection = text(&request, "collection")?;
diff --git a/crates/openhuman-core/src/cron/documents_port_tests.rs b/crates/openhuman-core/src/cron/documents_port_tests.rs
index a25b2995e4..a9df5f6956 100644
--- a/crates/openhuman-core/src/cron/documents_port_tests.rs
+++ b/crates/openhuman-core/src/cron/documents_port_tests.rs
@@ -8,11 +8,7 @@ async fn port() -> (tinybus::Proxy, CallbackAddress) {
(proxy, address)
}
-async fn port_with_backend() -> (
- tinybus::Proxy,
- CallbackAddress,
- Arc<dyn StorageBackend>,
-) {
+async fn port_with_backend() -> (tinybus::Proxy, CallbackAddress, Arc<dyn StorageBackend>) {
let config = Config::default();
// Start the module runtime and attach the module before touching the bus.
module::proxy(&config).await.expect("module attaches");
@@ -45,9 +41,7 @@ async fn the_port_serves_the_contracts_document_interface_and_reports_capabiliti
#[tokio::test]
async fn schedule_store_migration_moves_legacy_jobs_runs_and_counter_before_reads() {
- use tinyflows_bus::schedule::{
- StoreOperation,
- };
+ use tinyflows_bus::schedule::StoreOperation;
use tinystoragedrivers::Precondition;
let config = Config::default();
@@ -110,18 +104,18 @@ async fn schedule_store_migration_moves_legacy_jobs_runs_and_counter_before_read
.unwrap();
let scope = DocScope::on_backend(&config, Arc::clone(&backend), Scope::local());
- let listed: Vec<tinyflows_bus::schedule::types::CronJob> = crate::cron::client::store_in(
- &config,
- &scope,
- StoreOperation::List,
- )
- .await
- .expect("the first store read migrates the legacy schedule schema");
+ let listed: Vec<tinyflows_bus::schedule::types::CronJob> =
+ crate::cron::client::store_in(&config, &scope, StoreOperation::List)
+ .await
+ .expect("the first store read migrates the legacy schedule schema");
assert_eq!(listed.len(), 1);
assert_eq!(listed[0].id, "legacy-job");
- assert_eq!(listed[0].schedule, tinyflows_bus::schedule::types::Schedule::Every {
- every_ms: 3_600_000
- });
+ assert_eq!(
+ listed[0].schedule,
+ tinyflows_bus::schedule::types::Schedule::Every {
+ every_ms: 3_600_000
+ }
+ );
let runs: Vec<tinyflows_bus::schedule::types::CronRun> = crate::cron::client::store_in(
&config,
@@ -193,7 +187,11 @@ async fn shared_schedule_records_are_owner_scoped_and_never_scanned() {
)
.await;
assert!(record.get("error").is_none(), "{record}");
- assert!(docs.get("tsd.counters", "cron/runs").await.unwrap().is_some());
+ assert!(docs
+ .get("tsd.counters", "cron/runs")
+ .await
+ .unwrap()
+ .is_some());
let requests = [
json!({"op":"get","collection":"tsd.counters","id":"other/runs"}),
@@ -244,7 +242,10 @@ async fn shared_schedule_records_are_owner_scoped_and_never_scanned() {
)
.await;
assert!(exact_progress.get("error").is_none(), "{exact_progress}");
- assert!(unexpected.is_empty(), "shared schedule port violations: {unexpected:#?}");
+ assert!(
+ unexpected.is_empty(),
+ "shared schedule port violations: {unexpected:#?}"
+ );
}
#[tokio::test]
@@ -275,14 +276,19 @@ async fn document_port_preserves_schedule_record_metadata_options() {
assert_eq!(stored.meta.schema, schema as u32, "{id}");
assert_eq!(stored.meta.created_ms, created_ms, "{id}");
assert_eq!(stored.meta.expires_ms, Some(9999999999999_i64), "{id}");
- let read_back = ask(
- &proxy,
- json!({"op":"get","collection":"cron.jobs","id":id}),
- )
- .await;
- assert_eq!(read_back["value"]["meta"]["schema"], schema, "{id}: {read_back}");
- assert_eq!(read_back["value"]["meta"]["created_ms"], created_ms, "{id}: {read_back}");
- assert_eq!(read_back["value"]["meta"]["expires_ms"], 9999999999999_i64, "{id}: {read_back}");
+ let read_back = ask(&proxy, json!({"op":"get","collection":"cron.jobs","id":id})).await;
+ assert_eq!(
+ read_back["value"]["meta"]["schema"], schema,
+ "{id}: {read_back}"
+ );
+ assert_eq!(
+ read_back["value"]["meta"]["created_ms"], created_ms,
+ "{id}: {read_back}"
+ );
+ assert_eq!(
+ read_back["value"]["meta"]["expires_ms"], 9999999999999_i64,
+ "{id}: {read_back}"
+ );
}
}
diff --git a/crates/openhuman-core/src/cron/ops_delivery_tests.rs b/crates/openhuman-core/src/cron/ops_delivery_tests.rs
index 1e3b442fd2..0cc09374c0 100644
--- a/crates/openhuman-core/src/cron/ops_delivery_tests.rs
+++ b/crates/openhuman-core/src/cron/ops_delivery_tests.rs
@@ -157,8 +157,15 @@ async fn manual_run_projects_its_captured_job_after_the_saved_job_is_deleted() {
#[derive(Debug, PartialEq, Eq)]
enum Seen {
- Triggered { id: String, name: String, kind: String },
- Completed { id: String, success: bool },
+ Triggered {
+ id: String,
+ name: String,
+ kind: String,
+ },
+ Completed {
+ id: String,
+ success: bool,
+ },
}
struct Events(String, mpsc::UnboundedSender<Seen>);
#[async_trait]
@@ -279,7 +286,10 @@ async fn manual_run_projects_its_captured_job_after_the_saved_job_is_deleted() {
}
);
let reply = running.await.unwrap().unwrap();
- assert!(matches!(reply, tinyflows_bus::schedule::RunJobReply::Completed { success: true, .. }));
+ assert!(matches!(
+ reply,
+ tinyflows_bus::schedule::RunJobReply::Completed { success: true, .. }
+ ));
let runs = cron::list_runs(&config, &job.id, 10).unwrap();
assert_eq!(runs.len(), 1);
assert_eq!(runs[0].run_id.as_deref(), Some(run_id.as_str()));
@@ -351,6 +361,144 @@ async fn detached_manual_run_returns_only_after_the_worker_is_running() {
let _ = release_tx.send(());
}
+#[tokio::test]
+async fn manual_run_claims_are_shared_within_a_scope_and_isolated_between_agents() {
+ use crate::core::runtime::{ContextOverlay, CoreContext, DispatchCtx, DomainSet};
+ use tokio::sync::Semaphore;
+
+ crate::core::bus::init().await.unwrap();
+ let tmp = TempDir::new().unwrap();
+ let config = tests::test_config(&tmp);
+ let alpha = CoreContext::for_test_with_config(DomainSet::full(), config.clone()).derive_with(
+ ContextOverlay::new(
+ config.clone(),
+ DomainSet::full(),
+ crate::tools::toolpacks::ToolGroups::none(),
+ )
+ .session_agent("cron-alpha"),
+ );
+ let beta = CoreContext::for_test_with_config(DomainSet::full(), config.clone()).derive_with(
+ ContextOverlay::new(
+ config.clone(),
+ DomainSet::full(),
+ crate::tools::toolpacks::ToolGroups::none(),
+ )
+ .session_agent("cron-beta"),
+ );
+ let name = format!("scoped-claims-{}", uuid::Uuid::new_v4().simple());
+ let alpha_job = CoreContext::scope(Arc::clone(&alpha), async {
+ tests::single_flight_system_job(&config, &name)
+ })
+ .await;
+ let beta_job = CoreContext::scope(Arc::clone(&beta), async {
+ tests::single_flight_system_job(&config, &name)
+ })
+ .await;
+ assert_eq!(alpha_job.id, beta_job.id);
+
+ let (started_tx, mut started_rx) = mpsc::unbounded_channel();
+ let started_tx = Arc::new(started_tx);
+ let release = Arc::new(Semaphore::new(0));
+ let release_handler = Arc::clone(&release);
+ let handler_started = Arc::clone(&started_tx);
+ let _handler = crate::cron::system_job_handlers::register(
+ &name,
+ Arc::new(move |_| {
+ let release = Arc::clone(&release_handler);
+ let started = Arc::clone(&handler_started);
+ Box::pin(async move {
+ let _ = started.send(());
+ release
+ .acquire()
+ .await
+ .map_err(|error| error.to_string())?
+ .forget();
+ Ok(())
+ })
+ }),
+ );
+ let alpha_dispatch = DispatchCtx::new(Arc::clone(&alpha));
+ let first_ctx = alpha_dispatch.clone();
+ let first_config = config.clone();
+ let first_job = alpha_job.clone();
+ let first_id = format!("same-scope-{}", uuid::Uuid::new_v4());
+ let first_run = first_id.clone();
+ let first = tokio::spawn(async move {
+ crate::cron::scheduler::run_job_now(
+ &first_ctx,
+ &first_config,
+ first_job,
+ first_run,
+ true,
+ tinyflows_bus::schedule::ManualDelivery::NotRequested,
+ )
+ .await
+ });
+ tokio::time::timeout(std::time::Duration::from_secs(3), started_rx.recv())
+ .await
+ .expect("first scope's manual worker starts")
+ .expect("handler start channel remains open");
+
+ let duplicate = crate::cron::scheduler::run_job_now(
+ &alpha_dispatch,
+ &config,
+ alpha_job.clone(),
+ format!("duplicate-{}", uuid::Uuid::new_v4()),
+ true,
+ tinyflows_bus::schedule::ManualDelivery::NotRequested,
+ )
+ .await
+ .expect("a duplicate claim is a refusal, not a transport error");
+ assert!(matches!(
+ duplicate,
+ tinyflows_bus::schedule::RunJobReply::Refused {
+ reason: tinyflows_bus::schedule::RunJobRefusal::AlreadyRunning
+ }
+ ));
+
+ let beta_dispatch = DispatchCtx::new(Arc::clone(&beta));
+ let beta_ctx = beta_dispatch.clone();
+ let beta_config = config.clone();
+ let beta_job_for_run = beta_job.clone();
+ let beta_id = format!("other-scope-{}", uuid::Uuid::new_v4());
+ let beta_run_id = beta_id.clone();
+ let second = tokio::spawn(async move {
+ crate::cron::scheduler::run_job_now(
+ &beta_ctx,
+ &beta_config,
+ beta_job_for_run,
+ beta_run_id,
+ true,
+ tinyflows_bus::schedule::ManualDelivery::NotRequested,
+ )
+ .await
+ });
+ tokio::time::timeout(std::time::Duration::from_secs(3), started_rx.recv())
+ .await
+ .expect("another agent scope can start the same job identity")
+ .expect("handler start channel remains open");
+
+ release.add_permits(2);
+ assert!(matches!(
+ first.await.unwrap().unwrap(),
+ tinyflows_bus::schedule::RunJobReply::Completed { success: true, .. }
+ ));
+ assert!(matches!(
+ second.await.unwrap().unwrap(),
+ tinyflows_bus::schedule::RunJobReply::Completed { success: true, .. }
+ ));
+ let alpha_runs = CoreContext::scope(Arc::clone(&alpha), async {
+ cron::list_runs(&config, &alpha_job.id, 10).unwrap()
+ })
+ .await;
+ let beta_runs = CoreContext::scope(Arc::clone(&beta), async {
+ cron::list_runs(&config, &beta_job.id, 10).unwrap()
+ })
+ .await;
+ assert_eq!(alpha_runs[0].run_id.as_deref(), Some(first_id.as_str()));
+ assert_eq!(beta_runs[0].run_id.as_deref(), Some(beta_id.as_str()));
+}
+
#[tokio::test]
async fn cancelled_waiting_caller_keeps_manual_run_callback_served_until_completion() {
use crate::core::events::DomainEvent;
@@ -448,8 +596,7 @@ async fn cancelled_waiting_caller_keeps_manual_run_callback_served_until_complet
assert!(waiting_call.await.unwrap_err().is_cancelled());
let _ = release_tx.send(());
- let completed = tokio::time::timeout(std::time::Duration::from_secs(3), events_rx.recv())
- .await;
+ let completed = tokio::time::timeout(std::time::Duration::from_secs(3), events_rx.recv()).await;
assert_eq!(
completed,
Ok(Some(true)),
diff --git a/crates/openhuman-core/src/cron/scheduler.rs b/crates/openhuman-core/src/cron/scheduler.rs
index 916c3fe051..da4fe74ea0 100644
--- a/crates/openhuman-core/src/cron/scheduler.rs
+++ b/crates/openhuman-core/src/cron/scheduler.rs
@@ -56,8 +56,7 @@ use anyhow::{anyhow, Result};
use std::sync::Arc;
use tinyflows_bus::schedule::types::CronJob;
use tinyflows_bus::schedule::{
- members, ManualDelivery, RunJobReply, StartScheduler, StoreBackend,
- StoreConfig,
+ members, ManualDelivery, RunJobReply, StartScheduler, StoreBackend, StoreConfig,
};
use tokio::time::{self, Duration};
diff --git a/crates/openhuman-core/src/cron/scheduler/dispatcher.rs b/crates/openhuman-core/src/cron/scheduler/dispatcher.rs
index e7c5f9701c..9ddf7c0afd 100644
--- a/crates/openhuman-core/src/cron/scheduler/dispatcher.rs
+++ b/crates/openhuman-core/src/cron/scheduler/dispatcher.rs
@@ -53,8 +53,7 @@ pub(crate) async fn run_job_now(
let config = config.clone();
tokio::spawn(async move {
let mut reply_tx = Some(reply_tx);
- let result =
- own_manual_run(ctx, config, job, run_id, wait, delivery, &mut reply_tx).await;
+ let result = own_manual_run(ctx, config, job, run_id, wait, delivery, &mut reply_tx).await;
if let Err(error) = result {
if let Some(reply_tx) = reply_tx.take() {
let _ = reply_tx.send(Err(error.to_string()));
@@ -86,7 +85,9 @@ async fn own_manual_run(
&config.action_dir,
));
let binding = Binding::new(&ctx, &config, security);
- let host = bus_host::register(binding.clone()).await.map_err(|e| anyhow!(e))?;
+ let host = bus_host::register(binding.clone())
+ .await
+ .map_err(|e| anyhow!(e))?;
let scope = binding.within(async { DocScope::current(&config) }).await?;
let storage = StoreConfig {
backend: StoreBackend::Documents {
@@ -144,7 +145,10 @@ async fn own_manual_run(
let terminal = loop {
let state = if !started {
match module::proxy(&config).await {
- Ok(proxy) => match proxy.call::<ManualRunState>(members::START_MANUAL_RUN, (&start,)).await {
+ Ok(proxy) => match proxy
+ .call::<ManualRunState>(members::START_MANUAL_RUN, (&start,))
+ .await
+ {
Ok(state) => state,
Err(error) => {
tracing::debug!(error = %error.wire_message(), "[cron:scheduler] retrying identical StartManualRun");
@@ -185,7 +189,8 @@ async fn own_manual_run(
Ok(None) => {
if let Some(reply_tx) = reply_tx.take() {
let _ = reply_tx.send(Err(
- "cron manual worker disappeared before a terminal result".to_string(),
+ "cron manual worker disappeared before a terminal result"
+ .to_string(),
));
}
tracing::debug!("[cron:scheduler] manual handle absent without observed terminal state; retaining callback while reconciling");
@@ -254,7 +259,11 @@ async fn own_manual_run(
let mut retry_delay = Duration::from_millis(20);
loop {
let result = match module::proxy(&config).await {
- Ok(proxy) => proxy.call::<bool>(members::ACKNOWLEDGE_MANUAL_RUN, (&ack,)).await,
+ Ok(proxy) => {
+ proxy
+ .call::<bool>(members::ACKNOWLEDGE_MANUAL_RUN, (&ack,))
+ .await
+ }
Err(error) => {
tracing::debug!(%error, "[cron:scheduler] retrying AcknowledgeManualRun");
tokio::time::sleep(retry_delay).await;
@@ -287,7 +296,9 @@ async fn own_manual_run(
Err(error) => tracing::debug!(%error, "[cron:scheduler] reconciling manual acknowledgement"),
}
}
- Err(error) => tracing::debug!(error = %error.wire_message(), "[cron:scheduler] retrying ambiguous AcknowledgeManualRun"),
+ Err(error) => {
+ tracing::debug!(error = %error.wire_message(), "[cron:scheduler] retrying ambiguous AcknowledgeManualRun")
+ }
}
tokio::time::sleep(retry_delay).await;
retry_delay = (retry_delay * 2).min(Duration::from_secs(1));
diff --git a/crates/openhuman-core/src/cron/scheduler/executor.rs b/crates/openhuman-core/src/cron/scheduler/executor.rs
index 74ca75a0ee..08e61aadbd 100644
--- a/crates/openhuman-core/src/cron/scheduler/executor.rs
+++ b/crates/openhuman-core/src/cron/scheduler/executor.rs
@@ -96,13 +96,11 @@ impl HostExecutor {
/// Whether a failed attempt may be retried, and the output to record.
fn classify_failure(job: &CronJob, output: String, agent_error: Option<&str>) -> Attempt {
- let permanent = |output: String| {
- Attempt {
- success: false,
- output,
- retryable: false,
- raw_detail: agent_error.map(str::to_string),
- }
+ let permanent = |output: String| Attempt {
+ success: false,
+ output,
+ retryable: false,
+ raw_detail: agent_error.map(str::to_string),
};
if output.starts_with("blocked by security policy:") {
// Deterministic policy violations are not retryable.
@@ -162,7 +160,10 @@ impl HostExecutor {
if !matches!(job.job_type, JobType::Agent) || !attempt.retryable {
return;
}
- let message = attempt.raw_detail.as_deref().unwrap_or(attempt.output.as_str());
+ let message = attempt
+ .raw_detail
+ .as_deref()
+ .unwrap_or(attempt.output.as_str());
crate::core::observability::report_error(
message,
"cron",
@@ -170,7 +171,10 @@ impl HostExecutor {
&[
("job_id", job.id.as_str()),
("agent_id", job.agent_id.as_deref().unwrap_or("none")),
- ("session_target", agent_session_target_tag(&job.session_target)),
+ (
+ "session_target",
+ agent_session_target_tag(&job.session_target),
+ ),
("failure", "retries_exhausted"),
],
);
diff --git a/crates/openhuman-core/src/cron/scheduler/run_delivery.rs b/crates/openhuman-core/src/cron/scheduler/run_delivery.rs
index ecaba2d951..ad99f10497 100644
--- a/crates/openhuman-core/src/cron/scheduler/run_delivery.rs
+++ b/crates/openhuman-core/src/cron/scheduler/run_delivery.rs
@@ -109,4 +109,3 @@ pub(crate) async fn trigger(binding: &Binding, job: &CronJob, run_id: &str) -> A
})
.await
}
-
diff --git a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs
index 1ed4e2ae2c..dcef2dcea8 100644
--- a/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs
+++ b/crates/openhuman-core/src/cron/scheduler_dispatch_tests.rs
@@ -209,7 +209,9 @@ async fn module_scheduler_slot_is_per_store_scope_and_refuses_a_duplicate() {
.await
.expect_err("the same document scope has one module scheduler");
assert!(
- error.to_string().contains("scheduler already owns this scope"),
+ error
+ .to_string()
+ .contains("scheduler already owns this scope"),
"unexpected duplicate-scope refusal: {error}"
);
diff --git a/crates/openhuman-core/src/modules/registry_contract_tests.rs b/crates/openhuman-core/src/modules/registry_contract_tests.rs
index 7c346da47c..e0d7cea4f9 100644
--- a/crates/openhuman-core/src/modules/registry_contract_tests.rs
+++ b/crates/openhuman-core/src/modules/registry_contract_tests.rs
@@ -186,17 +186,50 @@ fn the_flows_record_pins_every_host_of_one_release() {
assert_eq!(record.version, "0.8.25");
assert_eq!(record.assets.len(), 11);
let expected = [
- ("tinyflows-module-0.8.25-macos-26-arm64.tar.gz", "af7e4fd98885704f4745384b32f628128954389595269698bc26fa90be41ea68"),
- ("tinyflows-module-0.8.25-macos-26-x86_64.tar.gz", "d253d9ca4d95b806042b7b5bc4f98acfdb174c0512e3fb7035a46a7e0e07b39d"),
- ("tinyflows-module-0.8.25-macos-15-arm64.tar.gz", "2f6a938f3d12874db93d3b44eca3e7aa44418cd1c6d07a06813d3ff10eddacbe"),
- ("tinyflows-module-0.8.25-macos-15-x86_64.tar.gz", "7dafc35c4754e1198209f0fd182e3ab3e7e1aa2bb6cfdcfad1bae0649049aa7f"),
- ("tinyflows-module-0.8.25-ubuntu-24.04-x86_64.tar.gz", "1a713e76ff38034481a06cfc0dc9cee1c59af80af6338d9d4a4c8901fbab7c8f"),
- ("tinyflows-module-0.8.25-ubuntu-24.04-arm64.tar.gz", "b0f59ee5d2f7726f409a5e3d5cd48eea2f2a2f32fe82a070eb8758ee80ae2646"),
- ("tinyflows-module-0.8.25-ubuntu-22.04-x86_64.tar.gz", "4d8f500c83243894daea71a3051c1d549269cd2079bf114469c41324a7e3733d"),
- ("tinyflows-module-0.8.25-ubuntu-22.04-arm64.tar.gz", "3eadc6e3e71a6176354a695b33897b6eda61ba469f26dc51e27dd3e966cebda0"),
- ("tinyflows-module-0.8.25-windows-2025-x86_64.zip", "9cf9b8bf35b4e7134a57dc5e03d14966c9ff468bfec16fcac8b22285dcbc2e40"),
- ("tinyflows-module-0.8.25-windows-2022-x86_64.zip", "bb5c8d97030aa53a05c3baf60bb1e3a6a8631be6add72a03823052b795fb1286"),
- ("tinyflows-module-0.8.25-windows-11-arm64.zip", "712cf7bc89b3d0a1a02beff3d792990047cd946a23433a3e6f54b35545963ad8"),
+ (
+ "tinyflows-module-0.8.25-macos-26-arm64.tar.gz",
+ "af7e4fd98885704f4745384b32f628128954389595269698bc26fa90be41ea68",
+ ),
+ (
+ "tinyflows-module-0.8.25-macos-26-x86_64.tar.gz",
+ "d253d9ca4d95b806042b7b5bc4f98acfdb174c0512e3fb7035a46a7e0e07b39d",
+ ),
+ (
+ "tinyflows-module-0.8.25-macos-15-arm64.tar.gz",
+ "2f6a938f3d12874db93d3b44eca3e7aa44418cd1c6d07a06813d3ff10eddacbe",
+ ),
+ (
+ "tinyflows-module-0.8.25-macos-15-x86_64.tar.gz",
+ "7dafc35c4754e1198209f0fd182e3ab3e7e1aa2bb6cfdcfad1bae0649049aa7f",
+ ),
+ (
+ "tinyflows-module-0.8.25-ubuntu-24.04-x86_64.tar.gz",
+ "1a713e76ff38034481a06cfc0dc9cee1c59af80af6338d9d4a4c8901fbab7c8f",
+ ),
+ (
+ "tinyflows-module-0.8.25-ubuntu-24.04-arm64.tar.gz",
+ "b0f59ee5d2f7726f409a5e3d5cd48eea2f2a2f32fe82a070eb8758ee80ae2646",
+ ),
+ (
+ "tinyflows-module-0.8.25-ubuntu-22.04-x86_64.tar.gz",
+ "4d8f500c83243894daea71a3051c1d549269cd2079bf114469c41324a7e3733d",
+ ),
+ (
+ "tinyflows-module-0.8.25-ubuntu-22.04-arm64.tar.gz",
+ "3eadc6e3e71a6176354a695b33897b6eda61ba469f26dc51e27dd3e966cebda0",
+ ),
+ (
+ "tinyflows-module-0.8.25-windows-2025-x86_64.zip",
+ "9cf9b8bf35b4e7134a57dc5e03d14966c9ff468bfec16fcac8b22285dcbc2e40",
+ ),
+ (
+ "tinyflows-module-0.8.25-windows-2022-x86_64.zip",
+ "bb5c8d97030aa53a05c3baf60bb1e3a6a8631be6add72a03823052b795fb1286",
+ ),
+ (
+ "tinyflows-module-0.8.25-windows-11-arm64.zip",
+ "712cf7bc89b3d0a1a02beff3d792990047cd946a23433a3e6f54b35545963ad8",
+ ),
];
for (asset, (archive, sha256)) in record.assets.iter().zip(expected) {
assert_eq!(asset.archive, archive);