From 097b3721e80f6b05aa3d6ecfbe1efbcf6da1e502 Mon Sep 17 00:00:00 2001 From: Accusys Date: Fri, 2 Oct 2026 18:08:53 +0800 Subject: [PATCH] fix: add face_cluster to auto-pipeline processors The hardcoded processors array in create_monitor_job was missing 'face_cluster', causing jobs to never run face clustering and thus never complete ingestion (face_cluster.json never created). Successful jobs (e.g. 1250) have face_cluster in processors, but newly created jobs (e.g. 1251) were missing it due to this hardcoded array being incomplete. --- src/core/db/postgres_db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/db/postgres_db.rs b/src/core/db/postgres_db.rs index bb027fc5..874f3343 100644 --- a/src/core/db/postgres_db.rs +++ b/src/core/db/postgres_db.rs @@ -2249,7 +2249,7 @@ impl PostgresDb { &format!( r#" INSERT INTO {} (uuid, video_path, status, video_id, processors, face_settings) - VALUES ($1, $2, 'pending', $3, ARRAY['cut','asr','face','ocr','asrx'], $4::jsonb) + VALUES ($1, $2, 'pending', $3, ARRAY['cut','asr','face','face_cluster','ocr','asrx'], $4::jsonb) RETURNING id, uuid, video_path, status, current_processor, progress_total, progress_current, error_count, last_error, started_at::TEXT, updated_at::TEXT, created_at::TEXT, processors, completed_processors, failed_processors, video_id, face_settings::text "#, jobs_table