← Back to issue list

Better error messaging from store errors

View original Github issue

Metadata

Project
charmcraft
Number
#1562
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Store diagnostics remain only partially addressed: missing charm-libs gets a targeted message via #2034, but broader opaque errors and typo suggestions remain unimplemented.

Suggested action: keep open

Reason: Maintainer lengau opened this after three Canonical engineers could not interpret a store response, and the later comment provides a concrete missing-charm example with a desired suggestion. Commit c9b51038 / charmcraft#2034 improves only one narrow missing-library response, leaving the broader error audit and suggestions such as "did you mean catalogue-k8s?" unresolved.

Evaluated by: mr-cal-bot

Impact: 42 Quick Win: 10 Complexity: 57 Confidence: 88 Actionability: 54

Issue body

### What needs to get done Research errors we could get from the store and provide better/clearer messaging for those errors. ### Why it needs to get done Three engineers at Canonical couldn't figure out this error message: https://matrix.to/#/!xdClnUGkurzjxqiQcN:ubuntu.com/$ezt2mPKM-vgltqBNuTwtL4b6B9DoSM34VPIYjmD07F0 Store message thread: https://chat.canonical.com/canonical/pl/or8uis8txtbotff1d9nr9bgodh

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 42
Quick Win: 10
Complexity: 57
Confidence: 88
Actionability: 54
keep open Store diagnostics remain only partially addressed: missing charm-libs gets a targeted message via #2034, but broader opaque errors and typo suggestions remain unimplemented.
qwen/qwen3.6-35b-a3b
Impact: 60
Quick Win: 25
Complexity: 40
Confidence: 70
Actionability: 70
keep open Feature request to improve store error messaging with suggestions for typos (e.g., 'did you mean catalogue-k8s?'). Open, no labels, maintainer-created, no implementation found.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 22
Staleness: 70
Complexity: 50
Confidence: 75
Support Request: 15
needs triage Feature request to research and improve error messages returned from the Charm Store for clarity. Open ~2.5 years, unlabelled and untriaged; last activity ~12 months ago when a user asked to be assigned to work on it.
qwen/qwen3.6-35b-a3b
Staleness: 88
Complexity: 18
Confidence: 80
Support Request: 10
needs triage Feature request to improve store error messages for clarity. Open for over two years with minimal engagement and no maintainer labels or triage status.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 40
Confidence: 90
Support Request: 10
needs triage Request to improve error messaging for store operations. Currently unlabelled and awaiting triage, with recent maintainer interest in adding it to a backlog list.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 35
Confidence: 80
Support Request: 10
needs triage Request to improve error messaging for store operations after engineers found existing messages unclear. Currently unlabelled, with recent community interest and a suggested improvement for better error context.

Update history

No update history recorded yet.

Related work

  • Related To: charmcraft#2034 (confidence 97%)

    Commit c9b51038 added targeted messaging for one nonexistent-library store response but does not cover the broader error taxonomy or typo suggestions.

Related issues

No related issues found above the similarity threshold.