I can't close the edge channel for my snap

Bug #1905278 reported by Francisco Jimenez Cabrera
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snap Store Server
Fix Released
Critical
Natalia Bidart

Bug Description

Hello,

This issue was reported in the snapcraft.io website by Alan Pope:
https://github.com/canonical-web-and-design/snapcraft.io/issues/3141

I am able to reproduce the issue with the CLI:
```
$ snapcraft close testfran8 edge
Track Arch Channel Version Revision
latest amd64 stable - -
                 candidate - -
                 beta - -
                 edge 0.1 14
         arm64 stable - -
                 candidate - -
                 beta 0.1 15
                 edge ↑ ↑
         i386 stable - -
                 candidate - -
                 beta - -
                 edge 0.1 13

The edge channel is now closed.
```

For some reason, the edge channel is still open and I am able to install the snap:
```
$ snap install --edge testfran8
testfran8 (edge) 0.1 from Francisco Jiménez Cabrera (jkfran) installed
```

Thank you!

Changed in snapcraft:
status: New → Confirmed
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

ubuntu@snap-advocacy:~$ snapcraft close signal-desktop edge
Track Arch Channel Version Revision
latest amd64 stable 1.38.1 337
                  candidate ↑ ↑
                  beta 1.38.1 337
                  edge ↑ ↑
         arm64 stable - -
                  candidate - -
                  beta - -
                  edge 1.30.0 296
         armhf stable - -
                  candidate - -
                  beta - -
                  edge 1.30.0 297
         i386 stable - -
                  candidate - -
                  beta - -
                  edge 1.30.0 292
         ppc64el stable - -
                  candidate - -
                  beta - -
                  edge 1.30.0 294
         s390x stable - -
                  candidate - -
                  beta - -
                  edge 1.30.0 293

The edge channel is now closed.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

If both the CLI and web front end display the same effect, this is most likely a Snap Store issue. Please bounce back if both client implementations are doing the wrong thing

affects: snapcraft → snapstore-server
Daniel Manrique (roadmr)
Changed in snapstore-server:
importance: Undecided → Critical
Bret Barker (noise)
Changed in snapstore-server:
assignee: nobody → Matias Bordese (matiasb)
Revision history for this message
Matias Bordese (matiasb) wrote :

There is an issue with the close channel logic incorrectly handling the request when closing the channel leaves the track-channelmap for the respective architecture empty, but not for every architecture (triggering an incomplete update to our backend snaprevs service).

I just forced a reindex which fixed the situation for the snaps mentioned here. On the other hand, there is work in progress to replace the existing release/close channel logic in dashboard to use the updated implementation that Charmhub is using, which should fix this issue (and some others).

Changed in snapstore-server:
status: Confirmed → In Progress
assignee: Matias Bordese (matiasb) → Natalia Bidart (nataliabidart)
Changed in snapstore-server:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.