From 816222e15af80aa764bea61d8837e4109a5fd58c Mon Sep 17 00:00:00 2001 From: Duncan Date: Wed, 5 Aug 2026 17:54:37 -0400 Subject: [PATCH] fix(desktop): remove unused SCOPE_GENERATION_TEST_LOCK import in tests_captured_scope The guard is invoked via the fully-qualified path crate::managed_agents::scope::SCOPE_GENERATION_TEST_LOCK at :146, matching the style in app_state_scope_tests.rs. The use-block import added in b450d4693 is therefore unused and triggers clippy -D warnings. Co-authored-by: Will Pfleger Signed-off-by: Will Pfleger --- .../src/commands/personas/snapshot/tests_captured_scope.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop/src-tauri/src/commands/personas/snapshot/tests_captured_scope.rs b/desktop/src-tauri/src/commands/personas/snapshot/tests_captured_scope.rs index a15e81ab8..7c60e52d2 100644 --- a/desktop/src-tauri/src/commands/personas/snapshot/tests_captured_scope.rs +++ b/desktop/src-tauri/src/commands/personas/snapshot/tests_captured_scope.rs @@ -16,7 +16,6 @@ use crate::app_state::{build_app_state, AppState}; use crate::commands::personas::snapshot::import::capture_agent_snapshot_import_entry; use crate::managed_agents::scope::{ current_scope_generation, next_scope_generation, WorkspaceAgentScope, - SCOPE_GENERATION_TEST_LOCK, }; fn make_scope_with_keys(tmp: &tempfile::TempDir, owner_keys: &nostr::Keys) -> WorkspaceAgentScope {