gunk-dev/the-valley
the-valley:ida-7dd8b80idearaw

self-update: a kill between removing and adding the profile element leaves no client installed

State
question or idea
Created
2026-11-22 by contributor

Body

Self-update replaces the profile element by removing it and then adding the new one. A process killed between the two leaves no client installed while state still records the old installation; where the profile holds the only copy, the next scheduled run cannot start. Restoration handles returned errors only. Worth looking at an order that never leaves the profile empty (install the new build under a second priority, verify, then remove the old), or at recording intent before the removal so a later run can finish it.

Comments

No comments.