CodeQL CLI update dialog blocks extension start / update dialog is easy to miss
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- typescript, vscode
- 領域
- devtools
研究方向
從 extensions/ql-vscode/src/extension.ts 的第 207-208 行附近開始,然後透過等待 CodeQL CLI 發行版本或操弄 VS Code 全域儲存空間來重現更新條件。確認被忽略的更新對話框如何影響擴充功能動作,並將完成標準定義為允許擴充功能啟動,同時仍適當地顯示更新通知。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
Relates to #297, #447
When a CodeQL CLI update is available the start of the extension is blocked until the user interacted with the update dialog, see:
https://github.com/github/vscode-codeql/blob/db66184c35410bc2545a9d9a1d37305c8b99c2e6/extensions/ql-vscode/src/extension.ts#L207-L208
However, personally I think the info dialog shown by VSCode is easy to miss, especially when there are other dialogs from other extensions (and VSCode collapses the CodeQL dialog?).
When you then overlook CodeQL's dialog, you will wonder why the extension is not working.
Version
Extension:
CodeQL extension version: 1.5.1
CodeQL CLI version: 2.5.7
Platform: win32 x64
VSCode:
Version: 1.57.1 (user setup)
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:28:07.755Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19041
To reproduce
- Wait for the next CodeQL CLI release (maybe also possible with VSCode global storage manipulation)
- Start VSCode with the extension installed
- Activate the extension, for example by clicking on the "CodeQL" icon on the left sidebar
ℹ️ The extension should show an info dialog about the CodeQL CLI update in the bottom right corner - Ignore the update dialog (neither close it nor accept it)
- Try to use any extension action
❌ Nothing happens (note: from my memories; cannot test because there is no new CodeQL CLI release)
Expected behavior
Maybe the dialog should not be blocking and the extension should start with the existing CodeQL CLI?
- 主要語言
- TypeScript
- 星號
- 539
- 分支
- 240
- 平均合併
- 2 天 6 小時
- 30 天內合併 PR
- 29
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/vscode-codeql 的其他 Issue
-
bug VSCode
難度 2/5 1-3 小時 新手友好度 68/100
github/vscode-codeql#4471 · 1 則留言 ·
-
bug enhancement VSCode
難度 2/5 1-3 小時 新手友好度 68/100
github/vscode-codeql#592 · 2 則留言 ·
-
enhancement VSCode
難度 3/5 1-2 天 新手友好度 55/100
github/vscode-codeql#4432 · 1 則留言 ·
-
bug VSCode
難度 3/5 1-2 天 新手友好度 52/100
github/vscode-codeql#4356 ·
-
bug VSCode
難度 3/5 1-2 天 新手友好度 64/100
github/vscode-codeql#4339 · 1 則留言 ·
查看 github/vscode-codeql 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難度 2/5 1-3 小時 新手友好度 75/100
fil-donadoni/tolaria#4409 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot 未關閉
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 75/100
corsairdev/corsair#1764 ·