microsoft / microsoft/vscode-pull-request-github

checkout pull request hangs forever if the commands request interactive input

Đang mở
#4,993 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug
Ngôn ngữ chính
TypeScript
Star
2.6k
Fork
796
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
46

Mô tả

Type: Bug

When I run git commands that contact GitHub I (intermittently) get prompted first, like:

Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '140.82.112.3'
Offending key for IP in /home/briantist/.ssh/known_hosts:30
Matching host key in /home/briantist/.ssh/known_hosts:265
Are you sure you want to continue connecting (yes/no)?

I need to answer this before the command continues.

When using the "checkout pull request" feature in the extension, it sometimes works, or sometimes never completes at one of the steps it performs, often the "fetch" step, because the underlying command has an interactive prompt and the extension doesn't know how to deal with it.

I can request checkout of the PR again through the extension, and the messages will keep piling up unless one of them happens to hit an IP I already allowed.

There is no way to tell the extension to cancel the request, the only thing I've found that at least makes the message go away is to reload the entire window.

note: I understand the underlying reason for my specific prompt and have resolved it, but the issue of the extension not knowing what to do with it and requiring a reload is still a problem

Extension version: 0.66.2
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 63.71GB (14.47GB free)
Process Argv --crash-reporter-id 7d4def28-4448-4519-a0d3-3e3ad61146c2
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-18.04
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (12 x 2592)
Memory (System) 31.20GB (20.70GB free)
VM 0%
Item Value
Remote WSL: Ubuntu-18.04
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (12 x 2592)
Memory (System) 31.20GB (20.70GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30776702
vscaat:30438848
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
57b77579:30736110
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
pythongtdpath:30769146
i26e3531:30780429
pythonnosm12tcf:30779713
pythonidxpt:30772539
pythonnocebcf:30776496

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu từ quy trình checkout pull request và bước fetch của nó, sau đó lần theo cách các lệnh Git tương tác được khởi chạy và hiển thị. Công việc được xem là hoàn tất khi một prompt tương tác không còn khiến request bị treo và extension cung cấp cách xử lý hoặc hủy prompt đó mà không cần tải lại cửa sổ.

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

Đánh giá

Công nghệ
git, github, typescript, vscode
Lĩnh vực
developer-experience, devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/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.