← Back to issue list

`status` command has wrong headers

View original Github issue

Metadata

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

Current evaluation

charmcraft status command displays 'Channel' header instead of 'Risk' and omits a Branch column when branch releases exist. Reported by a maintainer, synced to Jira (CRAFT-3717), but no fix has landed in the codebase as of the latest commit.

Suggested action: keep open

Reason: The issue was filed by a maintainer (lengau) and synced to internal Jira (CRAFT-3717), indicating it was acknowledged. The current code at line 1140 of store.py still uses headers = ["Track", "Base", "Channel", "Version", "Revision"] with no Branch column, confirming the bug persists. Last activity was 381 days ago with no fix merged, but the issue remains valid and relevant to the current codebase.

Impact: 30 Quick Win: 24.0 Staleness: 55 Complexity: 20 Confidence: 72 Support Request: 0

Issue body

### Bug Description The `status` command has the header `Channel` rather than `Risk`. It also doesn't display a `Branch` column if any items are shown. Reported initially by @tmihoc ### To Reproduce ``` $ charmcraft status my-awesome-charm Track Channel Version Revision latest stable - - candidate - - beta 0.1 1 edge ↑ ↑ ``` ### Environment n/a ### charmcraft.yaml ```yaml n/a ``` ### Relevant log output ```shell n/a ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 24.0
Staleness: 55
Complexity: 20
Confidence: 72
Support Request: 0
keep open charmcraft status command displays 'Channel' header instead of 'Risk' and omits a Branch column when branch releases exist. Reported by a maintainer, synced to Jira (CRAFT-3717), but no fix has landed in the codebase as of the latest commit.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 15
Confidence: 85
Support Request: 0
needs triage Bug report for charmcraft status command displaying incorrect headers and missing a Branch column. Open with no maintainer response since November 2024.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 15
Confidence: 80
Support Request: 5
needs triage The status command displays incorrect headers (Channel instead of Risk) and omits the Branch column. Unlabeled, no maintainer response, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 15
Confidence: 80
Support Request: 10
needs triage CLI status command displays incorrect column headers (Channel instead of Risk) and omits the Branch column. Unassessed, unlabelled, and inactive for over 1.5 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 15
Confidence: 75
Support Request: 0
needs triage charmcraft status command shows incorrect headers, displaying Channel instead of Risk and omitting Branch. Open with Jira ticket CRAFT-3717 created, awaiting triage and assignment.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#834 The Status command confuses branches between architectures charmcraft closed Closed as a Charmhub backend issue. The status command incorrectly duplicates branch entries across architectures due to server-side data handling. No charmcraft fix was implemented; the team deferred resolution to the upstream server bug.
75%