Page MenuHomeSoftware Heritage

Browsing snapshot with only releases does not show anything in the webapp
Closed, MigratedEdits Locked

Description

After deployment [1], we are no longer able to browse the new package loader snapshot:

Even though those are fine if we browse them through the api [2].

Some more irc information:

16:15 <+vlorentz> anlambert: We think we found an issue in swh-web: https://forge.softwareheritage.org/source/swh-web/browse/master/swh/web/browse/snapshot_context.py$562 returns None when the HEAD branch is a Release (or alias to Release) instead of a Revision (or alias to Revision)
16:16 <+vlorentz> so we get stuff like this on all snapshots generated by package loaders >= 1.0.0: https://webapp.staging.swh.network/browse/origin/directory/?origin_url=https://www.npmjs.com/package/chloe
16:17 <+vlorentz> even though they work fine via the API
16:18 <+ardumont> context: in staging, we "released" the "make the loader package build synthetic release (and no longer revision ones)"
16:18 <+ardumont> (well loaders)
16:19 <+ardumont> P1216 for some dataset to reproduce
16:19 -- Notice(swhbot): P1216 (author: ardumont):  <https://forge.softwareheritage.org/P1216>

[1] T3722

[2] P1216

Event Timeline

ardumont triaged this task as Normal priority.Nov 10 2021, 4:27 PM
ardumont created this task.
anlambert changed the task status from Open to Work in Progress.Nov 15 2021, 4:13 PM

Fix is now deployed to production, closing this.