getsentry / getsentry/sentry-javascript

Add E2E test for openai instrumentation

Open
#24,205 1 comment 0 reactions 0 assignees View on GitHub
javascript Node.js Tests
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

We want to add an E2E test using a real openai key to test that the instrumentation really works.

Also test latest version to ensure we notice breakage.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing OpenAI instrumentation and E2E test setup, then check how credentials and dependency versions are handled. Add coverage using a real OpenAI key and the latest version, and verify that the test detects instrumentation breakage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.