-
Notifications
You must be signed in to change notification settings - Fork 40.4k
Dependency tasks can run more than once #180850
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstasksTask system issuesTask system issuesverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstasksTask system issuesTask system issuesverifiedVerification succeededVerification succeeded
Type
Fields
Give feedbackNo fields configured for issues without a type.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Execute the following to produce a suitable project:
Then trust the workspace, and hit Cmd-Shift-B to run task "A".
Both B and C depend on D.
I believe the correct behavior is for D to run, then B, then (since B and C are sequential) C, then A. But in fact, D runs twice.
Assuming D should only run once, I have a simple fix that applies on top of #180617. The fix doesn't apply cleanly to main though, so I'm not sure of the best way to submit a pull request (I could just include it as an extra commit on #180617).