Open shcheklein opened 8 months ago
Note that this only happens if the param
name is size
or nfiles
. 😅
@skshetry Do you have an idea for a fix? Or do we need to document these as reserved parameter names?
We are recursively excluding nfiles
and size
before "hashing" for stage cache, which is incorrect. But I have to think it through what impact this can have. Most likely, we'll be able to remove size
and nfiles
only from outputs that are not parameter dependencies.
Bug Report
Description
See this link https://stackoverflow.com/questions/77962532/dvc-using-cached-run-although-parameter-changed
Reproduce
Use this repo: https://github.com/shcheklein/test-dvc-so-77962532
Run with size 30, then change to 40, run
dvc status
, run dvc repro again. It's not running the pipeline, saying this:File size stays the same.
Logs
Expected
Running the stage.
Environment information