-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Some notes on the playground, how to reproduce, and what I'm testing for.
Repo to reproduce: here.
-
I'm running testing on a new version of the
example-get-startedthat I built with this updated gen script. -
The repo itself (that script from above generates) can be downloaded here. Should be enough to reproduce issues below described below. And can be useful for everyone as an easy entry point to try DVC 1.0 on a bit more sophisticated project.
-
This list below might include things not related 100% to the latest changes we introduced in 1.0, but all of them are potentially relevant. E.g., we change pipelines interface and should try scenarios around.
dvc repro behavior and UI/UX
-
I think we should assume:dvc.yamlprefix by default. Instead of running a stage like thisdvc repro dvc.yaml:prepare, I should be able to run it like this (ifdvc.yamlis found in the current dir? or if it is a single one in the project?)
$ dvc repro prepare
- Related to the previous one. We should probably accept an output as a target. It can solve some problems with autocomplete and improve experience. Related Quick listing of stages #3743 (especially last comments). (Extracted to repro: support running stage via it's output's name #3875)
$ dvc repro model.pkl
-
Repro excessive warning on the default target file name. Either make it info (in general I would say. default target: reduce loglevel to debug #3822WARNINGis a rare thing that we need to show), or don't show again. Instead make a message about the stage that we execute more meaningful (see below)
$ dvc repro
WARNING: assuming default target 'dvc.yaml'.
-
Import stage reusing lock mechanism leads to ugly warnings on every repro(PR: repro: do not log when stage is locked and is import #3823):
$ dvc repro
WARNING: stage: 'data/data.xml.dvc' is locked. Its dependencies are not going to be reproduced.
-
When I runlog: reduce log, make it readable/easier #3834dvc reproI don't really see the stage name being reproduced - we can probably include it w/o within the "Running command" message. It can solve the problem of some WARNING (see above). -
When you change something and it hits cache it feels that we need to explain a bit on what's going on? show summary of changes to the workspace?(Partially fixed by log: reduce log, make it readable/easier #3834)
dvc repro options
-
stage: fix --dry-run #3799--drydoes not work at all.
$ vim scr/train.py (some dummy change)
$ dvc repro --dry`
-
-p,.--pipeline- deprecate? It does not make sense moving forward to accept.dvcfiles.-pstill makes sense for running a pipeline of a given stage, even in 1.0.
Though,repro -pwill not work as either dvc file or stage name needs to be specified. -
Related to the previous one - we still accept
.dvcfiles intodvc repro- we should not be doing this anymore - semantics is not clear anymore. Deprecate or remove.dvc reprois still backward compatible. And, we cannot detect if the repo is 1.0-one,
as the repo can have a mixture of old-style dvcfiles and new pipeline files. -
repro: fix help message for default target #3831--helpreview and fix it. e.g. we don't expectDvcfileby default anymore.
$ dvc repro --help
DVC-file to reproduce. 'Dvcfile' by default.
-
We probably need "ignore-run-cache" option?run/repro: rename "build cache" -> "run cache" #3788 -
run/repro: rename "build cache" -> "run cache" #3788--ignore-build-cache- name can be confusing now. Do we keep the same semantics at all? (Same question regarding thedvc run.)
Other commands
-
dvc pipeline show- expectsDvcfile, should now do the same asdvc repro+ fix help. -
dvc pipeline showoutput is broken from a lot of different perspectives - see this comment for suggestions and details. -
We broke the progress bar for the
get/import. It is nowDownloading 0/1 filesvsDownloading 0/36.2Mbefore. Mean that we effectively don't show a progress bar for the case like:
dvc get https://github.com/iterative/dataset-registry get-started/data.xml -o data/data.xml
This is not fixed by reverting b312895?w=1
Extracted to #3874