Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Error when running CodeQL tests on codespaces

Đang mở
#1,067 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.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript, vscode
Lĩnh vực
devtools, testing-qa

Hướng nghiên cứu

Payload không nêu tệp hay bài kiểm thử nào của repository; hãy bắt đầu bằng cách tái hiện lần chạy kiểm thử CodeQL trong Codespaces và kiểm tra đầu ra của extension VS Code Remote. Kiểm tra stack trace được báo cáo của vscode-test-explorer-2.21.1 và xác định liệu repository hay extension đó chịu trách nhiệm; hoàn tất có nghĩa là lỗi được giải quyết hoặc nguyên nhân và đường dẫn tái hiện lỗi được ghi lại.

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

Mô tả

bug VSCode

A user is getting errors when trying to run codeql tests in codespace. Even though the errors were logged, the tests ran anyway. Creating an issue in case anyone can reproduce this.

Error Message

Stack trace from the "Log (Remote extension)" output pane:

[2022-01-05 16:41:53.030] [exthost] [error] TypeError: Cannot read property 'collection' of undefined
	at TestExplorer.<anonymous> (/home/codespace/.vscode-remote/extensions/hbenl.vscode-test-explorer-2.21.1/out/testExplorer.js:118:55)
	at Generator.next (<anonymous>)
	at /home/codespace/.vscode-remote/extensions/hbenl.vscode-test-explorer-2.21.1/node_modules/tslib/tslib.js:117:75
	at new Promise (<anonymous>)
	at Object.__awaiter (/home/codespace/.vscode-remote/extensions/hbenl.vscode-test-explorer-2.21.1/node_modules/tslib/tslib.js:113:16)
	at TestExplorer.run (/home/codespace/.vscode-remote/extensions/hbenl.vscode-test-explorer-2.21.1/out/testExplorer.js:113:24)
	at /home/codespace/.vscode-remote/extensions/hbenl.vscode-test-explorer-2.21.1/out/main.js:74:82
	at l._executeContributedCommand (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:94:111652)
	at l.$executeContributedCommand (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:94:112090)
	at i._doInvokeHandler (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:98:13802)
	at i._invokeHandler (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:98:13486)
	at i._receiveRequest (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:98:12148)
	at i._receiveOneMessage (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:98:11025)
	at /vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:98:8922
	at a.fire (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:66:1712)
	at l.fire (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:74:15990)
	at /vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:113:30514
	at a.fire (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:66:1712)
	at l.fire (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:74:15990)
	at u._receiveMessage (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:74:21260)
	at /vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:74:18138
	at a.fire (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:66:1712)
	at w.acceptChunk (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:74:13351)
	at /vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:74:12699
	at a.fire (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:66:1712)
	at /vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:113:19582
	at afterWrite (internal/streams/writable.js:466:5)
	at onwrite (internal/streams/writable.js:446:7)
	at InflateRaw.afterTransform (internal/streams/transform.js:103:3)
	at Zlib.processCallback (zlib.js:586:8) test-explorer.run
Ngôn ngữ chính
TypeScript
Star
539
Fork
240
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
37

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

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

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.

Issue khác của github/vscode-codeql

Tất cả issue của github/vscode-codeql

Issue tương tự

Thêm issue về TypeScript

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.