Support Void (void.cloud) apps on Cloudflare

未關閉
#26,502 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript, vite

研究方向

Start by reading the Cloudflare SDK setup paths named in the issue: the Vite plugin, automatic Durable Object instrumentation, manual withSentry and instrumentDurableObjectWithSentry, and @sentry/hono. Trace how Void generates its Worker entry and Durable Object classes, then determine which integration point can support those constraints. Done means a documented, working Sentry setup for Void apps that covers the reported Worker and Durable Object limitations.

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

描述

Cloudflare Workers Feature Waiting for: Product Owner

Void generates the Worker entry and Durable Object classes at build time, so none of the @sentry/cloudflare setups work:

  • Vite plugin: turns itself off, because Void doesn't allow a root wrangler.jsonc. If you point the plugin at Void's generated .void-wrangler.jsonc, it wraps nothing and gives no warning, because that file has no main.
  • Durable Objects: Void exports them as export const X = ….class, a form the auto-instrument transform doesn't wrap.
  • Manual withSentry / instrumentDurableObjectWithSentry: there's nothing to wrap. The entry is regenerated on every build, and defineDurableState() creates the classes internally.
  • @sentry/hono: needs the Hono app instance, which Void middleware never receives.
主要語言
TypeScript
星號
8.8k
分支
1.9k
平均合併
1 天 8 小時
30 天內合併 PR
744

環境準備

從這裡開始

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

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

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

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