Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The specified task cannot be tracked #92814

Closed
haniamr opened this issue Mar 17, 2020 · 4 comments
Closed

The specified task cannot be tracked #92814

haniamr opened this issue Mar 17, 2020 · 4 comments

Comments

@haniamr
Copy link
Member

@haniamr haniamr commented Mar 17, 2020

  • VSCode Version: 1.43.0
  • OS Version: Windows 10 1909

Steps to Reproduce:
Complete steps here: microsoft/vscode-docker#1756

The problem only happens if using VS Code 1.43.0, I don't see it if I downgrade to 1.42.0. Are there any changes that we should accommodate for in the Docker extension?

Does this issue occur when all extensions are disabled?: No

@alexr00

This comment has been minimized.

Copy link
Member

@alexr00 alexr00 commented Mar 17, 2020

Looks like a duplicate of #92792. I can't get the complete repro steps to work, but seems likely to be the same issue.

@alexr00 alexr00 added the *duplicate label Mar 17, 2020
@vscodebot

This comment has been minimized.

Copy link

@vscodebot vscodebot bot commented Mar 17, 2020

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this Mar 17, 2020
@alexr00 alexr00 added bug tasks candidate and removed *duplicate labels Mar 19, 2020
@alexr00 alexr00 added this to the February 2020 Recovery milestone Mar 19, 2020
@alexr00 alexr00 reopened this Mar 19, 2020
@alexr00 alexr00 closed this in d514636 Mar 19, 2020
@alexr00 alexr00 reopened this Mar 19, 2020
@alexr00

This comment has been minimized.

Copy link
Member

@alexr00 alexr00 commented Mar 19, 2020

This ended up being a separate issue. It affects tasks with dependsOn, where one of the dependsOn fails. The next time the task is run, it will get stuck.

alexr00 added a commit that referenced this issue Mar 23, 2020
Fixes #92814
alexr00 added a commit that referenced this issue Mar 23, 2020
Fixes #92814
@alexr00 alexr00 closed this Mar 23, 2020
@alexr00

This comment has been minimized.

Copy link
Member

@alexr00 alexr00 commented Mar 24, 2020

To verify, add the following to a launch configuration:

"preLaunchTask": "depends task"

And these tasks:

		{
			"label": "depends task",
			"problemMatcher": [],
			"command": "echo hello",
			"type": "shell",
			"dependsOn": "fails task"
		},
		{
			"label": "fails task",
			"problemMatcher": [],
			"type": "shell",
			"dependsOn": "sleep task",
			"command": "exit 1"
		},
		{
			"label": "sleep task",
			"command": "timeout 11", // or sleep 11 if not on windows
			"problemMatcher": [],
			"type": "shell"
		}

Run the launch config twice. Verify that both times you get the same dialog that says the task has terminated. Verify that you never see a dialog saying that the task cannot be tracked.
Then, change the "exit 1" command in the "fails task" to "exit 0" and run the launch config again. Verify that it succeeds.

@isidorn isidorn added the verified label Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.