voidzero-dev / voidzero-dev/vite-plus

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

Đang mở
#2,014 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
5.8k
Fork
262
Merge trung bình
1 ngày 34 phút
Pull request đã merge (30 ngày)
135

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Reproduce the hang by running `vp up -r --latest`, then repeating `vp install` as described, and confirm that the second command finishes work without exiting. Start from the `vp install` command entry point and trace the process after installation completes; done means the command exits normally in the reported dependency-update scenario.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
64/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.