feat: fix TKG external_id mismatch, add trace delete/merge endpoints, fix no-faces progress update
- identity_binding.rs: match both face_track_N and trace_N external_id formats in bind/unbind/create_pending_person - profile.rs: fix external_id matching and parameter ordering in trace profile updates - trace_agent_api.rs: add DELETE /trace/:id (soft/hard delete) and POST /trace/:src/merge/:target endpoints - qdrant_db.rs: add delete_points_by_filter method - tkg.rs: add debug logging for scroll and parse operations - job_worker.rs: update progress for no-faces TKG path
This commit is contained in:
@@ -2307,6 +2307,23 @@ impl JobWorker {
|
||||
"✅ TKG build completed (no faces) for {}: {} nodes, {} edges",
|
||||
uuid_clone, total_nodes, total_edges
|
||||
);
|
||||
|
||||
// Update progress for no-faces case
|
||||
let mut pp = PipelineProgress::new(&uuid_clone);
|
||||
pp.update_stage(
|
||||
"tkg_nodes",
|
||||
1.0,
|
||||
"completed",
|
||||
Some(format!("{} nodes", total_nodes)),
|
||||
);
|
||||
pp.update_stage(
|
||||
"tkg_edges",
|
||||
1.0,
|
||||
"completed",
|
||||
Some(format!("{} edges", total_edges)),
|
||||
);
|
||||
publish_pipeline_progress(redis_clone.as_ref(), &uuid_clone, &pp)
|
||||
.await;
|
||||
}
|
||||
Err(e) => error!("❌ TKG build failed for {}: {}", uuid_clone, e),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user