Support Void (void.cloud) apps on Cloudflare

Aberta
#26,502 4 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript, vite

Direção de pesquisa

Start by reading the Cloudflare SDK setup paths named in the issue: the Vite plugin, automatic Durable Object instrumentation, manual withSentry and instrumentDurableObjectWithSentry, and @sentry/hono. Trace how Void generates its Worker entry and Durable Object classes, then determine which integration point can support those constraints. Done means a documented, working Sentry setup for Void apps that covers the reported Worker and Durable Object limitations.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Cloudflare Workers Feature Waiting for: Product Owner

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.
Linguagem predominante
TypeScript
Estrelas
8.8k
Forks
1.9k
Merge médio
1d 8h
PRs com merge (30d)
744

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getsentry/sentry-javascript

Todas as issues de getsentry/sentry-javascript

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.