Read-only editors for action.yml shows problems as if it were a workflow
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 63/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- github-actions, typescript, vscode
Research direction
Reproduce the issue by opening a read-only diff for an action.yml file and observe the false-positive Problems. Start by tracing how the extension distinguishes action metadata from workflow YAML in diff views, then verify that the file is identified as an action and no workflow-specific Problems appear.
Written by the indexing model from the issue text.
Description
Describe the bug
Some diffs (but not all!) show a load of false positive Problems for action.yml treating it as if it were a workflow YAML file.
Possibly this only affects read-only diffs.
To Reproduce
Steps to reproduce the behavior:
- Open a read-only diff of an
action.ymlfile
Expected behavior
action.yml should be correctly identified as an action not a workflow, in diff views
Screenshots
Top: an unaffected diff; bottom: an affected read-only diff
Extension Version
0.32.3
Additional context
(Originally opened in https://github.com/microsoft/vscode-pull-request-github/issues/8873 but it affects diffs unrelated to PRs)
- Dominant language
- TypeScript
- Stars
- 661
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/vscode-github-actions
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
github/vscode-github-actions#627 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
github/vscode-github-actions#625 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 64/100
github/vscode-github-actions#621 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
github/vscode-github-actions#619 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
github/vscode-github-actions#614 ·
All issues in github/vscode-github-actions
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·