Hi,
We have been testing snap refresh control, and following the documentation here: https://core.docs.ubuntu.com/en/build-store/refresh-control
We have everything set-up, and it basically works. The gated snap is downgraded to the revision we specified, and if I check the local assertions via snap known validation
I can see the validation assertion.
However, we then tried changing the policy to an older revision. So we created and uploaded the new assertion, that worked fine, and if we query the remote assertions we see it listed. However, the new assertion with the older revision never seems to get downloaded onto the device. WE have tried purging the gating snap, re-installing it, doing a full snap refresh, and even a reboot for good measure ! Nothing seems to make it notice the newer assertion.
I have a hunch it may be because the approved-snap-revision
in the newer assertion is a lower than the previous assertion. If so, it feels a bit like a bug, or at least undocumented behaviour.
Can anyone confirm what the behaviour should be ?
Cheers,
Just