0
Fork 0
mirror of https://github.com/zeronsh/comet.git synced 2026-11-16 18:57:19 +00:00
comet/edge/scripts/smoke.mjs
wing-anara 6994ba4fd6 uploads: remove the write-only R2 attachment mirror
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>
2026-08-14 17:19:08 +00:00

350 lines
15 KiB