-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[task] add ability to restart running task #6811
Conversation
019409e
to
e014acb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this change in Gitpod with a multi root workspace.
Looks good to me.
dac5341
to
ce12455
Compare
@vince-fugnitto |
Fixes #5330 - adds a new command and menu item to `restart running task`. - updates the task-service methods `restartTask` and `terminateTask` to make them public so others may call them. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
ce12455
to
de7b06e
Compare
Thank you, it should be fixed in the latest iteration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vince-fugnitto
I'm testing your changes and can see thatrestart task
item is different fromrun task
item for adetected
taskThank you, it should be fixed in the latest iteration.
Yes, it's fixed now, thank you!
Did you notice tab details for a restarted task?
Is it expected and useful for tasks?
The behavior with tab details is not related to your changes, I just try to understand is it useful or we should fix it in future
Great!
I think it can definitely be improved, what would you suggest? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the changes for detected
tsc
tasks and for long running test task
- it works well for me!
I found some places to improve, but it's not related to the current PR changes, so I created the separate issues:
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com
What it does
Fixes #5330
restart running task
.restartTask
andterminateTask
to make them public soothers may call them.
How to test
theia/packages/task/test-resources
as a workspace.long running test task
.restart running task
to restart the task.Review checklist
Reminder for reviewers