harbor run -t openthoughts/tasktrove-swegym-tasks-patched-validated-v2-swegym-0853harbor download openthoughts/tasktrove-swegym-tasks-patched-validated-v2-swegym-0853iterative/dvc217f2c4dbd4b38ab465f0b8bd85b369b30734d3diterative__dvc-22540.51cd /testbed
git clone https://github.com/iterative/dvc.git repo
cd repo
git checkout 217f2c4dbd4b38ab465f0b8bd85b369b30734d3d
# Activate environment
source /opt/miniconda3/bin/activate
conda activate testbed
# Install dependencies
python -m pip install --upgrade pip wheel GitPython; python -m pip install "cython<3.0.0" && python -m pip install --no-build-isolation pyyaml==5.4.1; python -m pip install git+https://github.com/iterative/mock-ssh-server.git || true; python -m pip install -r tests/requirements.txt || true; python -m pip install -r test-requirements.txt || true; python -m pip install -e ".[tests,dev,all_remotes,all,testing]"; python -m pip install "numpy<=1.20"; python -m pip install "pytest<8";
run: running the same command twice on a callback stage doesn't reproduce
version: 0.35.7+8ef52f
❯ dvc run -o hello 'echo hello > hello'
Running command:
echo hello > hello
Saving 'hello' to cache '.dvc/cache'.
Saving information to 'hello.dvc'.
❯ dvc run -o hello 'echo hello > hello'
Stage is cached, skipping.
The second run should have run the command again, as it is a callback stage.
tests/func/test_run.py::TestRunBadWdir::testtests/func/test_run.py::TestNewRunShouldRemoveOutsOnNoPersist::testtests/func/test_run.py::TestRunNoExec::testtests/func/test_run.py::TestRunBadWdir::test_same_prefixtests/func/test_run.py::test_run_deterministic_changed_deptests/func/test_run.py::TestRunBadName::testtests/func/test_run.py::test_keyboard_interrupt_after_second_signal_calltests/func/test_run.py::TestRunCommit::testtests/func/test_run.py::TestNewRunShouldNotRemoveOutsOnPersist::testtests/func/test_run.py::TestRunBadName::test_same_prefixtests/func/test_run.py::TestRunBadCwd::testtests/func/test_run.py::TestRunBadName::test_not_foundtests/func/test_run.py::TestRunDuplicatedArguments::testtests/func/test_run.py::TestRunDuplicatedArguments::test_non_normalized_pathstests/func/test_run.py::TestRunStageInsideOutput::test_file_nametests/func/test_run.py::TestRunDuplicatedArguments::test_outs_no_cachetests/func/test_run.py::TestRun::testtests/func/test_run.py::TestCmdRunCliMetrics::test_not_cachedtests/func/test_run.py::test_bad_stage_fnametests/func/test_run.py::TestRunPersistOutsNoCache::testtests/func/test_run.py::TestRunMissingDep::testtests/func/test_run.py::test_run_deterministic_changed_deps_listtests/func/test_run.py::test_keyboard_interrupttests/func/test_run.py::TestRunEmpty::testtests/func/test_run.py::TestShouldRaiseOnOverlappingOutputPaths::testtests/func/test_run.py::TestRunRemoveOuts::testtests/func/test_run.py::test_run_deterministic_overwritetests/func/test_run.py::TestShouldNotCheckoutUponCorruptedLocalHardlinkCache::testtests/func/test_run.py::TestCmdRunWorkingDirectory::test_default_wdir_is_writtentests/func/test_run.py::test_run_deterministic_remove_deptests/func/test_run.py::TestRunCircularDependency::testtests/func/test_run.py::TestRunCircularDependency::test_graphtests/func/test_run.py::TestRunCircularDependency::test_outs_no_cachetests/func/test_run.py::TestCmdRunOverwrite::testtests/func/test_run.py::TestCmdRunCliMetrics::test_cachedtests/func/test_run.py::TestCmdRunWorkingDirectory::test_cwd_is_ignoredtests/func/test_run.py::TestRunBadCwd::test_same_prefixtests/func/test_run.py::test_run_deterministictests/func/test_run.py::test_run_deterministic_changed_cmdtests/func/test_run.py::TestPersistentOutput::test_ignore_build_cachetests/func/test_run.py::TestRunBadWdir::test_not_foundtests/func/test_run.py::TestRunCircularDependency::test_non_normalized_pathstests/func/test_run.py::TestRunPersistOuts::testtests/func/test_run.py::TestRunStageInsideOutput::test_cwdtests/func/test_run.py::TestRunBadWdir::test_not_dirtests/func/test_run.py::test_run_deterministic_new_deptests/func/test_run.py::TestCmdRunWorkingDirectory::test_fname_changes_path_and_wdirtests/func/test_run.py::test_run_deterministic_changed_outtests/func/test_run.py::TestRunBadStageFilename::testtests/func/test_run.py::test_run_deterministic_callbackApply code changes directly inside /testbed/repo and use pytest to run any of the above test targets. Focus on making the failing tests succeed without regressing the existing passing suite.