billflare.

Sentry v11 kept Durable Objects awake for 500 ms after every event

Philip Atkinson (@UnrationalPhil) found that upgrading @sentry/cloudflare to v11 raised his Durable Object alarms from about 25 ms to about 505 ms of wall time, because span streaming sets a 500 ms flush timer; the workaround is traceLifecycle: 'static'.

Products
Durable ObjectsWorkers
Source
Author experience𝕏
Author
Philip Atkinson (@UnrationalPhil)

Key points

  • After the upgrade, alarm wall time went from a ~25 ms median to ~505 ms while CPU time was unchanged, no trace data was sent and none of their own code left a timer running.
  • He explains that v11 enables span streaming by default, which sets a 500 ms flush timer whenever a root span ends, sampled or not (including tracesSampleRate: 0). Workers cannot unref it, so every DO fetch, alarm and WebSocket message stays open, and billed, until it fires; hibernatable WebSocket objects cannot hibernate after a message.
  • Workaround: traceLifecycle: 'static'. He links Sentry issue #25489 and fix PR #25490 in getsentry/sentry-javascript, and credits Cloudflare's observability improvements for making the problem easy to spot.
  • Official Durable Objects pricing (rechecked 2026-10-20): duration is billed in wall-clock time while an object is active or idle in memory but unable to hibernate, for the 128 MB allocated; objects idle and eligible for hibernation are not billed for duration.

Original sources

  1. Published

    Original post

    Read on 𝕏

    Philip Atkinson (@UnrationalPhil) found that upgrading @sentry/cloudflare to v11 raised his Durable Object alarms from about 25 ms to about 505 ms of wall time, because span streaming sets a 500 ms flush timer; the workaround is traceLifecycle: 'static'.

    Philip Atkinson

    @UnrationalPhil · Original 𝕏 post

    FYI for people running Sentry v11 on a Cloudflare Durable Object: after upgrading @sentry/cloudflare, our alarms went from a ~25ms median to ~505ms of wall time. CPU time was unchanged, no trace data being sent, and none of our own code left a timer running. v11 turns span streaming on by default, which sets a 500ms flush timer every time a root span ends, sampled or not (tracesSampleRate: 0 included). Workers can't unref it, so every DO fetch, alarm and WebSocket message stays open, and billed, until it fires. It's not just our bill. Every DO on Sentry v11 with tracing on stays in memory up to 500ms after each event, and hibernatable WebSocket objects can't hibernate after a message. At Cloudflare's scale, that's a lot of objects awake for nothing. Workaround: traceLifecycle: 'static' Issue: https://t.co/fPPvBixtXw Fix PR: https://t.co/tMeywxbEpa Credit to @nevikashah and the team who made the improvements to observability on the Cloudflare Developer Platform - it made it much easier to spot the issue and resolve it. https://t.co/pC4X8v6Mzx
Author experienceD1 +4

qianshuixia2026: D1 free row-read cap burned twice in one day, plus R2 and Workers pitfalls after the first paid orders

浅水虾 (@qianshuixia2026) published a 16 November 2026 X article after the first $12 and $29 orders. On 14 November a 10-minute cron full-table scan burned the D1 Free 5 million daily row-read cap in 2 hours 14 minutes; the same evening the author ran wrangler d1 execute --remote statistics that scanned about 4.08 million rows in 5 minutes and hit the cap again, then paid $5 to upgrade to Workers Paid. The article also covers an R2 multipart complete() customMetadata mismatch that failed a >24 MB export five times (50 credits sent as apology), 128 MB / 10 ms / 50-subrequest walls that a paid plan does not lift, and Queues’ 10,000 daily operations with three operations per delivered message.

D1

Kun Save Point (@Savepoint_kk): a D1 bug rewrote unchanged data into a $2,739.12 bill; $2,141 goodwill credit granted.

Kun Save Point (@Savepoint_kk), an indie developer who says he recently lost his job, says a bug repeatedly rewrote unchanged data while inefficient queries amplified reads, producing a $2,739.12 Cloudflare bill already paid via PayPal (D1 rows written $2,641.00, rows read $64.06, other services $34.06); he says his bills were usually under $10 a month. Cloudflare granted a $2,141 goodwill account credit under case #02391058. He asks for it to be converted into a refund to the original PayPal payment, or at least for relief on the $2,641 write charges, and later writes that the initial request was declined and has been reopened for additional review. On October 25 he adds that he missed the only alert email Cloudflare sent, whose amount was not particularly high, and received no further warning before the large card charge; on October 26 he writes that the refund request to the original payment method is still under further review. On November 10 he posts a timeline saying that after following up on November 10–11, support again stated the $2,141 could only remain as account credit and the remaining $598.12 was still undecided while the ticket was being closed.

Official docsWorkers Logs +3

Observability pricing (from December 1, 2026)

Cloudflare’s unified pricing for logs and traces: Workers Logs, Workers Traces, Containers logs, R2 data access logs and AI Gateway logs move to per-GB ingestion and GB-month storage on December 1, 2026.