• QuadratureSurfer@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 days ago

    It’s a small read. Reposting here for visibility:


    Hit by a Cloudflare bill assassin: a $10k bill. The cause was a Durable Object alarm in an infinite loop in one project, which did 6 trillion reads and writes. Vibe coding failed me.

    Update from the author:

    • Paid the full Cloudflare bill (US$10,811.41) — “the second most expensive lesson of my life”.
    • The support ticket for a reduction only got bot replies in a loop.
    • Cloudflare staff contacted on X and other channels said they could only “take a look”, nothing more.
    • All projects will move off Cloudflare to self-hosted VPS.

    Conclusion: One vibe-coded Durable Object alarm kept rescheduling itself forever. Cloudflare has no hard spending limit, so the loop ran until the invoice came. Not refunded — the author paid in full.


    tldr: An infinite loop in a Durable Object alarm did 6 trillion reads/writes and caused a $10,811.41 Cloudflare bill that was not refunded.

    - Andras Bacsai

  • lauha@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    Important vibe coding lesson. You still have to understand all the code despite AI coding for you.