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 Vercel AI

Aberta
#24,751 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
ai, testing-qa

Direção de pesquisa

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.

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

Descrição

Tests

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_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
2d 10min
PRs com merge (30d)
560

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.