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.

贡献指南

打开贡献指南

调研方向

未指定文件或测试。首先跟踪在原地编辑 workflow action 版本时 extension 的 action-reference 验证和诊断刷新,然后尝试复现陈旧警告;当诊断反映最终版本且不需要重启 VS Code 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, typescript, vscode
领域
ci-cd, devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。