diff options
| author | soryu <soryu@soryu.co> | 2026-01-26 19:30:50 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-26 19:30:50 +0000 |
| commit | ccfcf753f67541b5fba8746f4f60d7498a54f44a (patch) | |
| tree | 1f469fe0fa7affa3a2d92dafafde46ec89391dc5 /makima/src/daemon | |
| parent | cb4f2fc40dbabb40de948512eee74c7e46264665 (diff) | |
| download | soryu-ccfcf753f67541b5fba8746f4f60d7498a54f44a.tar.gz soryu-ccfcf753f67541b5fba8746f4f60d7498a54f44a.zip | |
[WIP] Heartbeat checkpoint - 2026-01-26 19:30:50 UTC
Diffstat (limited to 'makima/src/daemon')
| -rw-r--r-- | makima/src/daemon/db/local.rs | 4 | ||||
| -rw-r--r-- | makima/src/daemon/process/claude_protocol.rs | 2 | ||||
| -rw-r--r-- | makima/src/daemon/temp.rs | 2 | ||||
| -rw-r--r-- | makima/src/daemon/worktree/manager.rs | 3 | ||||
| -rw-r--r-- | makima/src/daemon/ws/protocol.rs | 2 |
5 files changed, 8 insertions, 5 deletions
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() { |
