release: v1.3.1 - Pipeline Queue Integration, OCR Fix, Worker Compatibility
Major Changes: - Pipeline Queue integration completed (internal.file + pipeline.commands) - Fixed old job_worker database compatibility with new command_queue table - Compiled Swift OCR binary (was missing, causing empty OCR results) - Added deep scan functionality through re-scan API Fixes: - Changed CommandJob.id from i32 to i64 for database compatibility - Added UUID generation in create_command (message_id field) - Fixed claim_pending_commands to query queue_name = 'internal.file' - Fixed field mappings: command_id → message_id, job_type → command_type - Added support for 'processing' status in CommandJobStatus Queue System: - internal.file queue: for register/unregister/re-scan commands (job_worker) - pipeline.commands queue: for vectorize/store_asrx/etc commands (pipeline_worker) Documentation: - Added comprehensive queue system documentation - Created M4 workspace status reports - Updated AGENTS.md with queue system details
This commit is contained in:
@@ -4,6 +4,7 @@ use tracing::{info, warn};
|
||||
|
||||
use crate::core::config;
|
||||
use crate::core::db::PostgresDb;
|
||||
use crate::core::db::qdrant_db::new_http_client;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct TmdbSearchResult {
|
||||
@@ -299,7 +300,9 @@ pub async fn create_identities_from_data(
|
||||
|
||||
// Step 4: Trigger background embedding extraction
|
||||
if identities_created > 0 {
|
||||
let scripts_dir = crate::core::path_utils::scripts_dir().to_string_lossy().to_string();
|
||||
let scripts_dir = crate::core::path_utils::scripts_dir()
|
||||
.to_string_lossy()
|
||||
.to_string();
|
||||
let python_path = std::env::var("MOMENTRY_PYTHON_PATH")
|
||||
.unwrap_or_else(|_| "/opt/homebrew/bin/python3.11".to_string());
|
||||
let schema = crate::core::config::DATABASE_SCHEMA.clone();
|
||||
@@ -385,7 +388,7 @@ pub async fn probe_movie(
|
||||
|
||||
info!("[TMDB] Searching for movie: {}", movie_name);
|
||||
|
||||
let client = reqwest::Client::new();
|
||||
let client = new_http_client();
|
||||
|
||||
// Step 1: Search movie
|
||||
let search_url = format!(
|
||||
|
||||
Reference in New Issue
Block a user