-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
What version of Turborepo are you using?
1.2.8
What package manager are you using / does the bug impact?
Yarn v1, Yarn v2/v3 (node_modules linker only)
What operating system are you using?
Mac
Describe the Bug
In some cases, cache is hit (altough it should be missed) after package dependencies has been changed.
Expected Behavior
Cache should be missed.
To Reproduce
Testing repo: https://github.com/cinan/turbo-cache-bug (this is vanilla turborepo installed with npx create-turbo@latest)
I ran yarn lint for the 1st time to build new cache. After that I changed packages/eslint-config-acme/index.js content and re-ran yarn lint. I can see FULL TURBO -- all caches are hit.
The 2nd time I ran yarn lint I'd expect cache is missed for all packages where eslint-config-custom dependency is mentiond in dependencies list.
Metadata
Metadata
Assignees
Labels
No labels