r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
9 stars 2 forks source link

Check if PACKAGES gets cached #483

Closed jeroen closed 1 week ago

jeroen commented 1 week ago

See https://github.com/r-universe/bioc/actions/runs/10758331772/job/29833643470

jeroen commented 1 week ago

Looks like no real bug, as the dependency was indeed updated during this check. Can we solve this with https://github.com/r-universe-org/help/issues/132 ?

jeroen commented 1 week ago

Simpler solution for race conditions: keep track of the previous version number of a package, and redirect to the new version if it has changed in the latest deployment: https://github.com/r-universe-org/cranlike-server/commit/c131d9bb898b3f77990a2d9497b13a69938c3111

So this avoids 404 errors if one of the dependencies in the universe gets updated during the active run.