You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Void (void.cloud) apps on Cloudflare #26502
Void generates the Worker entry and Durable Object classes at build time, so none of the @sentry/cloudflare setups work:
Vite plugin: turns itself off, because Void doesn't allow a root wrangler.jsonc. If you point the plugin at Void's generated .void-wrangler.jsonc, it wraps nothing and gives no warning, because that file has no main.
Durable Objects: Void exports them as export const X = ….class, a form the auto-instrument transform doesn't wrap.
Manual withSentry / instrumentDurableObjectWithSentry: there's nothing to wrap. The entry is regenerated on every build, and defineDurableState() creates the classes internally.
@sentry/hono: needs the Hono app instance, which Void middleware never receives.
I wonder how much of work is really needed to make this work. The hono SDK will be deprecated as we revived the honoIntegration and made it easier to use (docs will be updated soon).
I guess if we auto detect a .void-wrangler.jsonc everything should work OOTB, but for that I have to dig a little deeper into it. @pranav514 if you are up to a challenge you can go ahead on this - we are currently not working on this actively yet
@JPeer264 I'm up for it! Thanks for the pointer on honoIntegration as well.
To answer how much work looks needed: auto-detecting .void-wrangler.jsonc alone probably won't be enough OOTB, as mentioned in the issue, pointing wranglerConfigPath to it currently skips wrapping silently because autoInstrument.ts returns early when main is missing, and transform.ts doesn't wrap export const X = ... Durable Object exports yet.
Still, it looks reasonably contained within @sentry/cloudflare/vite. I'll spend the next couple of days setting up a minimal Void app to inspect how it generates the Worker entry and defineDurableState exports during Vite builds, and report back on the exact scope (aiming to have a draft PR ready in about a week, depending on how Void injects its virtual/generated entry).
@pranav514 I have some unfortunate news. Our priority on this issue has changed and we also need to discuss some things regarding this internally. So @andreiborza will take care of this from now on.
Activity
linear-code commentedon Nov 17, 2026
JS-4111
pranav514 commentedon Nov 24, 2026
@cleptric @Lms24 would love to work on this issue if the internal team is not working on this issue.
JPeer264 commentedon Nov 24, 2026
I wonder how much of work is really needed to make this work. The hono SDK will be deprecated as we revived the honoIntegration and made it easier to use (docs will be updated soon).
I guess if we auto detect a
.void-wrangler.jsonceverything should work OOTB, but for that I have to dig a little deeper into it. @pranav514 if you are up to a challenge you can go ahead on this - we are currently not working on this actively yetpranav514 commentedon Nov 26, 2026
@JPeer264 I'm up for it! Thanks for the pointer on
honoIntegrationas well.To answer how much work looks needed: auto-detecting
.void-wrangler.jsoncalone probably won't be enough OOTB, as mentioned in the issue, pointingwranglerConfigPathto it currently skips wrapping silently becauseautoInstrument.tsreturns early whenmainis missing, andtransform.tsdoesn't wrapexport const X = ...Durable Object exports yet.Still, it looks reasonably contained within
@sentry/cloudflare/vite. I'll spend the next couple of days setting up a minimal Void app to inspect how it generates the Worker entry anddefineDurableStateexports during Vite builds, and report back on the exact scope (aiming to have a draft PR ready in about a week, depending on how Void injects its virtual/generated entry).JPeer264 commentedon Nov 26, 2026
Alright thanks for the update. If you need any help or guidance at some point just reach out.
JPeer264 commentedon Nov 27, 2026
@pranav514 I have some unfortunate news. Our priority on this issue has changed and we also need to discuss some things regarding this internally. So @andreiborza will take care of this from now on.
I’m sorry for this change.
export constDurable Object exports in the Cloudflare auto-instrument transform #26946defineDurableState) #26947