Start app during init to verify instrumentation
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- cli
Research direction
Start at the sentry init command and compare its flow with the existing agent-plugin behavior described in the issue. Define a safe way to decide when a local run is feasible, how to ask or bail out for expensive projects, and how completion proves that a test error was sent; use related issue #1381 for the success-output context.
Written by the indexing model from the issue text.
Description
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 initconfigures 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.
--
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 14
- Avg merge
- 22h 3m
- Merged PRs (30d)
- 94
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
bug jared
-
jared
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anomalyco/models.dev#7701 ·