You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EDP][ERAG] Files uploaded through the SeaweedFS webhook are re-ingested on every sync #99
Use the real S3 ETag from SeaweedFS events when registering files
Fixes the bug reported in the issue: process_seaweedfs_event() stored new_entry.attributes.md5 — a base64 of the raw 16-byte MD5 digest — as the file's ETag. The sync diff compares against the ETag reported by the S3 API (hex MD5 digest), so every file uploaded through the webhook was permanently flagged "update" and re-ingested (delete + re-embed) on every Synchronize.
S3 PUT → create event → file registered with ETag bb12e3559a339bb1fd93367929ef071a, identical to the S3 HEAD value; ingestion completed; GET /api/files/sync → "no action" with no manual Synchronize.
S3 DELETE → delete event → DB row and vector chunks removed.
Rows previously stored with the base64 value were repaired with a one-off UPDATE files SET etag=... and are stable.
changed the title [-]fix(edp): use the real S3 ETag from SeaweedFS events when registering files[/-][+][EDP][ERAG] Files uploaded through the SeaweedFS webhook are re-ingested on every sync[/+]on Oct 29, 2026
Thanks for the detailed report and the fix, @alexatosatos!
Triage: title aligned with our [Category][Repo] convention, labelled bug. The report is complete: it names the function and comes with a fix. The fix is under review in #105; this issue will be closed when it merges.
Activity
[-]fix(edp): use the real S3 ETag from SeaweedFS events when registering files[/-][+][EDP][ERAG] Files uploaded through the SeaweedFS webhook are re-ingested on every sync[/+]sys-aibot commentedon Oct 29, 2026
Thanks for the detailed report and the fix, @alexatosatos!
Triage: title aligned with our
[Category][Repo]convention, labelledbug. The report is complete: it names the function and comes with a fix. The fix is under review in #105; this issue will be closed when it merges.fix(edp): normalize SeaweedFS ETags for sync
fix(edp): normalize SeaweedFS ETags for sync