You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(api): take versionUpdateMu on Restart and rollback #1140
Update, backup, and snapshot create take versionUpdateMu. Restart and snapshot rollback do not, so they can run while an update still talks to the sidecar.
handleVersionRestart calls SelfUpdate.TriggerRestart with no lock.
handleVersionRollback creates a pre-rollback snapshot and restores data with no lock.
A Restart during pull/recreate is the field-shaped hole next to #989 (rollback pin does not survive Restart). This issue is the in-process mutex, not the compose pin.
What a fix needs
Take versionUpdateMu (or fail 409) on Restart and rollback.
Test: hold the mutex in a fake update; Restart and rollback must not start.
Activity
frahlg commentedon Oct 28, 2026
Fixed: Restart and rollback take versionUpdateMu.
🤖 Generated with Claude Code