-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Verify canary release
- I verified that the issue exists in the latest Turborepo 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