Uh oh!
There was an error while loading. Please reload this page.
[16] Make local installs atomic and concurrency-safe - #545
Conversation
sdairs
commented
Aug 26, 2026
Carry-over review from PR #502 (old PR for #456). This PR is strictly more complete than #502 (no unsafe, real stale-staging GC with owner-lock probing, interruption tested on both sides of the rename, power-loss-durable fsyncs, cross-platform sidecar invalidation, single commit-lock design). No sdairs review comments existed on #502 (its only review was an LGTM), so no carry-over concerns. Three items to address before merge:
Minor: the |
7f68e8a to
f445404Compare4d6e1c8 to
8882a2eCompare8882a2e to
f53fe98Comparef53fe98 to
aa8b340Compareaa8b340 to
eba0288CompareUh oh!
There was an error while loading. Please reload this page.
eba0288 to
ceb4711Compareceb4711 to
7052c22Compare7052c22 to
3918675Compare0955366 to
47dbbc4Compare47dbbc4 to
063a1cdCompareThere was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 063a1cd. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
0e4fe54 to
857ef90Compare857ef90 to
c6c89dbComparec6c89db to
80b0c24Compare333dcef to
95bf213Compare95bf213 to
69d3481Compare
Summary
local removewith install commits and require durable sidecar invalidation before deletion, preventing a successful removal from leaving stale master stateTests
cargo test -p clickhousectl version_manager::install::tests:: -- --test-threads=1(repeated)cargo test -p clickhousectlcargo fmt --all -- --checkcargo clippy -p clickhousectl --all-targets -- -D warningsCloses#456