Skip to content

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

chore: files changed crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs,crates/openhuman-cor

Steven Enamakela134e0177696
diff --git a/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs b/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs
index b187f7951e..b6516d3ee1 100644
--- a/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs
@@ -113,41 +113,6 @@ async fn cancel_observed_parked_does_not_tear_down_a_resume_starting() {
assert!(flow.last_status.is_none());
}
-#[tokio::test]
-async fn dropping_finalizer_for_terminal_run_does_not_rewrite_flow_summary() {
- let tmp = TempDir::new().unwrap();
- let config = test_config(&tmp);
- let flow = store::create_flow(
- &config,
- "terminal-finalizer-race".to_string(),
- structurally_valid_graph(trigger_only_graph()),
- false,
- true,
- )
- .unwrap();
- let run_id = "terminal-finalizer-race-run";
- insert_parked_run(&config, &flow.id, run_id);
- assert!(store::finish_flow_run(
- &config,
- run_id,
- "completed",
- &Utc::now().to_rfc3339(),
- &[],
- &[],
- None,
- None,
- )
- .unwrap());
-
- let config = Arc::new(config);
- drop(RunRowFinalizer::new(config.clone(), run_id, &flow.id));
-
- let row = store::get_flow_run(&config, run_id).unwrap().unwrap();
- assert_eq!(row.status, "completed");
- let flow = store::get_flow(&config, &flow.id).unwrap().unwrap();
- assert!(flow.last_status.is_none());
-}
-
#[tokio::test]
async fn flows_duplicate_missing_flow_errors() {
let tmp = TempDir::new().unwrap();
diff --git a/crates/openhuman-core/src/flows/ops_tests.rs b/crates/openhuman-core/src/flows/ops_tests.rs
index 7f84db8cd7..2983de8185 100644
--- a/crates/openhuman-core/src/flows/ops_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_tests.rs
@@ -662,6 +662,8 @@ mod migration_and_side_effect_tests;
mod resume_checkpoint_tests;
#[path = "ops_run_lifecycle_tests.rs"]
mod run_lifecycle_tests;
+#[path = "ops_run_finalizer_tests.rs"]
+mod run_finalizer_tests;
#[path = "ops_run_rows_and_notifications_tests.rs"]
mod run_rows_and_notifications_tests;
#[path = "ops_run_status_and_prompt_binding_tests.rs"]