chore: stabilize current head before Phase 10a QC

This commit is contained in:
2026-05-10 23:00:25 +01:00
parent c95a5da077
commit b463c32f17
24 changed files with 238 additions and 89 deletions

View File

@@ -59,4 +59,3 @@ pub async fn record_feedback(
.await
.map_err(|e| e.to_string())
}

View File

@@ -1677,7 +1677,10 @@ mod tests {
&message,
);
assert!(!delivered, "send must report not delivered when result_channel errors");
assert!(
!delivered,
"send must report not delivered when result_channel errors"
);
assert!(result_listener_lost, "result_listener_lost must be set");
assert!(
stop_flag.load(Ordering::Relaxed),

View File

@@ -319,7 +319,6 @@ pub struct LanguageSupportInfo {
pub language_count: u16,
}
/// Compile-time target signalling used by `compose_accelerators`.
/// Split out so the pure-function behaviour is testable without `cfg!`
/// appearing in the test matrix.

View File

@@ -249,4 +249,3 @@ pub async fn transcribe_file(
"raw_text": raw_text,
}))
}

View File

@@ -7,4 +7,3 @@ pub async fn check_for_update(window: tauri::WebviewWindow) -> Result<Option<Str
ensure_main_window(&window)?;
Ok(None)
}

View File

@@ -12,9 +12,7 @@ use tauri::Manager;
use magnotia_core::types::EngineName;
use magnotia_llm::LlmEngine;
use magnotia_storage::{
database_path, get_setting, init as init_db, prune_error_log, set_setting,
};
use magnotia_storage::{database_path, get_setting, init as init_db, prune_error_log, set_setting};
/// How long to retain `error_log` rows. Pruned once on startup.
/// 90 days is long enough to triage "this happened a few weeks ago"
@@ -117,7 +115,11 @@ fn ensure_x11_on_wayland() {
// magnotia idle CPU 12.30% → 2.80% of one core and idle GPU 17% → 10%.
// Apples to both X11 and Wayland sessions; users can opt back in by
// setting WEBKIT_DISABLE_DMABUF_RENDERER=0 explicitly.
set_if_unset("WEBKIT_DISABLE_DMABUF_RENDERER", "1", "iGPU idle-cost workaround");
set_if_unset(
"WEBKIT_DISABLE_DMABUF_RENDERER",
"1",
"iGPU idle-cost workaround",
);
// If the user is on a Wayland session, also force WebKitGTK + GDK
// onto X11 via XWayland. Idempotent: if a value is already set, keep