From ccfcf753f67541b5fba8746f4f60d7498a54f44a Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 26 Jan 2026 19:30:50 +0000 Subject: [WIP] Heartbeat checkpoint - 2026-01-26 19:30:50 UTC --- makima/src/daemon/db/local.rs | 4 +++- makima/src/daemon/process/claude_protocol.rs | 2 +- makima/src/daemon/temp.rs | 2 +- makima/src/daemon/worktree/manager.rs | 3 ++- makima/src/daemon/ws/protocol.rs | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) (limited to 'makima/src/daemon') diff --git a/makima/src/daemon/db/local.rs b/makima/src/daemon/db/local.rs index f3ed45a..5b4ca5b 100644 --- a/makima/src/daemon/db/local.rs +++ b/makima/src/daemon/db/local.rs @@ -336,7 +336,9 @@ impl LocalDb { #[cfg(test)] mod tests { - use crate::daemon::*; + use super::*; + use chrono::Utc; + use uuid::Uuid; #[test] fn test_open_memory() { diff --git a/makima/src/daemon/process/claude_protocol.rs b/makima/src/daemon/process/claude_protocol.rs index 96e5377..930152b 100644 --- a/makima/src/daemon/process/claude_protocol.rs +++ b/makima/src/daemon/process/claude_protocol.rs @@ -45,7 +45,7 @@ impl ClaudeInputMessage { #[cfg(test)] mod tests { - use crate::daemon::*; + use super::*; #[test] fn test_user_message_serialization() { diff --git a/makima/src/daemon/temp.rs b/makima/src/daemon/temp.rs index 42d4a28..015b21b 100644 --- a/makima/src/daemon/temp.rs +++ b/makima/src/daemon/temp.rs @@ -214,7 +214,7 @@ impl Default for TempManager { #[cfg(test)] mod tests { - use crate::daemon::*; + use super::*; #[test] fn test_temp_manager_default_dir() { diff --git a/makima/src/daemon/worktree/manager.rs b/makima/src/daemon/worktree/manager.rs index fa8a9de..2d8761c 100644 --- a/makima/src/daemon/worktree/manager.rs +++ b/makima/src/daemon/worktree/manager.rs @@ -1922,7 +1922,8 @@ pub fn sanitize_name(name: &str) -> String { #[cfg(test)] mod tests { - use crate::daemon::*; + use super::*; + use uuid::Uuid; #[test] fn test_extract_repo_name() { diff --git a/makima/src/daemon/ws/protocol.rs b/makima/src/daemon/ws/protocol.rs index 2e7caef..e5da2f9 100644 --- a/makima/src/daemon/ws/protocol.rs +++ b/makima/src/daemon/ws/protocol.rs @@ -747,7 +747,7 @@ impl DaemonMessage { #[cfg(test)] mod tests { - use crate::daemon::*; + use super::*; #[test] fn test_daemon_message_serialization() { -- cgit v1.2.3