Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Add realistic e2e test app for OpenAI-compatible providers

Aberta
#24,758 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
testing-qa

Direção de pesquisa

Start by inspecting the existing *-send-to-sentry apps and how they read data through the Sentry API. Add an e2e app using an OpenAI-compatible provider, a real E2E_TEST_DSN without a tunnel, and checks for returned gen_ai spans. Add a variant that runs against the latest library version; done means real requests and span assertions pass.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Tests

Add an e2e test app that uses the OpenAI-compatible integration the way a real user does, and that sends the data to a real Sentry project.

Current state: No e2e test exists for this integration.

Requirements:

  • Send real requests to an OpenAI-compatible provider (OpenRouter is OK).
  • Use a real E2E_TEST_DSN with no tunnel, so the data goes to Sentry.
  • Read the gen_ai spans back through the Sentry API and check them, the same way the *-send-to-sentry apps do.
  • Add a variant that runs against the latest version of the library.
Linguagem predominante
TypeScript
Estrelas
8.7k
Forks
1.9k
Merge médio
1d 15h
PRs com merge (30d)
495

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getsentry/sentry-javascript

Todas as issues de getsentry/sentry-javascript

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.