Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

GitHub Actions Extension Shows Incorrect Job Dependency Error (v0.28.0)

Open
#525 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, typescript
Domain
devtools

Research direction

Start by reproducing the diagnostic with the sample GitHub Actions workflow, especially the needs array containing architecture-dependency-check, and compare it with the displayed error. Trace the extension's job-dependency validation and verify that the error names the actual referenced job; the workflow should continue to run without a false warning.

Written by the indexing model from the issue text.

Description

bug

Bug Report

Environment
  • VS Code Version: 1.105.1 (user setup)
  • GitHub Actions Extension Version: 0.28.0 (updated 3 weeks ago)
  • OS: Windows_NT x64 10.0.26200
  • Commit: 7d842fb85a0275a4a8e4d7e040d2625abbf7f084
Description

The GitHub Actions extension incorrectly validates job dependencies, showing an error for a non-existent job name instead of the actual job name defined in the workflow file.

Steps to Reproduce
  1. Create a GitHub Actions workflow file with a job named architecture-dependency-check
  2. Create another job that references this job in the needs: array
  3. The extension shows a validation error referencing a completely different job name
Expected Behavior

The extension should validate job dependencies against the actual job names present in the current workflow file.

Actual Behavior
  • Error message displayed: Job 'check-no-deployment' depends on unknown job 'foundation-architecture-scan'
  • Actual file content: needs: [build-test, architecture-dependency-check]
  • GitHub Actions execution result: Workflow runs successfully on GitHub
Sample Workflow Code
jobs:
  build-test:
    name: Build and Test
    runs-on: ubuntu-latest
    # ... job steps

  architecture-dependency-check:
    name: Architecture Dependency Check
    runs-on: ubuntu-latest
    # ... job steps

  check-no-deployment:
    name: Development Branch Status
    runs-on: ubuntu-latest
    needs: [build-test, architecture-dependency-check]  # This line shows the error
    # ... job steps

Workaround
Disabling and re-enabling the GitHub Actions extension temporarily resolves the issue.

Additional Context

  • This issue appears to be related to the extension update from 3 weeks ago (version 0.28.0)
  • The workflow file has been working correctly for weeks
  • Multiple VS Code restarts do not resolve the issue
  • The actual GitHub Actions execution works perfectly
    Impact
    While this doesn't affect functionality, it creates confusion and false error reporting in the development environment.
Dominant language
TypeScript
Stars
661
Forks
214
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-github-actions

All issues in github/vscode-github-actions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.