Skip to content

v0.22.0 — an index keeps what it says about its own entries

Choose a tag to compare

@tannevaled tannevaled released this 11 Sep 06:00
· 139 commits to main since this release
3292661

An index recomposed from the per-platform tags kept only the entry it was pushing.

platformManifests rebuilds a version's index from the uncontended <ver>--<os>-<arch> tags so racing publishers write the same complete list. It resolved each tag, and Resolve returns a bare descriptor — mediaType, digest, size. Platform was restored from the tag name; artifactType and the annotations were not, and upsertPlatform drops the complete entry in favour of what it is handed.

Measured on the live registry, and the shape named the cause — n-1 every time, zero where there are no platform tags to recompose from:

project platform tags entries missing artifactType
libssh.org none none
lloyd.github.io/yajl 2 1
gnu.org/wget 2 1
nodejs.org 3 2

Nothing in this repository selects a platform by artifactType; the damage is to anything reading our registry without being us.

#68

🤖 Generated with Claude Code