From c2ff5b78f6828c8b1847988d3c9a9db1215d1cbb Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 2 Nov 2026 00:06:35 +0100 Subject: [PATCH] heartbeat tests: the open Persona turns in the busy fixtures have a live unit Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/heartbeat/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/mind-body/src/heartbeat/tests.rs b/crates/mind-body/src/heartbeat/tests.rs index 0f8e293..c21b021 100644 --- a/crates/mind-body/src/heartbeat/tests.rs +++ b/crates/mind-body/src/heartbeat/tests.rs @@ -522,6 +522,7 @@ fn neither_an_operator_mention_nor_a_self_run_end_launches_a_busy_or_braked_pers rig.self_run_ended(BOB, 50); // Bob is busy: a Persona run is open. rig.minds[BOB].committed(vec![run_in("bob", "open-turn", RunTurn::PersonaTurn, RunOperator::Mind, &[])]); + rig.launcher.revive_as(&Slug("bob".into()), RunTurn::PersonaTurn); assert_eq!(rig.poll(), Outcome::Polled { launched: vec![] }); assert_eq!(rig.launched(), vec![], "nothing started"); } @@ -536,6 +537,7 @@ fn a_braked_or_busy_persona_is_never_the_beat_winner() { rig.end_run(BOB); rig.control.braked.borrow_mut().clear(); rig.minds[ANN].committed(vec![run_in("ann", "open-turn", RunTurn::PersonaTurn, RunOperator::Mind, &[])]); + rig.launcher.revive_as(&Slug("ann".into()), RunTurn::PersonaTurn); rig.advance(900); assert_eq!(rig.poll(), Outcome::Polled { launched: vec![Slug("bob".into())] }, "the longest waiter is in a turn"); }