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

Run init evals on CI

Aperta
#290 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions

Direzione di ricerca

Inizia esaminando test/init-eval/ e il workflow precedente nel commit d5d0b22, quindi determina come verrà fornito il server Mastra a CI. Aggiungi .github/workflows/init-eval.yml con i trigger richiesti, i secret dell’ambiente, la concorrenza e una matrice a sei piattaforme; il lavoro è completo quando la suite di eval viene eseguita correttamente in CI.

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

Descrizione

Summary

Set up a CI workflow to run the test/init-eval/ eval suite automatically (on PRs and/or on a schedule).

Context

The eval tests exercise sentry init against real project templates and use an LLM judge to score correctness. They currently only run locally because they require a running Mastra API server.

The Mastra agent lives in https://github.com/getsentry/cli-init-api/.

Requirements

  • Mastra server: Either deploy a persistent dev instance or spin one up as a service container in the workflow (pull from getsentry/cli-init-api).
  • GitHub environment: Create an init-eval environment with secrets:
    • MASTRA_API_URL — URL of the Mastra server
    • OPENAI_API_KEY — for the LLM judge
  • Workflow: Add .github/workflows/init-eval.yml with push/pull_request/workflow_dispatch triggers. A previous version existed but was removed in d5d0b22 — can be used as a starting point.
  • Concurrency: Use a concurrency group to cancel in-progress runs on new pushes.
  • Matrix: Run each platform (express, nextjs, python-fastapi, python-flask, react-vite, sveltekit) as a separate matrix job with fail-fast: false.

Open questions

  • Should the Mastra server be a persistent deployment (e.g. Cloudflare Worker) or spun up per-run?
  • Should this run on every PR or only on a schedule / manual trigger to save costs?
Lingua principale
TypeScript
Stelle
121
Fork
14
Merge medio
22h 3m
PR unite (30g)
94

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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/cli

Tutte le issue di getsentry/cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.