-
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
Run experiments in something other than the IntegratedTerminal #267
Comments
@rogermparent can we close iterative/dvc#5758? |
Initial investigations are not looking good for
From these findings I'll focus on getting a |
We can call any arbitrary logic in a VSCode Command, as it's just a function registered to a string.
Yeah, from my own research we'll need a
What functionality do we lose? The current functionality only just barely works and has been in need of a big rewrite for a while.
👍 The |
I think I can build something that acts a lot like tasks run through the Task API but that we don't have to expose through Hopefully everything will start to become apparent once I can get some code up. |
closed by #286. |
We want to run experiments in something other than the
IntegratedTerminal
, this is because the terminal acts as a black box that we cannot retrieve information from. We do not even know when a process has finished.We need to be able to track the process of a task and even cancel it for the new experiments functionality that we are looking to implement.
We should be able to switch to some kind of Task and use the Task Provider API. This should give us all of the functionality that we need but we should try and spike the functionality before deciding this is the best way to proceed or not. This may not be the only option available so we should have another look at the docs to see what is available.
Extra information:
Previously iterative/dvc#5758 & #220 were opened to try and address this issue but we now have extra information:
We can get the path to a Python virtual environment by running the following command (with the correct Python binary)
We can get the correct Python binary using VS Code's Python extension's public api (this was known previously).
We can then run dvc commands like this:
Note: Output channels were discussed as an option for this implementation but that is not somewhere I would generally look unless something has gone wrong with an extension.
The text was updated successfully, but these errors were encountered: