astral-sh/uv

`uv self update` may leave uv unusable if interrupted

Open

#12,142 创建于 2025年3月12日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Rust (3,111 fork)batch import
bughelp wantedwindows

仓库指标

Star
 (84,934 star)
PR 合并指标
 (平均合并 7天 16小时) (30 天内合并 259 个 PR)

描述

Description:

The current update process renames uv.exe to uv.exe.previous.exe before completing. If interrupted (e.g., by network failures or manual termination), this can leave uv unusable due to an incomplete update.

Suggested Improvement:

Ensure atomic replacement where uv.exe is only modified after the new version is fully validated.

贡献者指南