fix(store): nicer error message when getting nonexistent libs
Metadata
Current evaluation
Merged a fix that replaces a cryptic charmhub error with a clearer message when a charm library is missing. Approved by two reviewers, the change resolves issue #1754 and CRAFT-3353, modifying two files with 35 additions and 3 deletions.
Suggested action: —
No scores available.
Issue body
When a charm lib doesn't exist on charmhub, charmhub itself gives us a hard to use error. This is replaced with a more useful message.
Fixes #1754
CRAFT-3353
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix that replaces a cryptic charmhub error with a clearer message when a charm library is missing. Approved by two reviewers, the change resolves issue #1754 and CRAFT-3353, modifying two files with 35 additions and 3 deletions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix replacing charmhub's unhelpful error for missing charm libraries with a clearer, user-friendly message. Resolves #1754 and CRAFT-3353. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix that replaces a cryptic charmhub error with a clearer message when a charm library is missing. Resolves #1754 and CRAFT-3353. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2084 fix(store): better error message with fetch-lib | charmcraft | merged | Merged updates that improve error messaging for fetch-lib in the store component. Approved by two reviewers, passed CI, and resolves issue #1721 and CRAFT-3352 across two files. | |
| #580 requirements: update to latest released versions | charmcraft | merged | Merged update to latest released dependency versions, introducing craft-store for improved Charmhub error handling. Approved by one reviewer with passing CI checks across two files. | |
| #2252 feat(upload): warn when uploading a charm if it has newer local libs | charmcraft | merged | Merged a feature that warns users when uploading a charm with local charmlibs newer than the store version. Approved by two reviewers and resolves issue #213. The change adds 249 lines across seven files to implement the validation logic. | |
| #1955 fix(charm-libs): better error message on bad version type | charmcraft | merged | Merged to resolve issue #1954 by improving the error message for invalid version types in charm-libs. Approved by two reviewers with a minimal two-file change. | |
| #993 refactor: Move charm library helper functions to their own modules (CRAFT-1557) | charmcraft | merged | Merged refactoring extracting charm library helpers into dedicated modules, resolving CRAFT-1557. Approved by one reviewer with no unresolved comments. Modifies seven files, adding 658 lines and removing 587. | |
| #1198 tests: add charm library multiple versions update test | charmcraft | merged | Merged after approval, adding a test for updating charm library multiple versions. The change introduces 120 lines to address CRAFT-1916 and issue #1020, with zero unresolved review comments. | |
| #295 Update charm library template for correct command to publish or update libraries | charmcraft | merged | Merged a fix to update the charm library template with the correct command, replacing the non-existent charmcraft push-lib. Approved by two reviewers with minimal changes. | |
| #405 fix: update packages typing | craft-store | merged | Merged fix updating packages typing to a mapping, resolving a charmcraft login validation error for string charm names. Approved by two reviewers and passed CI. Prepares the craft-store release. | |
| #1641 build(deps): bump internal libraries | charmcraft | merged | Merged after three approvals. Updated craft-providers and craft-store to match snapcraft 7.x minor versions. A reviewer suggested implementing debugging logic in charmcraft for future use. |