getsentry / getsentry/sentry-javascript

Deno's export surface is narrower than Cloudflare's

オープン 初心者向け
#23,896 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Deno javascript
主要言語
TypeScript
スター
8.7k
フォーク
1.8k
平均マージ
1日 17時間
マージ済み PR(30日)
515

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Compare packages/deno/src/index.ts with packages/cloudflare/src/index.ts and inspect deno/src/sdk.ts first. Done means the requested @sentry/core and @sentry/server-utils re-exports are present and initWithoutDefaultIntegrations is exposed from the Deno SDK; spotlightIntegration and httpServerIntegration remain undecided.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
deno, typescript
領域
backend
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
84/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。