revert: disable Pose processor (was cancelled decision)

Pose was previously decided to be removed (ProcessorType::all()
already excludes it: 'Disabled in production pipeline'). However,
create_monitor_job's default processors array still contained 'pose',
job_worker's auto-pipeline status init still listed pose/appearance,
and processor_tools_v3.json had pose implementations enabled.

This reverts the pose portions of 8c6a2de8 (pose.rs placeholder
expansion and config --output args change) and fully disables Pose:

- config/processor_tools_v3.json: pose swift/mediapipe enabled=false,
  restore original --output args for swift
- src/core/db/postgres_db.rs: create_monitor_job default processors
  no longer includes 'pose'
- src/worker/job_worker.rs: auto-pipeline status init no longer lists
  pose/appearance
- src/core/processor/pose.rs: revert placeholder expansion (unchanged
  from pre-8c6a2de8)

Face config-driven fix (positional args + placeholder expansion) is kept.
This commit is contained in:
Accusys
2026-10-02 15:04:48 +08:00
parent 8c6a2de820
commit 162ece34f7
4 changed files with 7 additions and 13 deletions
+1 -1
View File
@@ -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','pose'], $4::jsonb)
VALUES ($1, $2, 'pending', $3, ARRAY['cut','asr','face','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
+1 -8
View File
@@ -526,14 +526,7 @@ async fn run_pose_with_config(
let args = if !tool.args.is_empty() {
tracing::info!("[POSE] Using args from config: {:?}", tool.args);
tool.args
.iter()
.map(|a| {
a.replace("{video_path}", video_path)
.replace("{output_path}", output_path)
.replace("{file_uuid}", uuid.unwrap_or(""))
})
.collect()
tool.args.clone()
} else {
let mut args = vec![video_path.to_string(), output_path.to_string()];
if let Some(u) = uuid {