You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using pixi --version.
Reproducible example
git clone https://github.com/Hofer-Julian/pixi-task-cache-cwd
cd pixi-task-cache-cwd
pixi run start # it is not cached
pixi run start # it is cached but shouldn't be since output folder has been modified
The cache should be invalidated every single time.
However, when running pixi run --verbose start, one can read from the logs that a.txt isn't tracked.
So we get a cache hit, after the first run.
It should be possible to track folders that aren't in cwd. @wolfv wondered in #1139 (comment)
Now, I am not sure what we should do ... use the cwd or not? I do think that we may not want to use the cwd for the inputs and outputs path computation.
My first instinct was to not take it into account, so I have a slight preference for that.
The text was updated successfully, but these errors were encountered:
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
Another issue popped up with @Jingru923's work.
My minimal example has a task defined like this
The cache should be invalidated every single time.
However, when running
pixi run --verbose start
, one can read from the logs thata.txt
isn't tracked.So we get a cache hit, after the first run.
Related to #1139
Expected behavior
It should be possible to track folders that aren't in
cwd
.@wolfv wondered in #1139 (comment)
My first instinct was to not take it into account, so I have a slight preference for that.
The text was updated successfully, but these errors were encountered: