Inject the application's base snap into the managed instance
Metadata
Current evaluation
Abandoned. The enhancement to inject the base snap into managed instances was closed without implementation, with only an internal Jira ticket created.
Suggested action: —
No scores available.
Issue body
### What needs to get done
If we're running from a snap, we currently inject the app snap from the host. See: https://github.com/canonical/craft-application/blob/141b727c1d80e1a41f41f99feb8c16d29eab68a3/craft_application/services/provider.py#L122-L141
We should inject the base snap that the app is using from the host as well.
### Why it needs to get done
If the managed instance doesn't have this base snap (e.g. the app uses core24 and we're building on a 22.04 managed instance), the instance is currently downloading the base snap.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The enhancement to inject the base snap into managed instances was closed without implementation, with only an internal Jira ticket created. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution, effectively abandoned. Tracking moved to Jira ticket CRAFT-4889. No code changes or merges were implemented. The base snap injection enhancement remains unaddressed. | |
| qwen/qwen3.6-35b-a3b | — | — | The enhancement to inject the base snap into the managed instance was closed without implementation. No pull request or fix was submitted, leaving the request unresolved after triage and internal ticket creation. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The enhancement to inject the host base snap into managed instances was triaged and linked to a Jira ticket, but no resolution or merge was completed. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #953 feat: inject application's base snap into managed instances | craft-application | closed | Injected the application's base snap into managed instances to prevent redundant downloads. After implementing the feature, addressing review feedback, and adding tests, the pull request was closed and superseded by PR #997. |