Promote to main: fix media post failure (presigned-url shape) #13

Merged
calcazar merged 2 commits from develop into main 2026-10-21 15:37:50 -06:00
2 Commits
Author SHA1 Message Date
calcazar aeb659f3de Merge pull request 'Feed browser: fix media post failure (presigned-url shape)' (#12) from feature/feed-browser-fix-media-presign-shape into develop 2026-10-21 15:35:49 -06:00
calcazar eab717b7b2 Fix media post failure by reading the real presigned-url response shape
Image and video posts failed at the presigned-url step: the reader looked
for the upload slot under data keys files/urls/attachments/presignedUrls but
Minnect returns it under `uploads` ({ data: { uploads: [{ attachmentId,
presignedUrl, s3Key, index }] } }), so no slot was found and every media
post returned post_failed.

Read the `uploads` key (under data or at the root), add per-step pipeline
logging that names the failing step with its status and message (never a
token, URL or bytes), and add a regression test for the real response shape.
2026-10-21 15:35:09 -06:00