Skip to content

Simplify non-TTY output for sentry init #940

@sentry-junior

Description

@sentry-junior

Running npx sentry@latest init --yes in a non-TTY session (e.g. from an AI agent or CI) produces output that is unnecessarily verbose and noisy:

  • The large ASCII Sentry logo banner is printed, consuming many lines of context for no functional value
  • Each progress line is prefixed with ... dots (e.g. ... Checking prerequisites...), adding visual noise

Suggested improvements for non-TTY mode:

  • Skip the ASCII logo entirely when stdout is not a TTY
  • Drop the ... prefix from status lines — a plain Checking prerequisites... is sufficient
  • Generally minimize decorative output so the init flow is leaner for programmatic consumers (agents, scripts, CI)

Action taken on behalf of Aditya Mathur.

Metadata

Metadata

Labels

No labels
No labels
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions