draco2 icon indicating copy to clipboard operation
draco2 copied to clipboard

fix: false positive pyodide build cache hits

Open peter-gy opened this issue 10 months ago • 2 comments

Previously we used the built Pyodide package version as the cache key exclusively.

This yielded false positive cache hits when only the source code of a module changed (the sha256 signature), but not its version, as no official release took place. Therefore, we kept reusing built modules even though they were obsolete.

This PR introduces a fix by using {version}@{sha256} as the hash key. Technically, {sha256} would be sufficient as a key, but including the version aids debugging.

peter-gy avatar Apr 17 '24 13:04 peter-gy