← Back to issue list

Spec and prototype omitting the traceback for known user errors

View original Github issue

Metadata

Project
craft-application
Number
#549
Type
issue
State
open
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Design a mechanism to suppress craft-tool tracebacks for known user errors (e.g. plugin build failures) to reduce log noise. Open since 2023, tracked as CRAFT-3655, no maintainer response beyond the Jira sync bot.

Suggested action: needs triage

Reason: The issue is a design/spec task from a maintainer (tigarmo) with no labels, no assignee, and no substantive maintainer discussion — only the Jira sync bot comment. It requires architectural decisions about how to distinguish known user errors from internal bugs in the error emission path (craft_cli emit.error / _emit_error), so it needs triage and prioritization rather than closure.

Impact: 45 Quick Win: 18.0 Staleness: 75 Complexity: 60 Confidence: 60 Support Request: 10

Issue body

### What needs to get done Design a mechanism to avoid outputting the craft-tool traceback (to the log file and terminal) in case the error happens for a cause that we know for sure isn't a bug (e.g. a plugin build failure). ### Why it needs to get done The current log is super noisy and makes it hard to find the "true" cause of a failure: ![image](https://github.com/user-attachments/assets/3ffeb4aa-5973-42f3-b376-ed9106266ce3)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 18.0
Staleness: 75
Complexity: 60
Confidence: 60
Support Request: 10
needs triage Design a mechanism to suppress craft-tool tracebacks for known user errors (e.g. plugin build failures) to reduce log noise. Open since 2023, tracked as CRAFT-3655, no maintainer response beyond the Jira sync bot.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 50
Confidence: 85
Support Request: 10
needs triage Design task to suppress tracebacks for known user errors to reduce log noise. Currently unlabelled, inactive for over a year, and awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 80
Support Request: 10
needs triage Design a mechanism to suppress tracebacks for known user errors to reduce log noise. Currently unlabelled, inactive for over a year, and awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 35
Confidence: 85
Support Request: 10
keep open Design a mechanism to omit tracebacks for known user errors, reducing log noise. Currently unassigned and stale after 389 days. Synced to internal Jira ticket CRAFT-3655.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-cli#95 (confidence 55%)

    PR 'traceback-not-in-verbose' in craft-cli already gates traceback display by verbosity level, a related mechanism for reducing traceback noise.

Related issues

No related issues found above the similarity threshold.