fix(P0): per-library output dir for worker ingestion/verification (face_cluster guard, verifier, TKG, qdrant_face, ASR/ASRX); fix face_cluster serde default for empty output; fix face_cluster dependencies in pipeline_flows.json
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled

This commit is contained in:
Accusys
2026-11-17 02:46:57 +08:00
parent db790e2c89
commit d01e456ae5
5 changed files with 152 additions and 88 deletions
@@ -75,9 +75,18 @@ fn round_json(value: Value) -> Value {
fn write_empty_output(status: &str, file_uuid: &str, output_path: &std::path::Path) {
let output_data = json!({
"schema_version": "2.0",
"status": status,
"file_uuid": file_uuid,
"stats": {
"total_clusters": 0,
"total_faces": 0,
"noise_faces": 0,
"total_traces": 0,
},
"clusters": [],
"unassigned_traces": [],
"speaker_person_mapping": {},
"frames": [],
});
let text = serde_json::to_string_pretty(&output_data).unwrap_or_default();