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
fix(cli): serialize self-update per target with an OS-level advisory lock
Related #957
Two concurrent 'mcpproxy update' runs could read each other's mid-swap
sentinel state, misclassify it, and delete the only known-good backup.
The whole recover-and-swap sequence now runs under an exclusive
non-blocking flock (LockFileEx on Windows) on <target>.update-lock; the
second invocation fails fast with 'another update is already in
progress'. The lock file is never unlinked (unlink+relock races two
holders onto different inodes); the kernel drops the lock with the
process, so a crash cannot wedge future updates.
0 commit comments