-
Notifications
You must be signed in to change notification settings - Fork 29
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
Queue: make sure tasks are hidden and all actions make sense in the table #3091
Comments
LGTM!
VS Code should only need to pass the experiment names to
|
[Q] Do we want to hide
|
@mattseddon are those two different questions? or one? I'm trying to better understand it, sorry .. :) |
Things that are currently implemented
From OP: 4 will be removed. Questions
|
My take:
Overall, it seems intimidating, even semantics of this. |
User facing names are currently
There is currently no way to stop an experiment that is being run inside the workspace outside of the VS Code context (i.e user runs it through the terminal). There is also currently no link between the ID of the experiment running in the workspace and the process that we can stop to stop that experiment, we could try to proxy the process if there is 1 running experiment and 1 process but that could go horribly wrong. This will make mashing these two concepts together problematic.
Remove action is implemented in both the table and a quick pick. The quick pick is about to be updated here: #3093. For stop we have a quick pick under the kill name for experiments running in/from the queue. We could add this functionality to the table. For previously stated reasons this will be more difficult for experiments not running in the queue.
I personally don't think that the concept the DVC team has put forwards/implemented for the queue is overly complicated or different from what I've seen elsewhere. I don't think we need to diverge too far from the semantics. I don't think we should go much further than integrating kill into the table and tweaking the name slightly to reflect stopping the experiment. |
My main concern that atm it requires an explanation I'm not trying to hide the queue as a term. Since we are queueing experiments it's fine that we use it in some ways and forms. What I'm trying to think about and optimize is that users immediately understand what each action does, they are not overwhelmed by the number of actions, etc.
Means that stop button doesn't work for these cases at all, even though we can show that experiment in the table? I thought that we had pid from DVC (and probably we can add it if needed)? Anyways, even there are some limitations, we should strive for semantic generalization and simplicity I think. |
Yes, the stop button will not work under those circumstances. That is why I started hiding it for these cases in #3027. Whilst I was working on that change I tried to find a place where the PID for the process running experiments is exposed by DVC but I couldn't find one. |
Seems to work although the CLI does throw an error under the circumstances listed in this comment. |
Should be ready for the next round of review |
As we discussed during the planning, I don't think exposing tasks in the table, quick pick makes sense. E.g. remove action - we should be (at least first) be able to remove any experiment including queued, failed in the queue, etc, etc.
From the user perspective- they don't care about tasks, celery, etc ... how it's implemented etc. All that stuff should be hidden by the experiments table and actions on experiments.
The text was updated successfully, but these errors were encountered: