We may have a problem: see scenario 4 in the spreadsheet.
Those are cases triggered by the client requesting a specific revision, and the server deciding if it’s ok to let the client refresh by applying to the epoch rules.
When a user does a
snap refresh NAME --revision=N, snapd hits this endpoint:
The problem is that the information sent to the server in this case does not include the revision (nor the epoch) in which the snap is in the client, so we don’t have enough information server side to decide.
What can we do in this case? Thanks!