packs restore declares offline mode when the app is not running. Release 0.10.1. #4
Loading…
Reference in a new issue
No description provided.
Delete branch "oliver.maklott/packs-restore-offline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From app 0.82 on, the pack scripts (
packs:restoreand the others) refuse to run when Redis is unreachable, as the app does, unless they are told with--offlinethat no other instance shares the pack volumes; a lock file indata/configthen is the whole lock.ldcmd packs restore(and the restore duringup) runspacks:restorein a one-off container with--no-deps, where Redis may not be up at all. It now passes--offlineexactly when this deploy dir's app service is not running. With the app running, nothing changes: the script reaches Redis and takes the lock.Older app versions ignore the flag.
Tests:
tests/run_all.sh(33 passed).🤖 Generated with Claude Code
https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
Pull request closed