Skip to content

Support Void (void.cloud) apps on Cloudflare #26502

Todo
0 of 6 issues completed
Todo

Description

@cleptric

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.

Sub-issues

Sub-issues

0 of 6 Issues completed
Loading 6 sub-issues

Activity

  1. linear-code commented on Nov 17, 2026

    @linear-code
  2. pranav514 commented on Nov 24, 2026

    @pranav514
    Contributor

    @cleptric @Lms24 would love to work on this issue if the internal team is not working on this issue.

  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Nov 24, 2026
  4. JPeer264 commented on Nov 24, 2026

    @JPeer264
    Member

    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

  5. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Nov 24, 2026
  6. pranav514 commented on Nov 26, 2026

    @pranav514
    Contributor

    @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).

  7. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Nov 26, 2026
  8. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Nov 26, 2026
  9. JPeer264 commented on Nov 26, 2026

    @JPeer264
    Member

    Alright thanks for the update. If you need any help or guidance at some point just reach out.

  10. JPeer264 commented on Nov 27, 2026

    @JPeer264
    Member

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions