Skip to content
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

repro: do not autostage stage files #9689

Merged
merged 1 commit into from
Jul 3, 2023
Merged

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Jul 3, 2023

The logic is now moved to experiments, where it tracks all the stage related files itself. The _get_stage_files() has been modified to also return lockfile path, so that it can be staged, and has been moved to stage/utils.py, and out of reproduce.py.

Fixes #9688.

The logic is now moved to experiments, where it tracks all the stage related files
itself. The `_get_stage_files()` has been modified to also return lockfile path,
so that it can be staged, and has been moved to `stage/utils.py`, and out of `reproduce.py`.

Fixes iterative#9688.
@skshetry skshetry requested review from pmrowla and daavoo July 3, 2023 08:35
@skshetry skshetry added the bugfix fixes bug label Jul 3, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Patch coverage: 97.29% and project coverage change: -0.01 ⚠️

Comparison is base (fea2e6b) 90.55% compared to head (4b85b1d) 90.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9689      +/-   ##
==========================================
- Coverage   90.55%   90.54%   -0.01%     
==========================================
  Files         480      480              
  Lines       36353    36359       +6     
  Branches     5223     5226       +3     
==========================================
+ Hits        32918    32923       +5     
  Misses       2849     2849              
- Partials      586      587       +1     
Impacted Files Coverage Δ
tests/unit/repo/test_reproduce.py 100.00% <ø> (ø)
dvc/stage/utils.py 93.28% <93.33%> (+<0.01%) ⬆️
dvc/repo/experiments/executor/base.py 80.56% <100.00%> (+0.51%) ⬆️
dvc/repo/reproduce.py 98.68% <100.00%> (-0.22%) ⬇️
tests/unit/stage/test_utils.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@skshetry skshetry merged commit b7b6642 into iterative:main Jul 3, 2023
17 of 18 checks passed
@skshetry skshetry deleted the fix-9688 branch July 3, 2023 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix fixes bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

repro is staging metric files, dvcfiles, etc
2 participants