feat: add migrations, test scripts, and utility tools

- Add database migrations (006-028) for face recognition, identity, file_uuid
- Add test scripts for ASR, face, search, processing
- Add portal frontend (Tauri)
- Add config, benchmark, and monitoring utilities
- Add model checkpoints and pretrained model references
This commit is contained in:
Warren
2026-04-30 15:11:53 +08:00
parent 4d75b2e251
commit b54c2def30
192 changed files with 46721 additions and 0 deletions

28
test_quick_hang.py Normal file
View File

@@ -0,0 +1,28 @@
#!/usr/bin/env python3
import subprocess
import time
import sys
cmd = [
"/opt/homebrew/bin/python3.11",
"scripts/asr_processor_debug.py",
"../test_video/1636719d-c31f-78ac-f1dd-8ab0b0b36c66.mov",
"/tmp/test_output.json",
"--uuid",
"test",
]
print("Running with 5-second timeout...")
start = time.time()
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
try:
stdout, stderr = proc.communicate(timeout=5)
print(f"Completed in {time.time() - start:.1f}s")
except subprocess.TimeoutExpired:
print(f"Timed out after {time.time() - start:.1f}s")
proc.kill()
stdout, stderr = proc.communicate()
print("\n=== STDERR (last 1000 chars) ===")
print(stderr[-1000:] if stderr else "")