github / github/copilot-cli

Issues auto-updating CLI

Đang mở
#2,408 6 bình luận 5 reaction 0 người được giao Xem trên GitHub
area:installation
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the bug

It took 3 sessions to get the latest version of the CLI.

### Affected version

1.0.11 and 1.0.14

### Steps to reproduce the behavior

- I just started a new Copilot CLI terminal in VS Code Insiders (opened an integrated terminal, typed `copilot` myself, then asked one question), and I got an updating error after the CLI responded to my question. I'm using `v1.0.11` of the CLI.

> Error auto updating: Failed to download package: Error: ENOENT: no such file or directory, rename 'C:\Users\brmurtau.copilot\pkg\universal\1.0.14-0' -> 'C:\Users\brmurtau.copilot\pkg\universal.replaced-1.0.14-0-34924-1774894188189'

- I tried completely killing the terminal, opening a new one, and typing `copilot` and the same prompt again, and now I don't get the auto updating error message, but I do see there's a new version of the CLI (v1.0.14-0) that I wasn't auto-updated to
- If I kill the terminal again and then complete the same steps a third time, now I'm updated to `v1.0.14-0`

### Expected behavior

Auto-updating works correctly the first time I open a new terminal.

### Additional context

_No response_

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

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

Đánh giá

Issue này chưa được đánh giá.

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.