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

8998 exp run include new staged files #9017

Merged
merged 3 commits into from
Feb 14, 2023

Conversation

daavoo
Copy link
Contributor

@daavoo daavoo commented Feb 13, 2023

Closes #8998

@daavoo daavoo linked an issue Feb 13, 2023 that may be closed by this pull request
@daavoo daavoo force-pushed the 8998-exp-run-include-new-staged-files branch 2 times, most recently from 62b411d to ac9fd80 Compare February 14, 2023 11:35
@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Base: 93.02% // Head: 93.08% // Increases project coverage by +0.06% 🎉

Coverage data is based on head (366e322) compared to base (ed1ab7f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9017      +/-   ##
==========================================
+ Coverage   93.02%   93.08%   +0.06%     
==========================================
  Files         455      456       +1     
  Lines       36760    36799      +39     
  Branches     5318     5328      +10     
==========================================
+ Hits        34195    34256      +61     
+ Misses       2040     2020      -20     
+ Partials      525      523       -2     
Impacted Files Coverage Δ
dvc/repo/experiments/__init__.py 87.82% <ø> (-0.23%) ⬇️
dvc/repo/experiments/queue/base.py 86.40% <100.00%> (ø)
tests/func/experiments/test_stash_exp.py 100.00% <100.00%> (ø)
tests/conftest.py 83.33% <0.00%> (+1.51%) ⬆️
dvc/repo/experiments/queue/tempdir.py 81.94% <0.00%> (+2.77%) ⬆️
tests/unit/test_analytics.py 100.00% <0.00%> (+2.85%) ⬆️
dvc/analytics.py 92.95% <0.00%> (+4.22%) ⬆️
dvc/testing/fixtures.py 84.21% <0.00%> (+6.57%) ⬆️
tests/remotes/git_server.py 42.42% <0.00%> (+9.09%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@pytest.mark.parametrize("staged", [True, False])
def test_deleted(tmp_dir, scm, dvc, caplog, tmp, staged):
if not tmp:
pytest.xfail("TODO: https://github.com/iterative/dvc/issues/6297")
Copy link
Contributor Author

@daavoo daavoo Feb 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted files are still not handled properly for workspace in local init_git. Will fix in follow-up as the current P.R. already fixes #8998

@daavoo daavoo marked this pull request as ready for review February 14, 2023 12:38
@daavoo daavoo requested a review from pmrowla February 14, 2023 12:38
@daavoo daavoo self-assigned this Feb 14, 2023
@daavoo daavoo added the A: experiments Related to dvc exp label Feb 14, 2023
@daavoo daavoo enabled auto-merge (rebase) February 14, 2023 13:03
@daavoo daavoo force-pushed the 8998-exp-run-include-new-staged-files branch from ac9fd80 to cac9192 Compare February 14, 2023 13:04
@daavoo daavoo force-pushed the 8998-exp-run-include-new-staged-files branch from cac9192 to 366e322 Compare February 14, 2023 14:28
@daavoo daavoo merged commit 3207715 into main Feb 14, 2023
@daavoo daavoo deleted the 8998-exp-run-include-new-staged-files branch February 14, 2023 15:59
daavoo added a commit that referenced this pull request Feb 16, 2023
Closes #6297
#9017 actually fixed this but the test was incorrect (something wrong with caplog).
@daavoo daavoo mentioned this pull request Feb 16, 2023
daavoo added a commit that referenced this pull request Feb 16, 2023
Closes #6297
#9017 actually fixed this but the test was incorrect (something wrong with caplog).
daavoo added a commit that referenced this pull request Feb 16, 2023
Closes #6297
#9017 actually fixed this but the test was incorrect (something wrong with caplog).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Related to dvc exp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

exp run: include new staged files
2 participants