[Feature request] Support proper caching when packing multi-architecture charm `craft-action/pack`
Metadata
Current evaluation
Feature request to include architecture in the craft-action/pack cache key so parallel multi-arch matrix builds don't collide. Unlabelled, no maintainer response; code still uses an arch-agnostic hashfiles key, so the gap persists.
Suggested action: needs triage
Reason: The issue is unlabelled with no maintainer response, comments, or assignee, and the referenced cache key at charmcraft/pack/action.yaml line 75 still uses only hashfiles of requirements/lock/charmcraft.yaml with no architecture component, confirming the problem persists. It needs triage to be categorised and prioritised.
Impact:
35
Quick Win:
26.25
Staleness:
75
Complexity:
25
Confidence:
75
Support Request:
15
Issue body
For building a multi-architecture charm, it is common to use `matrix.runs-on` to build multi-architecture charm in parallel. However, the cache mechanism in `craft-action/pack` does not this into account when creating the [cache key](https://github.com/canonical/craft-actions/blob/main/charmcraft/pack/action.yaml#L58), so the cache may be overridden or collided. I would like to request a support for this, thanks!
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
26.25
Staleness:
75
Complexity:
25
Confidence:
75
Support Request:
15
|
needs triage | Feature request to include architecture in the craft-action/pack cache key so parallel multi-arch matrix builds don't collide. Unlabelled, no maintainer response; code still uses an arch-agnostic hashfiles key, so the gap persists. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
92
Complexity:
25
Confidence:
75
Support Request:
10
|
needs triage | Feature request to fix cache key collisions in craft-action/pack when building multi-architecture charms in parallel. Untriaged, no maintainer response, inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
35
Confidence:
75
Support Request:
5
|
needs triage | Feature request to fix cache key collisions in craft-action/pack during parallel multi-architecture charm builds. Untriaged, zero maintainer interaction, inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
30
Confidence:
85
Support Request:
10
|
needs triage | Request to update craft-action/pack cache keys for multi-architecture charm builds. Parallel matrix builds currently cause cache collisions. Open, unassigned, awaiting triage. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.