init feature selection: pre-select features based on actual project usage

Open
#483 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

Summary

The sentry init feature selection step pre-selects all features (Crons, AI Monitoring, Profiling, etc.) regardless of whether the project actually uses them. The wizard should analyze the project first and only pre-select features that are relevant to the detected stack.

Current behavior

All features are toggled on by default in the multi-select prompt, including Crons and AI Monitoring, even when the project has no scheduled jobs or AI model calls.

Gap

Pre-selecting irrelevant features adds noise to the generated config (unnecessary sample rates, DSN registrations) and gives the wrong impression that these features apply to every project. Users who don't notice the defaults end up with config for features they don't use.

Options

  • Static heuristics: during the platform/framework detection step, check for signals like cron libraries (node-cron, APScheduler, Celery beat), AI SDKs (openai, anthropic, langchain), and only pre-select matching features
  • AI analysis: since the wizard already uses AI to analyze the project, extend that pass to emit a features manifest that drives pre-selection
  • Default none: ship with all features off by default and let users opt in

Recommendation

Use the existing AI analysis pass (or static heuristics as fallback) to drive pre-selection. Default to off for anything with no detected signal.

Action taken on behalf of Sergiy Dybskiy.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/cli

All issues in getsentry/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.