Skip to content

fix(cloudflare): Bind Durable Object built-in handlers - #22340

Merged
isaacs merged 2 commits into
developfrom
isaacs/fix-22328
Jul 17, 2026
Merged

fix(cloudflare): Bind Durable Object built-in handlers#22340
isaacs merged 2 commits into
developfrom
isaacs/fix-22328

Conversation

@isaacs

@isaacsisaacs commented Jul 16, 2026

Copy link
Copy Markdown
Member

Bind handlers per instance so a second instance in the same isolate no longer reuses the first instance's captured context and options

fix: #22328
fix: JS-3067

fix: #21153
fix: JS-2607

@isaacs
isaacs requested a review from a team as a code ownerJuly 16, 2026 23:52
@isaacs
isaacs requested review from JPeer264, andreiborza and mydea and removed request for a teamJuly 16, 2026 23:52
@linear-code

linear-codeBot commented Jul 16, 2026

Copy link
Copy Markdown

JS-3067

JS-2607

@github-actions

github-actionsBot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.74 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.55 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.35 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.81 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.52 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.54 kB--
@sentry/browser (incl. FeedbackAsync)37.68 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.06 kB--
@sentry/browser (incl. Metrics & Logs)29.75 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.81 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.51 kB--
@sentry/svelte27.77 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.52 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.82 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.97 kB--
CDN Bundle (incl. Tracing, Replay)86.03 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.83 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.09 kB--
CDN Bundle - uncompressed89.87 kB--
CDN Bundle (incl. Tracing) - uncompressed146.68 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.58 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.66 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.89 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.86 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.6 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.55 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.98 kB--
@sentry/core/server78.69 kB--
@sentry/core/browser65.06 kB--
@sentry/node-core63.21 kB+0.01%+1 B 🔺
@sentry/node125.52 kB--
@sentry/node (incl. diagnostics channel injection)148.06 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB+0.01%+1 B 🔺
@sentry/node - without tracing74.71 kB+0.01%+1 B 🔺
@sentry/aws-serverless83.92 kB+0.01%+1 B 🔺
@sentry/cloudflare (withSentry) - minified183.97 kB+0.03%+40 B 🔺
@sentry/cloudflare (withSentry)455.36 kB+0.02%+50 B 🔺

View base workflow run

@JPeer264JPeer264 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks promising. thx for fixing

Base automatically changed from isaacs/fix-22328-a to developJuly 17, 2026 13:55
isaacs added 2 commits July 17, 2026 06:57
Avoid a flush-lock deadlock that prevents WebSocket hibernation.
fix: #22328
fix: JS-3067
Bind handlers per instance so a second instance in the same isolate no
longer reuses the first instance's captured context and options
fix: #22328
fix: JS-3067
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants

@isaacs@JPeer264@andreiborza