From 92cd5554401cd01901a72e7035617bfb2adf9db0 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Oct 2026 13:45:39 +0000 Subject: [PATCH] Roto model loading: keep the stale-load helper test-only Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01RDvxCS8xcR28VArjzn1x7U --- crates/engine/src/analysis/models.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/engine/src/analysis/models.rs b/crates/engine/src/analysis/models.rs index b66680507..9ff8a5ca7 100644 --- a/crates/engine/src/analysis/models.rs +++ b/crates/engine/src/analysis/models.rs @@ -67,6 +67,7 @@ impl Models { /// Activate a model that finished loading for the choice counted as `generation`; `false` (and the model is /// dropped) when the choice changed meanwhile. + #[cfg(test)] pub(crate) fn set_active_if_current(&self, task: Task, model: Loaded, generation: u64) -> bool { activate_if_current(self.lane(task), &self.face_model, task, model, generation) }