Support snap parallel installs
Metadata
Current evaluation
Closed. The initial fix was merged into craft-application, but full parallel snap support requires a follow-up update in craft-providers to correctly parse snap names with underscores.
Suggested action: —
No scores available.
Issue body
### What needs to get done
If the application is installed as a snap, we need to be able to copy that same parallel install's revision into the provider rather than the default (un-instanced) revision.
### Why it needs to get done
https://github.com/canonical/charmcraft/issues/1770
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed. The initial fix was merged into craft-application, but full parallel snap support requires a follow-up update in craft-providers to correctly parse snap names with underscores. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. Resolved in craft-application, but superseded by a pending craft-providers fix. The provider update will split snap names on underscores to correctly inject parallel revisions into build environments. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed after the fix was applied in craft-application. A subsequent update to craft-providers is needed to correctly parse parallel snap names by stripping the revision suffix. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1770 charmcraft snap doesn't work with snap parallel installs | charmcraft | closed | Charmcraft fails with parallel snap installs due to hardcoded snap names ignoring instance keys. Root cause identified in craft-providers, tracked as CRAFT-3351. Closed as blocked by craft-providers#622 pending upstream fix. | |
| #4683 Cannot use parallel installations of snapcraft if a non-aliased version is not installed | snapcraft | closed | Parallel snapcraft installations failed when injecting non-aliased versions due to malformed assertion headers. The bug was fixed by correcting snap name parsing in craft-providers, with the solution merged via PRs #5085 and #5087. | |
| #4088 providers: allow parallel installations when not running as a snap | snapcraft | merged | Merged into main. Checks if snapcraft runs as a snap before reading SNAP_INSTANCE_NAME, enabling parallel installations outside the snap. Follows PR #4084, approved, passed CI, 100% diff coverage. | |
| #5085 fix: allow parallel installations of signed snapcraft snaps | snapcraft | merged | Merged a fix enabling parallel installations of signed snapcraft snaps, resolving issues #4683 and #4927. Approved by two reviewers, passed CI checks, and integrated. | |
| #4927 Parallel installation of snapcraft not passed to LXD instance | snapcraft | closed | Parallel snapcraft installations were not passed to LXD instances, causing version mismatches. Resolved via pull requests #5085 and #5087, addressing upstream craft-application bug #411. |