mirror of
https://github.com/zeronsh/comet.git
synced 2026-11-16 18:57:19 +00:00
Attachments already travel device-to-device (UploadChunk/UploadCommit to the chat's host, ReadAttachmentChunk for read-back); the R2 copy was never read — the sha was discarded after the PUT, so the objects were unaddressable. Drop the durable mirror outbox + drain worker from the engine and the /attachments/:sha256 routes from the edge. The edge keeps a 200 stub for PUT /attachments/* so deployed clients (≤0.1.62) drain their outboxes once instead of retrying a 404 forever. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
350 lines
15 KiB
350 lines
15 KiB