github / github/vscode-github-actions

"Unable to resolve action..." warning doesn't disappear after finishing edit

未關閉
#409 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
660
分支
213
PR 合併指標
30 天內沒有已合併 PR

描述

**Describe the bug**
Occasionally, when I edit a referenced action version, a warning about the non-existing version appears during editing and doesn't disappear after finishing the edit. For example, I changed the action from `slidoapp/xcresulttool@v2.0.0` to `slidoapp/xcresulttool@v3.1.0` by deleting "2.0" and replacing it with "3.1". However, the warning got stuck on "Unable to resolve action slidoapp/xcresulttool@v.0.0, repository or version not found." Even closing and reopening the workflow file didn't help, I had to restart VSCode to get rid of that warning message.

**To Reproduce**
Difficult to reproduce, it happens randomly while editing the referenced actions

**Expected behavior**
After finishing the edit, the plugin re-checks the existence of the final version of the action being edited (`v3.1.0`, not `v.0.0`).

**Screenshots**
image

**Extension Version**
`v0.27.0`

**Additional context**
Add any other context about the problem here.

貢獻指南

開啟貢獻指南

研究方向

No files or tests are named. Start by tracing the extension's action-reference validation and diagnostic refresh when a workflow action version is edited in place, then try reproducing the stale warning; done means the diagnostic reflects the final version without requiring a VS Code restart.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, typescript, vscode
領域
ci-cd, devtools
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。