fix(store): make "whoami" work with charm-scoped credentials
Metadata
Current evaluation
Merged PR charmcraft#1904 (commit 5b85a11e) fixed whoami for charm-scoped credentials and closed #1869.
Resolution: closed resolved
Reason: PR #1904 was approved and merged as commit 5b85a11e. It corrected credential handling so charm-scoped credentials no longer caused the internal error reported in #1869.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Fixes #1869
CRAFT-3350
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR charmcraft#1904 (commit 5b85a11e) fixed whoami for charm-scoped credentials and closed #1869. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1904 (commit 5b85a11e), fixing `whoami` for charm-scoped credentials and closing #1869. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved issue #1869 and CRAFT-3350 by enabling the whoami command to work with charm-scoped credentials. Merged after approval from two reviewers. The four-file change required a brief reopen to trigger CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix enabling the whoami command to work with charm-scoped credentials. Resolves #1869 and CRAFT-3350. Briefly closed and reopened to trigger CI checks before final merge. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
charmcraft#1869
(confidence 100%)
PR #1904 explicitly fixes the charm-scoped credentials failure reported in this issue.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #609 store: handle store errors in whoami command (CRAFT-701) | charmcraft | merged | Merged in canonical/charmcraft#609 via 3d7474b1 (merge 69df5a9a), adding allow_login so whoami reports logged-out and expired-credential errors without automatic login. | |
| #1869 [v3] charmcraft whoami internal error with charm-scoped exported credentials | charmcraft | closed | Fixed in #1904 via commit 5b85a11e, making whoami handle charm-scoped credentials. Released in Charmcraft 3.2.2. | |
| #612 Show more information about current credentials in the whoami command (CRAFT-651). | charmcraft | merged | Merged in charmcraft#612 via e69d3755, expanding whoami to show credential details and updating craft-store for minor API changes. | |
| #595 Enhance the `whoami` command to also show the credentials restrictions | charmcraft | closed | Enhancement delivered: `whoami` now displays Charmhub credential restrictions (channels/packages). Closed as fixed by PR #612 (CRAFT-651), merged at commit e69d3755, which also updated craft-store for the new API fields. |