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
What package manager are you using / does the bug impact?
npm, Yarn v1, bun
What operating system are you using?
WSL but also tested on code sandbox
Which canary version will you have in your reproduction?
Tried on 1.13.4-canary.5 and on stable 1.13.3
Describe the Bug
When adding $TURBO_DEFAULT$ to inputs, turbo doesn't recognize it and instead caches no matter the change. Cache revalidation worked perfectly without $TURBO_DEFAULT$. But the second I used it as an input it served the cached run no matter what.
Expected Behavior
$TURBO_DEFAULT$ should work the same as the default inputs and even more important should invalidate the cache when files change.
To Reproduce
You can use the repo and first do yarn install.
Then do yarn run build --filter web. This will run build step of web package. It'll work find with no input section.
If you add "inputs": ["$TURBO_DEFAULT$" to build you end up having no cache invalidation.
ChurroC
changed the title
$TURBO_DEFAULT$ doesn't work as default anymore
$TURBO_DEFAULT$ doesn't work as default anymore in 1.13
May 23, 2024
ChurroC
changed the title
$TURBO_DEFAULT$ doesn't work as default anymore in 1.13
$TURBO_DEFAULT$ doesn't work as default anymore in 1.13.3
May 23, 2024
Hey @ChurroC, thanks for the issue. Could you try running with --no-daemon? It's possible that the daemon's implementation of file hashing is incorrect.
In case this is going to be investigated / fixed later on, I confirm in our project the combination of $TURBO_DEFULT$ and daemon was the problem too. Switching to --no-daemon mode solved the problem.
Verify canary release
Link to code that reproduces this issue
https://codesandbox.io/p/github/ChurroC/next-server-theme/main?import=true
What package manager are you using / does the bug impact?
npm, Yarn v1, bun
What operating system are you using?
WSL but also tested on code sandbox
Which canary version will you have in your reproduction?
Tried on 1.13.4-canary.5 and on stable 1.13.3
Describe the Bug
When adding
$TURBO_DEFAULT$
to inputs, turbo doesn't recognize it and instead caches no matter the change. Cache revalidation worked perfectly without$TURBO_DEFAULT$
. But the second I used it as an input it served the cached run no matter what.Expected Behavior
To Reproduce
You can use the repo and first do yarn install.
Then do yarn run build --filter web. This will run build step of web package. It'll work find with no input section.
If you add "inputs": ["$TURBO_DEFAULT$" to build you end up having no cache invalidation.
Additional context
Video of me testing on the code sandbox https://drive.google.com/file/d/1g9YsqGOQMxoyC8y0myBaiaegbwm5EOYX/view
Also tested on 1.13.0 and everything started working
The text was updated successfully, but these errors were encountered: