mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
10a65819ce
Drives the 3-leg direct-upload handshake request-side: POST /api/v1/image-upload (server mints key + presigned B2 PUT url; preview has real S3_IMAGE_B2_* creds) -> PUT the bytes to Backblaze B2 via the presigned url (the load-bearing integration a service test can't cover) -> post.createWithImages(publish:true) attaches the row by the B2 key and publishes -> read back via post.getEdit (publishedAt + images.length). Asserts the upload+attach+publish DB path; NOT public-feed visibility (ingestion stays Pending in preview, by design). Tiny 1x1 PNG fixture. Role: tester. Report-only.