frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Durable Object alarm loop: $34k in 8 days, zero users, no platform warning

8•thewillmoss•1h ago
Sharing this as a warning to anyone using Cloudflare Durable Objects with alarms.

Root cause:

My DO agent's onStart() handler called this.ctx.storage.setAlarm() on every wake-up without checking whether an alarm was already scheduled. Combined with 60+ preview Worker deployments each creating independent DO instances, this created a runaway self-health-check loop.

Timeline: - April 3: loop began (zero DO usage before this date)

- April 4-5: peaked at ~930 billion row reads/day

- April 11: found it, fixed it

- April 15: $34,895 invoice due with no billing response yet

The fix:

// Before (dangerous) async onStart() { await this.ctx.storage.setAlarm(Date.now() + 60_000) }

// After (safe) async onStart() { const existing = await this.ctx.storage.getAlarm() if (!existing) { await this.ctx.storage.setAlarm(Date.now() + 60_000) } }

Other things worth doing: - Strip DO bindings from preview environments entirely - Deploy a budget monitor kill switch Worker - Add a circuit breaker that checks alarm state before scheduling

Why I had no warning:

Cloudflare's Workers Usage Notifications only monitors CPU time. Not Durable Object row reads or writes. There is also no hard spending cap for DO operations available in the dashboard or Wrangler config. Nothing would have fired an alert during this runaway. I found out when the bill showed up.

This is worth knowing if you're using DO alarms. The platform will not tell you when DO row reads/writes go exponential. You have to build your own kill switch.

One more thing that I think deserves more attention than it's getting: this is Agents Week. Cloudflare is running a dedicated marketing push right now to get individual developers building AI agents on Durable Objects. Blog posts, announcements, the whole thing. That is a deliberate effort to onboard solo developers and indie founders into a product that can silently generate a five-figure bill with zero platform warning. There is no spending cap for DO operations. The usage notification system doesn't cover DO reads or writes. Cloudflare knows this. Running Agents Week while that gap exists is not a neutral decision.

I've filed Case 02067725. I'm a pre-launch sole proprietor who put all my personal savings into this startup. This bill would financially destroy me for usage that generated zero business value. Sharing here both as a technical warning and because I need help getting this in front of someone at Cloudflare who can make a decision.

Has anyone escalated a billing dispute with Cloudflare successfully?

300-unit-per-second roll-to-roll manufacturing of visible metalenses

https://www.nature.com/articles/s41586-026-10369-y
1•yeonsh•1m ago•1 comments

Fibroblasts of disparate developmental origins harbor scarring potential

https://www.cell.com/cell/abstract/S0092-8674(25)01427-8
1•gnabgib•8m ago•0 comments

Keycard – inject API keys into subprocesses, never touch shell env

https://www.keycard.studio/
1•jijane•21m ago•0 comments

Why facial scars are smaller than back scars

https://www.nature.com/articles/d41586-026-01044-3
1•bookofjoe•21m ago•1 comments

Show HN: Object Storage Comparisons

https://storage.mixpeek.com
1•Beefin•22m ago•0 comments

Pi Hard

https://www.youtube.com/watch?v=CNbmoVdirxw
1•Fr0styMatt88•25m ago•0 comments

The AI Debacle

https://justintallant.com/the-ai-debacle
1•jtallant•33m ago•0 comments

Free open source AI Editor

https://github.com/MeepCastana/KubeezCut
1•Meeeeeep•33m ago•0 comments

A Better Ludum Dare; Or, How to Ruin a Legacy

https://ldjam.com/events/ludum-dare/59/$425291/$425292
2•raincole•33m ago•0 comments

Leaking AWS Keys from a Trading Competition Sandbox via stdout

https://github.com/JakOb-dotcom/cloud-sandbox-security-analysis/
1•JakOb-dotcom•34m ago•0 comments

Show HN: Flint – A 30B model fine-tuned for less repetition

https://springboards.ai/models/flint-alpha
2•thmsmxwll•35m ago•0 comments

China's Parallel Web Behind the Wall

https://vale.rocks/posts/chinas-web
2•cainxinth•37m ago•0 comments

Someone Had a Good Idea

https://hecanjog.com/blog/2026/4/15/
1•hecanjog•38m ago•0 comments

Pico.css v2.2.0-beta released [community fork]

https://github.com/anyblades/pico
1•anydigital•39m ago•1 comments

Query LLMs like a graph database [video]

https://www.youtube.com/watch?v=8Ppw8254nLI
1•glimps•47m ago•1 comments

Show HN: Gave Claude a casino bankroll – it gambles till it's too broke to think

https://letaigamble.com/
3•mackbrowne•48m ago•1 comments

EU AI Act: curated tools, official sources, templates, and OSS

https://github.com/GenAI-Gurus/awesome-eu-ai-act
1•carloshvp•53m ago•0 comments

Miami-Dade is losing residents

https://www.miamiherald.com/opinion/editorials/article315344371.html?taid=69dd96484cd2160001d62a5...
1•paulpauper•53m ago•0 comments

Another Erdos Problem Solved

https://www.erdosproblems.com/forum/thread/1196
1•paulpauper•54m ago•0 comments

ChatGPT's latest stylistic quirk is sinister, infuriating – and everywhere

https://www.theguardian.com/commentisfree/2026/apr/15/chatgpt-stylistic-quirk-its-not-x-its-y
4•Anthony-G•54m ago•0 comments

Google geofence data used to identify murder suspect unconstitutional

https://www.startribune.com/minnesota-supreme-court-rules-google-geofence-data-used-to-identify-m...
1•bradleyankrom•55m ago•0 comments

South Korea plans to use the Iran crisis to spur a renewables revolution

https://www.theguardian.com/world/2026/apr/16/south-korea-solar-power-renewables-revolution
7•billybuckwheat•59m ago•0 comments

NASA needs nuclear power for its moon base. Heres the White House plan to get it

https://www.yahoo.com/news/articles/nasa-needs-nuclear-power-moon-153000627.html
2•labelbabyjunior•1h ago•0 comments

Project Theseus: Removing BuildKit

https://dagger.io/changelog/
1•gpi•1h ago•0 comments

Show HN: A simpler coding agent harness

1•pyrolistical•1h ago•0 comments

Python Is Dead

https://calebfenton.substack.com/p/python-is-dead
4•nlehuen•1h ago•1 comments

Amazon AI Cancelling Webcomics

http://www.kleefeldoncomics.com/2026/04/amazon-ai-cancelling-webcomics.html
2•vmbrasseur•1h ago•0 comments

TX Tesla driver narrowly avoids disaster when autopilot engages at RR crossing

https://www.fox4news.com/news/texas-tesla-autopilot-drives-through-railroad-crossing
8•1vuio0pswjnm7•1h ago•0 comments

The Great AI Layoff Boomerang. 55% of companies regret their AI-drven layoffs

https://medium.com/@curiouser.ai/the-great-ai-layoff-boomerang-68e38c88fa7d
3•aussieguy1234•1h ago•3 comments

The Infinity Man

https://thechipletter.substack.com/p/the-infinity-man
1•gmays•1h ago•0 comments