voidzero-dev / voidzero-dev/vite-plus

bug: vp install can finish work but hang without exiting after vp up -r --latest

未关闭
#2,014 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
5.8k
派生
262
平均合并
23 小时 41 分钟
30 天内合并 PR
138

描述

### Reproduction

This seems to happen frequently after updating dependencies:

1. Run `vp up -r --latest`
2. Run `vp install`
3. Run `vp install` again if the lockfile/catalog state needs another pass after the update
4. The second `vp install` does all the work and appears finished, but the process does not exit

### Actual behavior

`vp install` appears done, but hangs instead of exiting cleanly.

### Expected behavior

Once install work is complete, `vp install` should exit normally.

### Notes

- This reproduces for me almost every time I update deps
- I just hit it on Codiff
- It used to happen on fate.technology as well

CC @fengmk2

贡献指南

打开贡献指南

调研方向

运行 `vp up -r --latest` 复现挂起,然后按照描述重复执行 `vp install`,并确认第二个命令完成工作但没有退出。从 `vp install` 命令的入口点开始,跟踪安装完成后的进程;在报告的依赖项更新场景中,命令正常退出即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
64/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。