Skip to content

Conversation

@mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Jan 5, 2023

1/2 main <- this <- #3059

Demo

Screen.Recording.2023-01-06.at.2.33.29.pm.mov

@mattseddon mattseddon added the product PR that affects product label Jan 5, 2023
@mattseddon mattseddon self-assigned this Jan 5, 2023
@mattseddon mattseddon force-pushed the add-queue-actions branch 2 times, most recently from b265db0 to ebf2f74 Compare January 5, 2023 04:58
@mattseddon mattseddon changed the title Add new queue actions (stop and kill) Add new stop queue action Jan 6, 2023
@mattseddon mattseddon marked this pull request as ready for review January 6, 2023 03:55
@mattseddon mattseddon requested a review from shcheklein January 6, 2023 04:35
Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

},
{
"command": "dvc.stopExperimentsQueue",
"when": "dvc.commands.available && dvc.project.available"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stop queue command is always available even when the queue isn't running. Would we want the command to only be available when the queue is running?

Copy link
Contributor Author

@mattseddon mattseddon Jan 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would need to interrogate dvc queue status to know whether or not there is anything running as the information is not readily available from exp show (queue can be started outside of VS Code, e.g in a terminal). It is essentially a no-op when the queue is not running. For now, this is good enough.

@mattseddon mattseddon enabled auto-merge (squash) January 7, 2023 00:31
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit bb95168 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.4% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit d483fa9 into main Jan 7, 2023
@mattseddon mattseddon deleted the add-queue-actions branch January 7, 2023 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product PR that affects product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants