Skip to content

exp push/pull: QA #7448

@dberenbaum

Description

@dberenbaum

Some issues with exp push/pull:

  1. Message is no experiments to pull even when doing push:
$ dvc exp push origin -A
No experiments to pull.
  1. When push/pulling an already pushed/pulled experiment, it still shows as having been pushed/pulled again:
$ dvc exp push origin -A
Pushed experiment '['exp-93aeb']'to Git remote 'origin'.
$ dvc exp push origin -A
Pushed experiment '['exp-93aeb']'to Git remote 'origin'.
  1. If any commit is missing version info, an unexpected warning is shown.

Repro script:

#!/bin/bash
mkdir repo
mkdir dvcremote
mkdir gitremote
cd repo
git init
dvc init -q
dvc remote add -d default ../dvcremote
git remote add origin ../gitremote
git add .
git commit --quiet -m "init"
git clone --bare . ../gitremote
dvc stage add -n test -p p -o foo cp params.yaml foo
echo 'p: 1' > params.yaml
git add .
git commit -m "setup"
dvc exp run -S p=2
dvc exp push origin --rev HEAD

Output warning (irrelevant output excluded):

WARNING: Output 'foo'(stage: 'test') is missing version info. Cache for it will not be collected. Use `dvc repro` to get your pipeline up to date.
You can also use `dvc commit test` to associate existing 'foo' with stage: 'test'.
Pushed experiment '['exp-93aeb']'to Git remote 'origin'.

Might be related to #6592. The experiment being pushed doesn't have missing version info, nor does its parent commit.

Metadata

Metadata

Assignees

Labels

A: experimentsRelated to dvc expp1-importantImportant, aka current backlog of things to do

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions