← Back to issue list

feat(ProviderService): don't inject snaps if the host and guest architectures differ

View original Github issue

Metadata

Project
craft-application
Number
#1037
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged. Updates ProviderService to install application snaps from the Snap Store instead of injecting them from the host when architectures differ, preventing cross-arch injection issues. Approved by two reviewers with all CI checks passing.

Suggested action:

No scores available.

Issue body

Update ProviderService snap setup so that when the requested provider/ container architecture differs from the host, the application snap is installed from the Snap Store instead of being injected from the host snap (avoiding cross-arch injection issues). - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Updates ProviderService to install application snaps from the Snap Store instead of injecting them from the host when architectures differ, preventing cross-arch injection issues. Approved by two reviewers with all CI checks passing.
qwen3.6-35b-a3b-mtp-q6 Merged ProviderService updates that prevent cross-architecture snap injection. When host and guest architectures differ, the application snap is now fetched from the Snap Store instead of being injected from the host snap, resolving compatibility issues.
qwen3.6-35b-a3b-mtp-q6 Merged updates to ProviderService that prevent cross-architecture snap injection by installing the application snap from the Snap Store when host and guest architectures differ.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2174 build_providers: inject snaps when running from a snap snapcraft merged Merged. Updates build providers to inject snapcraft and its base from the host when running inside the snapcraft snap, ensuring parity with non-snap environments. Approved by reviewer and passed CI checks.
74%
#997 feat(Provider): inject the base snap craft-application merged Merged. Injects the base snap into the provider alongside the application, eliminating separate downloads. Resolves #952 and CRAFT-4889. Approved by two reviewers with all CI checks passing.
71%
#3146 build providers: snap sw to channels if injecting snapcraft merged Merged fix that prevents automatic channel switching to latest/stable when injecting snaps with revision assertions during build provider setup. Approved by reviewer, passed CI, and integrated.
70%