fix: allow parallel installations of signed snapcraft snaps (7.5)
Metadata
Current evaluation
Merged into hotfix/7.5 to fix parallel installation failures for signed snapcraft snaps. Backports the solution from #5058, resolving issues #4683 and #4927. Approved by two reviewers with all CI checks passing.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Fixes a bug where parallel installations of snapcraft would not work if the snapcraft snap was signed.
Same as #5058, but for `hotfix/7.5`.
I recommend reviewing by commit as the refactor commit is noisy.
Builds on top of https://github.com/canonical/snapcraft/pull/5088
Fixes #4683
Fixes #4927
(CRAFT-3259)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into hotfix/7.5 to fix parallel installation failures for signed snapcraft snaps. Backports the solution from #5058, resolving issues #4683 and #4927. Approved by two reviewers with all CI checks passing. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to the 7.5 hotfix branch, resolving a bug that blocked parallel installations of signed snapcraft snaps. This backport of PR #5058 closes issues #4683 and #4927. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to the hotfix/7.5 branch. Resolves parallel installation failures for signed snapcraft snaps by updating deployment logic. Closes bugs #4683 and #4927. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #5694 fix(backport): remove unnecessary snapd_snap flag (#5689) | snapcraft | merged | Merged PR #5689 backports a fix for issue #5316 to Snapcraft 7.5. The change removes an unnecessary snapd_snap flag across two files. All CI checks passed and the pull request was approved before merging. | |
| #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. | |
| #4950 fix: configure icon for snaps without apps | snapcraft | merged | Merged fix addressing a regression that skipped icon configuration for snaps without apps. Approved by two reviewers, passed CI, and retargeted to the hotfix/7 branch for maintenance. |