Actions databases vs. quick-query: generated qlpack file depends on JavaScript, not Actions library
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
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript, vscode
- Lĩnh vực
- devtools
Hướng nghiên cứu
Tái hiện với một cơ sở dữ liệu Actions, lựa chọn cơ sở dữ liệu trong VSCode và một Quick Query. Bắt đầu tại dòng 28 của extensions/ql-vscode/src/databases/qlpack.ts, sau đó kiểm tra codeql-database.yml và đường dẫn autobuilder JavaScript của Actions extractor. Hoàn tất khi qlpack.yml được tạo xác định cơ sở dữ liệu Actions, để dòng import actions của query mới được phân giải.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
To reproduce:
Create any Actions database (codeql database create -l actions ...)
Select the database in VSCode
Create a Quick Query
Observe that the qlpack.yml file created depends on javascript-all, and so the import actions line in the fresh query doesn't resolve.
Cause is https://github.com/github/vscode-codeql/blob/main/extensions/ql-vscode/src/databases/qlpack.ts#L28 matching qlpacks vs. dbschemes, and the Actions extractor using the JavaScript dbscheme.
Possible solutions could include looking at the codeql-database.yml file, or having the Actions extractor rename the dbscheme file after invoking the JS autobuilder such that the database can be distinguished from a JS database using the existing dbscheme name heuristic.
- Ngôn ngữ chính
- TypeScript
- Star
- 539
- Fork
- 240
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 29
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/vscode-codeql
-
bug VSCode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
github/vscode-codeql#4471 · 1 bình luận ·
-
bug enhancement VSCode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
github/vscode-codeql#592 · 2 bình luận ·
-
enhancement VSCode
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
github/vscode-codeql#4432 · 1 bình luận ·
-
bug VSCode
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
github/vscode-codeql#4356 ·
-
bug VSCode
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
github/vscode-codeql#4339 · 1 bình luận ·
Tất cả issue của github/vscode-codeql
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
copse-dev/agent-pane#2953 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Đang mởbug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Client support matrix inclusion Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
calcite-components needs triage refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Esri/calcite-design-system#15203 ·