And got a fix for the issue. The timestamp wasn’t the problem, the auto-generated database code for that table was… When we added support for configurable image expiry, the DB filter was adjusted to filter on a per-project basis.
But the generated DB code wasn’t updated to generate the correct queries for a project+cached filter, causing the cached part to be ignored and it only filtering based on projects…
Please note that anyone affected may still get re-affected by this until the bugfix is made available to all snap users! It will not hit you until 10 days since you last used a particular image, I intend to roll out the fix for this tomorrow to all stable users.
The fix has been merged upstream and cherry-picked into our snap packaging branch, I’ll now let it build and once built and CI passes on it, will push to stable, ETA is 2-3 hours.