Deploy, Monitor and Fix
Find Out Before Your Users Do
Silence Isn't Health
A crash makes noise. A job that quietly stopped doesn't. You need both covered:
- Loud failures: turn on Workers Issues. It groups crashes, 5xx responses and logged errors, and an automation can send them to a webhook, a chat or a coding agent. It's in open beta and free for now.
- Quiet failures: have each job save the time it last finished, and have something else complain when that time gets old. The job can't report its own death.
- Queues: alert when the dead letter queue isn't empty.
- The real page: an outside check that loads it and looks for a word that should be there. A page can return 200 and still be blank.
Every alert should need a human. Once you learn to ignore one, you'll ignore the real one.
Watch the Money Too
Set an email alert on your billing. You can also set a Workers spending limit, but know what it does: at the limit it blocks new runs for every Worker on the account, crons and queues included. And it doesn't cover KV, R2 or Durable Objects.
Log costs changed, too. Starting December 1, 2026, paid accounts get 50 GB of logs in and 10 GB-months of storage per billing cycle, then $0.25 per GB in and $0.10 per GB-month. Another reason not to log whole request bodies.
The Whole Loop
- You write the spec: what, what breaks, what done means.
- AI asks questions, checks limits, writes tests, writes code.
- A fresh AI tries to tear it apart.
- You look at the real thing and ship it.
- The alerts tell you when it breaks. AI reproduces and fixes it. Back to 4.
AI does the work. You steer. Build something small this week: one form, one table, one queue. Then break it on purpose.
A nightly job silently stopped running a week ago. What would have caught it?