Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Deno's export surface is narrower than Cloudflare's

Đang mở Phù hợp với người mới
#23,896 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
84/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
deno, typescript
Lĩnh vực
backend

Hướng nghiên cứu

So sánh packages/deno/src/index.ts với packages/cloudflare/src/index.ts và kiểm tra deno/src/sdk.ts trước. Được xem là hoàn tất khi các re-export @sentry/core và @sentry/server-utils được yêu cầu đã có và initWithoutDefaultIntegrations được expose từ Deno SDK; spotlightIntegration và httpServerIntegration vẫn chưa được quyết định.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.9k
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
562

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/sentry-javascript

Tất cả issue của getsentry/sentry-javascript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.