Skip to content

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

chore(flows): apply rustfmt formatting to boot reconcile and resume tests

Steven Enamakelcaf3de086c68
diff --git a/crates/openhuman-core/src/core/runtime/services.rs b/crates/openhuman-core/src/core/runtime/services.rs
index 4fa5b92e89..92de667af9 100644
--- a/crates/openhuman-core/src/core/runtime/services.rs
+++ b/crates/openhuman-core/src/core/runtime/services.rs
@@ -259,7 +259,7 @@ pub fn spawn_flows_boot_reconcile(
}
}
});
- }
+ };
#[cfg(not(feature = "flows"))]
log::debug!("[flows] flows feature disabled at compile time — no boot run reconciliation");
}
diff --git a/crates/openhuman-core/src/flows/ops_resume_checkpoint_tests.rs b/crates/openhuman-core/src/flows/ops_resume_checkpoint_tests.rs
index c3bc2a5e69..5ec5cce3d1 100644
--- a/crates/openhuman-core/src/flows/ops_resume_checkpoint_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_resume_checkpoint_tests.rs
@@ -25,8 +25,8 @@ pub(super) fn update_parked_run_document_for_test(
CatalogStorageReply::Value { value } => value,
CatalogStorageReply::Error { error } => panic!("run fixture read failed: {error:?}"),
};
- let stored: Option<CatalogVersionedDocument> = serde_json::from_value(value)
- .expect("decode the module-created parked run document");
+ let stored: Option<CatalogVersionedDocument> =
+ serde_json::from_value(value).expect("decode the module-created parked run document");
let mut stored = stored.expect("the parked run document must exist");
update(&mut stored.doc);
@@ -315,10 +315,12 @@ async fn flows_resume_marks_a_checkpoint_with_an_incompatible_saved_child_failed
let run_row = flows_get_run(&config, &thread_id).await.unwrap().value;
assert_eq!(run_row.status, "failed");
assert!(run_row.pending_approvals.is_empty());
- assert!(run_row
- .error
- .as_deref()
- .is_some_and(|value| value.contains(UNSUPPORTED_NESTED_CONDITIONAL_FAN_IN)));
+ assert!(
+ run_row
+ .error
+ .as_deref()
+ .is_some_and(|value| value.contains(UNSUPPORTED_NESTED_CONDITIONAL_FAN_IN))
+ );
let flow = flows_get(&config, &created.value.id).await.unwrap().value;
assert_eq!(flow.last_status.as_deref(), Some("failed"));
}