Add unattended end-to-end self-test mode for the production webview

VOICED_SELFTEST_OUT runs the Diagnostics checks plus an issue, archive,
export (searchable, flattened, re-render), cancel and archive-immutability
flow through the real IPC, writes a JSON report and exits. Inert without
the variable; doubles as the per-release gate on installed builds.
This commit is contained in:
2026-10-04 06:17:04 +05:30
parent f1b7502e9d
commit 92904f169c
7 changed files with 374 additions and 0 deletions
+3
View File
@@ -2,6 +2,7 @@ mod commands;
mod db;
mod gst;
mod models;
mod selftest;
use rusqlite::Connection;
use std::path::{Path, PathBuf};
@@ -135,6 +136,8 @@ pub fn run() {
commands::files::get_last_export_dir,
commands::files::reveal_in_folder,
commands::files::open_file,
selftest::selftest_config,
selftest::selftest_report,
])
.run(tauri::generate_context!());