← Back to issue list

Don't prompt to report Sentry errors unless stdin is a tty

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1792182
Type
issue
State
closed
Author
~kyrofa
Labels
18.10-sentry
Created
Updated
Closed

Current evaluation

Obsolete after canonical/snapcraft#5592 (commit 0a120c694) removed Sentry reporting from Snapcraft Legacy, eliminating the non-TTY reporting prompt.

Resolution: closed stale

Reason: The maintainer closed the report because Sentry had been dropped. PR #5592 removed the feature, so the requested prompt no longer exists.

Evaluated by: mr-cal-bot

No scores available.

Issue body

IIf stdin isn't a TTY, it makes no sense to prompt the user if they want to report an error. Click does the right thing and turns the lack of a tty into a No, but it's not very pretty. Simply report it if SNAPCRAFT_ENABLE_SILENT_REPORT is truthy, and if not, suggest they log a bug.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Obsolete after canonical/snapcraft#5592 (commit 0a120c694) removed Sentry reporting from Snapcraft Legacy, eliminating the non-TTY reporting prompt.
stealth/space-bunny-alpha — closed stale Closed as obsolete after Sentry was removed. PR #5592 (commit 0a120c694) dropped legacy error reporting, eliminating the prompt targeted here.
stealth/space-bunny-alpha — closed resolved Resolved by canonical/snapcraft#2187 (f77a6c10a), suppressing Sentry consent prompts for non-TTY stdin and supporting silent reporting or suggesting that users file a bug.
qwen3.6-35b-a3b-mtp-q6 — — Resolved. Skips Sentry error prompts when stdin is not a TTY, using SNAPCRAFT_ENABLE_SILENT_REPORT for silent reporting or suggesting manual bug logs instead.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 5
close stale External contributor requested suppressing Sentry error prompts when stdin isn't a TTY, suggesting an env var fallback. Issue has been inactive for over 7 years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 5
close stale Feature request to suppress Sentry error prompts when stdin is not a TTY, suggesting manual bug logging instead. Open for nearly 8 years with zero maintainer interaction or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 15
Confidence: 90
Support Request: 5
close stale Suggests suppressing Sentry error prompts when stdin is not a TTY, proposing env var control or bug logging instructions. Issue has been inactive for ~7.8 years with no maintainer response.

Update history

Date Change
created

Related work

  • Superseded By: canonical/snapcraft#5592 (confidence 99%)

    Commit 0a120c694 removed legacy Sentry error reporting and its associated environment variables.

Related issues

Issue Project State Summary Similarity
#5592 Remove Sentry and fallback error reporting (#5582) snapcraft merged Merged PR #5592 as commit 0a120c694, removing Snapcraft Legacy's Sentry/Raven reporting, error-data prompts, and Launchpad fallback; closed #5582.
71%