fix: get assertions for aliased snaps
Metadata
Current evaluation
Merged PR #670 fixed aliased-snap assertion retrieval by querying snapd with the canonical snap name; the fix is in commit 4fbc046 and resolves #622.
Resolution: closed resolved
Reason: PR #670 was merged, and commit 4fbc046 changed declaration-assertion lookup to use the snap name rather than the full alias. The PR explicitly identifies #622 as fixed.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Use the snap name when getting a [declaration assertion](https://ubuntu.com/core/docs/reference/assertions/snap-declaration) from snapd.
Unblocks https://github.com/canonical/snapcraft/issues/4683
Unblocks https://github.com/canonical/snapcraft/issues/4927
Unblocks https://github.com/canonical/charmcraft/issues/1770
Fixes #622
(CRAFT-3259)
(CRAFT-3351)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #670 fixed aliased-snap assertion retrieval by querying snapd with the canonical snap name; the fix is in commit 4fbc046 and resolves #622. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR fixing assertion retrieval for aliased snaps by using the snap name, resolving #622 and unblocking related snapcraft/charmcraft issues. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/craft-providers#622
(confidence 99%)
PR #670 explicitly states that it fixes the aliased host-snap assertion issue.
-
Related To:
canonical/snapcraft#4683
(confidence 95%)
PR #670 explicitly identifies this Snapcraft issue as unblocked.
-
Related To:
canonical/snapcraft#4927
(confidence 95%)
PR #670 explicitly identifies this Snapcraft issue as unblocked.
-
Related To:
canonical/charmcraft#1770
(confidence 95%)
PR #670 explicitly identifies this Charmcraft issue as unblocked.
-
Related To:
canonical/craft-providers#671
(confidence 90%)
Repository history records the same fix under merged PR #671 at commit 4fbc046.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #671 fix: get assertions for aliased snaps | craft-providers | merged | Merged PR #671 fixed declaration-assertion lookup for aliased snaps by using the snap name. It resolves #622 and is the 1.20 counterpart of #670. | |
| #467 fix: inject aliased snaps into build environment | craft-application | merged | Merged PR #467 (77a3582b) injects snaps under their aliased names, fixing #411 and the Snapcraft #4683 reproducer. | |
| #522 fix(inspectors/snap): fix serial assertion endpoint | fetch-service | merged | Merged PR #522 fixed the Snap serial-assertion endpoint in commit d374352; it received two approvals and passed all CI checks. |