kodadot / nft-gallery

Generative Art Marketplace
https://kodadot.xyz
MIT License
611 stars 351 forks source link

code checker: failed capture service state #10524

Open hassnian opened 1 week ago

hassnian commented 1 week ago

What happened?

if the capture service fails it shows as empty

@exezbcz can you make failed state design

thanks :D

CleanShot 2024-06-21 at 13 37 48@2x

preschian commented 1 week ago

Oh, anyway, since we had this issue previously (postmortem section), we changed how capture works. right now we are capturing images from https://iframe-to-blob.pages.dev/iframe?url=art_url. We can't depend on capture service on a serverless environment yet (vercel, cf-worker)

e.g: https://iframe-to-blob.pages.dev/iframe?url=https://pub-adc77a8fecb9405b9573442870905a67.r2.dev/codeChecker/48f4fa1f-22b1-4152-8cc0-2e1ff24c44d1.html?hash=0x9b2e00389a9bbac95965d89a70a91038881ccc8933ac903d28893c863d3588b1