fix(aw-db): add guarded sqlite vacuum maintenance

This commit is contained in:
igor04091968
2026-06-20 11:04:10 +03:00
parent f800c676ce
commit cfeaf772ea
7 changed files with 689 additions and 9 deletions
+4
View File
@@ -285,6 +285,7 @@ fn is_allowed_python_runtime_path(rel: &str) -> bool {
|| rel.starts_with("pfsense/")
|| rel == "proxmox/tsj_guardian_bot.py"
|| rel == "proxmox/test_tsj_guardian_bot.py"
|| rel == "scripts/package_rust_release_binaries.py"
}
fn is_detmir_retired_runtime_path(rel: &str) -> bool {
@@ -344,6 +345,9 @@ mod tests {
assert!(is_allowed_python_runtime_path(
"pfsense/pfsense-aw-poller.py"
));
assert!(is_allowed_python_runtime_path(
"scripts/package_rust_release_binaries.py"
));
}
#[test]