Add realistic e2e test app for Vercel AI
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 55/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
- 領域
- ai, testing-qa
研究方向
Inspect the gen-ai-libraries, cloudflare-vercelai-v7, and *-send-to-sentry e2e apps first. Replace the mock path with real provider requests, configure E2E_TEST_DSN without a tunnel, and follow the existing Sentry API checks for gen_ai spans. Done means the app validates spans in a real Sentry project and includes a latest-library variant.
由索引模型根據 Issue 內容生成。
描述
Add an e2e test app that uses the Vercel AI integration the way a real user does, and that sends the data to a real Sentry project.
Current state: gen-ai-libraries sends real requests through OpenRouter (Node and Cloudflare). But the SDK sends the spans to the local event proxy (tunnel: localhost:3031), so nothing gets to Sentry. cloudflare-vercelai-v7 uses MockLanguageModel and makes no real requests.
Requirements:
- Send real requests to the model provider (OpenRouter is OK). Replace the mock model in
cloudflare-vercelai-v7. - Use a real
E2E_TEST_DSNwith no tunnel, so the data goes to Sentry. - Read the
gen_aispans back through the Sentry API and check them, the same way the*-send-to-sentryapps do. - Add a variant that runs against the
latestversion of the library.
- 主要語言
- TypeScript
- 星號
- 8.7k
- 分支
- 1.9k
- 平均合併
- 1 天 15 小時
- 30 天內合併 PR
- 495
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getsentry/sentry-javascript 的其他 Issue
-
Next.js: basePath is concatenated onto absolute router.push hrefs, corrupting navigation transaction names可能已有人在做 @Lms24 於 4 天前認領。 未關閉Browser Bug Next.js Traces
難度 2/5 1-3 小時 新手友好度 75/100
getsentry/sentry-javascript#24672 · 2 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
javascript
難度 2/5 1-3 小時 新手友好度 75/100
getsentry/sentry-javascript#24200 · 2 則留言 ·
維護者通常 1 天內回覆
-
javascript Task
難度 2/5 1-3 小時 新手友好度 82/100
getsentry/sentry-javascript#24134 · 1 則留言 ·
維護者通常 1 天內回覆
-
Cloudflare Workers javascript Tests
難度 2/5 1-3 小時 新手友好度 78/100
getsentry/sentry-javascript#24051 · 1 則留言 ·
維護者通常 1 天內回覆
-
Bug Bun javascript
難度 2/5 1-3 小時 新手友好度 92/100
getsentry/sentry-javascript#24045 · 1 則留言 ·
維護者通常 1 天內回覆
查看 getsentry/sentry-javascript 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
microsoft/vscode-livepreview#876 ·
維護者通常 1 天內回覆
-
needs-triage
難度 1/5 1 小時以內 新手友好度 90/100
JustJarethB/invoicer#54 ·
-
ICP 1.2.0 shows a scheduled task's interval in milliseconds under the label "Interval (In seconds)"未關閉Needs Triage Type/Bug
難度 2/5 1-3 小時 新手友好度 68/100
wso2/product-integrator#2585 ·
維護者通常 1 天內回覆
-
check:passed streams:add
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
design
難度 2/5 1-3 小時 新手友好度 72/100
MTES-MCT/monitor-field#119 ·
維護者通常 1 天內回覆