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 Anthropic

Aberta
#24,748 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
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
68/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
nodejs, typescript
Domínio
ai, testing-qa

Direção de pesquisa

Inspect the existing gen-ai-libraries and *-send-to-sentry apps first, especially their real-request and Sentry API verification flow. The work is complete when an Anthropic integration app sends real provider requests with E2E_TEST_DSN and no tunnel, validates gen_ai spans through the Sentry API, and includes a latest-library variant.

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

Descrição

Tests

Add an e2e test app that uses the Anthropic 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.

Requirements:

  • Send real requests to the model 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)
523

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.