Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Deno's export surface is narrower than Cloudflare's

Aberta Para iniciantes
#23,896 1 comentário 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
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
84/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
deno, typescript
Domínio
backend

Direção de pesquisa

Compare packages/deno/src/index.ts com packages/cloudflare/src/index.ts e inspecione deno/src/sdk.ts primeiro. Considera-se concluído quando as reexportações solicitadas de @sentry/core e @sentry/server-utils estiverem presentes e initWithoutDefaultIntegrations estiver exposto pelo SDK do Deno; spotlightIntegration e httpServerIntegration continuam sem decisão.

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

Descrição

Deno javascript

Cloudflare runs on workerd with no Node APIs, and still exports more than Deno. Missing from packages/deno/src/index.ts but present in packages/cloudflare/src/index.ts:

Missing from Deno Comes from
instrumentOpenAiClient, instrumentAnthropicAiClient, instrumentGoogleGenAIClient, instrumentLangChainEmbeddings, instrumentStateGraph, createLangChainCallbackHandler, instrumentCreateReactAgent @sentry/server-utils (already a dependency)
prismaIntegration @sentry/server-utils
trpcMiddleware, addIntegration, withActiveSpan, getSpanDescendants, setConversationId, parameterize, consoleIntegration, createConsolaReporter, growthbookIntegration, updateSpanName @sentry/core
spotlightIntegration, httpServerIntegration needs a decision, may not apply
initWithoutDefaultIntegrations, getDefaultIntegrationsWithoutPerformance Node and Bun both have these

The manual AI-client helpers matter most. They are the documented fallback for when channel injection is unavailable, which per D2 is Deno's default state.

Work item. Add the @sentry/core and @sentry/server-utils re-exports. They are pure re-exports with no new code. Add initWithoutDefaultIntegrations to deno/src/sdk.ts.

**Prior art **(related history only). No issue. Related history: #22306 (closed) covered pulling the integrations themselves into Deno, and the feat(deno): add * integration series (#22448 through #22472, all merged) added them one by one. The manual instrument*Client helpers were never part of that sweep.

Linguagem predominante
TypeScript
Estrelas
8.8k
Forks
1.9k
Merge médio
1d 10h
PRs com merge (30d)
548

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.