asxpio/test
Sergei Poljanski 61bb1393fe
All checks were successful
Build and Deploy to Production / test (push) Successful in 22s
Build and Deploy to Production / build (push) Successful in 1m3s
Build and Deploy to Production / deploy (push) Successful in 39s
bingo: fix photo rebuild on UTF-8 tagged S3 bodies
aws-sdk returns object bodies from a plain StringIO, so S3.get handed
back a UTF-8 tagged string and Photo.sniff's binary prefix comparison
raised Encoding::CompatibilityError: "Rebuild resized photos" died on
the first photo with a 500. URL imports had the same flaw via a UTF-8
read buffer. Treat image data as binary at the source and in sniff, and
let one failing photo no longer abort the batch (errors are reported in
the admin flash and logged).

Assisted-by: Claude:opus-5
2026-10-10 06:32:06 +04:00
..
admin_auth_test.rb tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
app_test.rb remove contact form 2026-08-04 01:25:50 +04:00
bingo_test.rb bingo: fix photo rebuild on UTF-8 tagged S3 bodies 2026-10-10 06:32:06 +04:00
crypto_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
fmt_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
invoice_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
rate_limit_test.rb tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
test_helper.rb bingo: serve datacenter bingo on bingo.asxp.io 2026-10-10 04:51:26 +04:00