diff --git a/crates/project/src/task_inventory.rs b/crates/project/src/task_inventory.rs index 4d85c8f262..da6d87ac70 100644 --- a/crates/project/src/task_inventory.rs +++ b/crates/project/src/task_inventory.rs @@ -258,7 +258,7 @@ impl Inventory { ) { self.last_scheduled_scenarios .retain(|(s, _)| s.label != scenario.label); - self.last_scheduled_scenarios.push_back(( + self.last_scheduled_scenarios.push_front(( scenario, DebugScenarioContext { task_context,