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

Start app during init to verify instrumentation

Aperta
#1,390 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
cli

Direzione di ricerca

Inizia dal comando sentry init e confronta il suo flusso con il comportamento esistente di agent-plugin descritto nell’issue. Definisci un modo sicuro per decidere quando un’esecuzione locale è fattibile, come chiedere conferma o interrompere per i progetti costosi e come il completamento dimostri che è stato inviato un errore di test; usa l’issue correlata #1381 per il contesto dell’output di successo.

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

Descrizione

After sentry init instruments a project, nothing reaches Sentry unless the app is actually running and exercised. Users are left to know they should start the app and try things out; the CLI does not detect a local runtime or drive a verification path.

Agent plugins already do a stronger version of this: figure out how to start the app (or ask the user), execute test code, and send a test error so setup is proven end-to-end.

Current behavior

  • sentry init configures the SDK and finishes without checking whether the app is running locally
  • no start/run step and no automatic test error from a live app process
  • success can look complete while zero events were sent

Gap

  • Local instrumentation only produces signal when the app runs; without that, users get a false sense that setup is done
  • Naive always-run behavior is risky on large/hard projects (e.g. monorepos like sentry), where agent-driven start attempts can burn excessive tokens

Related: #1381 (init success output does not prove setup worked)

Proposal from discussion

  • Try to start/run the project after init, similar to the plugin flow, and send a test error when feasible
  • Bail out early (or ask the user) when the project looks difficult/expensive to run rather than forcing a full start attempt

Raised by Dhrumil Parekh; constrained by Miguel Betegon from prior run attempts on large repos.

Requested by Miguel Betegon.

--

View Junior Session [Sentry]

Lingua principale
TypeScript
Stelle
123
Fork
14
Merge medio
23h 23m
PR unite (30g)
82

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.