Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Elysia on Node uses Bun's fetch transport

未關閉
#24,048 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
70/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
bun, nodejs, typescript

研究方向

從 elysia/src/sdk.ts:51 開始,追蹤 getRuntime() 如何選擇 runtime。比較 Node 與 Bun 的 transport 選擇,接著檢查現有 Node transport 對 proxy、CA 憑證與 keep-alive 支援的行為。完成標準是 Elysia 在 Node 上使用適當的 transport,同時不讓 Bun 發生回歸,並依要求記錄相依性與設計方面的影響。

由索引模型根據 Issue 內容生成。

描述

Bug Bun javascript

elysia/src/sdk.ts:51 sets options.transport = makeFetchTransport from @sentry/bun. On Node that replaces makeNodeTransport, losing proxy support (http_proxy/HTTPS_PROXY), custom CA / NODE_EXTRA_CA_CERTS handling, and keep-alive agent tuning. Anyone running Elysia on Node behind a corporate proxy loses all events.

Work item. Pick the transport by runtime, the way getRuntime() already does. This and E2 both stem from @sentry/elysia depending only on @sentry/bun while advertising Node support; E1 is unrelated to that and would happen just as readily if Elysia wrapped @sentry/node. Worth a short design note on whether the dependency should be conditional.

主要語言
TypeScript
星號
8.7k
分支
1.9k
平均合併
1 天 16 小時
30 天內合併 PR
576

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。