From add9a163c1389799b3f6cca997c5c12edc48c29d Mon Sep 17 00:00:00 2001 From: Accusys Date: Sun, 27 Sep 2026 06:25:37 +0800 Subject: [PATCH] report: 020.mp4 re-register repair failed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Actions: - ✅ DELETE file record - ✅ Re-register (command_id: b3fc346c3d3e473595f4fc0f13fe654c) - ⚠️ Still stuck at 35% Why failed: - Register API detected same path, returned same UUID - Old data still present (face.json 212 faces, workspace 0 records) - Worker skips face_trace due to stale flag, no integrity check Root cause: - Worker logic doesn't verify data integrity - Only checks flags, not actual files/data Solution: - Fix Worker to add data integrity checks - Or manually import face.json to workspace --- .../2026-09-27_020mp4_repair_failed.md | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 docs_v1.0/M4_workspace/2026-09-27_020mp4_repair_failed.md diff --git a/docs_v1.0/M4_workspace/2026-09-27_020mp4_repair_failed.md b/docs_v1.0/M4_workspace/2026-09-27_020mp4_repair_failed.md new file mode 100644 index 00000000..829b9aaf --- /dev/null +++ b/docs_v1.0/M4_workspace/2026-09-27_020mp4_repair_failed.md @@ -0,0 +1,73 @@ +--- +title: 020.mp4 Repair Attempt Failed +version: 1.0 +date: 2026-09-27 +author: OpenCode +status: failed +--- + +## Summary + +Re-register attempt failed to fix 020.mp4 stuck issue. + +--- + +## Actions Taken + +1. ✅ DELETE /api/v1/files/{uuid} +2. ✅ POST /api/v1/files/register + - command_id: b3fc346c3d3e473595f4fc0f13fe654c + - status: queued +3. ⚠️ Pipeline still stuck at 35% + +--- + +## Why It Failed + +### Register API Behavior + +- Detected same file path +- Returned same UUID +- Did not create new record +- Old data still present + +### Worker Logic Problem + +``` +❌ Current: if face_trace_done { skip } +✅ Should: if face_trace_done && data_integrity_ok { skip } +``` + +--- + +## Root Cause + +**Data Inconsistency:** + +- face.json: 212 faces ✅ +- workspace.sqlite face_detections: 0 records ❌ +- traced_faces/: missing ❌ + +Worker thinks face_trace done, skips execution. + +--- + +## Solution + +### Short-term: Manual Fix + +1. Import face.json to workspace.sqlite +2. Run Face Trace manually +3. Clear stale status flags + +### Long-term: Fix Worker + +Add data integrity checks before skipping steps. + +--- + +## Next Steps + +1. Modify Worker code +2. Add integrity verification +3. Test with 020.mp4