chore(ci): lint desktop Tauri crate in CI (#1801)

Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Will Pfleger
2026-07-13 11:21:10 -04:00
committed by GitHub
co-authored by npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7
parent e09e94ab88
commit bea507d8aa
3 changed files with 9 additions and 2 deletions
+4
View File
@@ -156,6 +156,10 @@ jobs:
run: just desktop-test
- name: Desktop build
run: just desktop-build
- name: Desktop Tauri clippy
run: just desktop-tauri-clippy
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
- name: Desktop Tauri check
run: just desktop-tauri-check
env:
@@ -322,7 +322,7 @@ async fn restart_setup_mode_agents_after_install(
&global,
);
let now_ready = matches!(agent_readiness(&effective), AgentReadiness::Ready);
let pid_alive = pid.is_some_and(|p| crate::managed_agents::process_is_running(p));
let pid_alive = pid.is_some_and(crate::managed_agents::process_is_running);
should_restart_after_install(
is_local,
pid_alive,
+4 -1
View File
@@ -48,9 +48,12 @@ use std::sync::{
atomic::{AtomicBool, Ordering},
Arc,
};
use tauri::{Emitter, Listener, Manager, RunEvent};
#[cfg(target_os = "macos")]
use tauri::Listener;
use tauri::{Emitter, Manager, RunEvent};
use tauri_plugin_window_state::StateFlags;
#[cfg(target_os = "macos")]
const INITIAL_RENDER_READY_EVENT: &str = "initial-render-ready";
#[tauri::command]