feat(telemetry): enable OpenAI auto-instrumentation and streaming gen_ai spans#371
Open
constantinius wants to merge 4 commits into
Open
feat(telemetry): enable OpenAI auto-instrumentation and streaming gen_ai spans#371constantinius wants to merge 4 commits into
constantinius wants to merge 4 commits into
@sentry/warden / warden
completed
Jun 9, 2026 in 1m 11s
1 issue
Medium
Missing `openAIIntegration` mock makes all `loadInitializedSentry()` tests throw TypeError - `packages/warden/src/sentry.ts:35`
The @sentry/node mock in sentry.test.ts does not define openAIIntegration, so initSentry evaluating Sentry.openAIIntegration(...) throws TypeError: Sentry.openAIIntegration is not a function, crashing every test that calls loadInitializedSentry(). Add openAIIntegration: vi.fn(() => ({ name: 'openai' })) to the mock.
2 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| security-review | 0 | 22.4s | $0.03 |
| code-review | 1 | 41.6s | $0.24 |
⏱ 1m 4s · 97.3k in / 4.8k out · $0.28
Loading