Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add realistic e2e test app for Mistral

Aperta
#24,749 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
66/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript
Ambito
ai, testing

Direzione di ricerca

Start by comparing the existing gen-ai-libraries apps, especially the Node and Cloudflare variants, with the *-send-to-sentry apps. Use E2E_TEST_DSN without the local tunnel, send a real request through the Mistral integration, and read the gen_ai spans back through the Sentry API; done means the checks pass for both the pinned library and its latest version.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Tests

Add an e2e test app that uses the Mistral (@mistralai/mistralai) 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.
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.9k
Merge medio
1g 15h
PR unite (30g)
495

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-javascript

Tutte le issue di getsentry/sentry-javascript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.