From 8ca2c5556c01d69d9ee327f9896c49617156e03b Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 10 Oct 2026 01:38:31 +0200 Subject: [PATCH] Bridge test: take the world handle before the table closure so the fixture can move The previous commit does not compile (E0505 in the ignored bridge test's closure); this one fixes it. Co-Authored-By: Claude Opus 5.5 --- crates/ghostlight-dungeon/src/runtime.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/ghostlight-dungeon/src/runtime.rs b/crates/ghostlight-dungeon/src/runtime.rs index 1774958..3908278 100644 --- a/crates/ghostlight-dungeon/src/runtime.rs +++ b/crates/ghostlight-dungeon/src/runtime.rs @@ -3196,9 +3196,10 @@ mod tests { let store_directory = tempfile::tempdir().unwrap(); let store_path = store_directory.path().join("play-turn-v1.cc"); let models = ["gpt-5.6-sol", "gpt-5.6-terra"]; + let world = fixture.state.world.clone(); let table_over = |inference: Arc, narration: Arc| { let personas = PersonaLane::new( - ControllerPort::new(fixture.state.world.clone()), + ControllerPort::new(world.clone()), narration, models[0].into(), models[0].into(), @@ -3206,7 +3207,7 @@ mod tests { .unwrap(); Arc::new( PlayTable::new( - fixture.state.world.clone(), + world.clone(), personas, inference, models[1].into(),