Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Deno's export surface is narrower than Cloudflare's

未关闭 适合新手
#23,896 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
84/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
deno, typescript
领域
backend

调研方向

比较 packages/deno/src/index.ts 与 packages/cloudflare/src/index.ts,并先检查 deno/src/sdk.ts。完成的标准是:所请求的 @sentry/core 和 @sentry/server-utils 再导出已存在,并且 initWithoutDefaultIntegrations 已从 Deno SDK 暴露;spotlightIntegration 和 httpServerIntegration 仍未决定。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
8.7k
派生
1.9k
平均合并
1 天 18 小时
30 天内合并 PR
562

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。