← Back to issue list

Capture warnings and present them to developers.

View original Github issue

Metadata

Project
craft-cli
Number
#232
Type
issue
State
open
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Feature request to use logging.captureWarnings to surface Python warnings to developers while hiding them from users by default. Open, unlabelled, zero comments, no maintainer activity for ~2.5 years; feature not yet implemented in codebase.

Suggested action: needs triage

Reason: The issue is unlabelled with zero comments and no maintainer response in ~2.5 years, showing no sign of triage. The feature is not implemented (no captureWarnings anywhere in the codebase) and the logging infrastructure it would extend (the _Handler in craft_cli/messages.py) still exists, so it remains applicable but needs a maintainer to categorise and prioritise it.

Impact: 35 Quick Win: 19.25 Staleness: 80 Complexity: 45 Confidence: 78 Support Request: 10

Issue body

### What needs to get done Use [`logging.captureWarnings`](https://docs.python.org/3/library/logging.html#logging.captureWarnings) to capture warnings and present them in a developer-friendly manner. This should be done in a way that hides them from the user by default. ### Why it needs to get done Currently we don't capture warnings, so code that raises warnings that don't get ignored could cause weird output.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 19.25
Staleness: 80
Complexity: 45
Confidence: 78
Support Request: 10
needs triage Feature request to use logging.captureWarnings to surface Python warnings to developers while hiding them from users by default. Open, unlabelled, zero comments, no maintainer activity for ~2.5 years; feature not yet implemented in codebase.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Request to implement logging.captureWarnings to surface Python warnings to developers while hiding them from end users. Unlabelled, inactive for ~2.4 years with no maintainer response or discussion.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 80
Support Request: 10
needs triage Request to use logging.captureWarnings to surface Python warnings to developers while hiding them from end users. Unaddressed for over two years with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 80
Support Request: 10
needs triage Implement logging.captureWarnings to route Python warnings to developers while hiding them from end users by default. Unhandled warnings currently cause unexpected output. Stale, awaiting assignment.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.