charmcraft release doesn't pay attention to resources
Metadata
Current evaluation
Superseded by a Charmhub backend validation request. Resource validation for releases is deferred to the server side. A new bug was opened to track the snapstore-server fix.
Suggested action: —
No scores available.
Issue body
I have a charm with an oci-image that I'm using for testing sidecar charms.
I did:
```
charmcraft build
charmcraft upload ./jam-k8s-api-sidecar-test.charm
charmcraft release -r 1 -c stable
```
And it happily let me do so. But now I have a sidecar charm that references a resource that doesn't exist.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by a Charmhub backend validation request. Resource validation for releases is deferred to the server side. A new bug was opened to track the snapstore-server fix. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a client-side fix. Resource validation was deferred to the Charmhub server side. A separate Launchpad bug was opened to track the server-side implementation. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. Resource validation deferred to Charmhub server side rather than charmcraft. A new bug was opened to track server-side enforcement during release. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a charmcraft fix. Resource validation was deferred to the Charmhub backend, with tracking moved to a new Launchpad issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a charmcraft fix. Resource validation was deferred to Charmhub. A backend bug was opened to track implementing the check on the server side. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #850 charmcraft release failed for revision that is in the charmhub | charmcraft | closed | Closed as out of scope. Charmhub's auto-release feature exposed missing resource specifications. Identified as a Launchpad-Charmhub integration issue, not a charmcraft bug. Author will file a separate bug with Charmhub. | |
| #847 Improve the 'release' response when resources are automatically released with the charm | charmcraft | open | Request to enhance the 'charmcraft release' command output to list resources that Charmhub automatically attaches when a revision is released without explicit --resource flags. Store-side fix was released in 2022, but the client-side message enhancement remains unimplemented. |