summaryrefslogtreecommitdiff
path: root/makima/src/db/models.rs
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-04-28 00:55:25 +0100
committerGitHub <noreply@github.com>2026-04-28 00:55:25 +0100
commit5aa3fafb4acfa89c7d04e84abf7861607733e8ce (patch)
tree8a444bcc3b595c5655b71e76a70e7b47936225f8 /makima/src/db/models.rs
parentd6f01a69f61a40843054f27b427687e1fa1cedfb (diff)
downloadsoryu-5aa3fafb4acfa89c7d04e84abf7861607733e8ce.tar.gz
soryu-5aa3fafb4acfa89c7d04e84abf7861607733e8ce.zip
fix: resolve compilation error and warnings in Rust backend (#95)
* fix: resolve compilation error and warnings in Rust backend - Fix syntax error in directive.rs phase_replanning (bad merge created duplicate code blocks with broken `.await {` syntax) - Remove unused imports: WorktreeError, DaemonReauthStatus, ratatui::prelude - Prefix unused variables with underscore: claude_command, content, owner_id - Suppress unused_assignments warning on final_exit_code - Add #[allow(unused_imports)] for cfg(unix) CommandExt imports Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * WIP: heartbeat checkpoint * fix: suppress remaining compiler warnings for clean build - Add #[allow(dead_code)] for unused but intentionally kept functions - Remove useless self-assignments in listen handler - Fixes: truncate_string, checkout_commit, handle_get_worktree_diff, default_max_retries, STREAM_CHUNK_MS, listen(), MessageResponse.role Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'makima/src/db/models.rs')
-rw-r--r--makima/src/db/models.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs
index c03b4ac..121897d 100644
--- a/makima/src/db/models.rs
+++ b/makima/src/db/models.rs
@@ -7,6 +7,7 @@ use utoipa::ToSchema;
use uuid::Uuid;
/// Default max retries for task daemon failover (3 attempts)
+#[allow(dead_code)]
fn default_max_retries() -> i32 {
3
}