report: 020.mp4 re-register repair failed
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
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user