Currently workspace execution for experiments is handled directly in repo.experiments, while temp dir (and eventually ssh) execution are handled through the experiments.executor classes. While the executor classes are being reorganized to account for ssh/remote executors, it makes sense for us to refactor the workspace execution handling so that it is in line with the rest of the API.
Somewhat adjacent to https://github.com/iterative/dvc/issues/6440 (but not a direct requirement)
Currently workspace execution for experiments is handled directly in
repo.experiments
, while temp dir (and eventually ssh) execution are handled through theexperiments.executor
classes. While the executor classes are being reorganized to account for ssh/remote executors, it makes sense for us to refactor the workspace execution handling so that it is in line with the rest of the API.