vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo/docs
MIT License
26.21k stars 1.81k forks source link

Caching is broken #702

Closed samchouse closed 2 years ago

samchouse commented 2 years ago

What version of Turborepo are you using?

1.1.3-canary.0

What package manager are you using / does the bug impact?

Yarn v2/v3 (node_modules linker only)

What operating system are you using?

Linux

Describe the Bug

Caching isn't working properly. Eg: it doesn't follow scoping correctly, if there is cached output and it only ran on one scope, it won't run in others, only replay output.

• Packages in scope: @flux-ui/core, @flux-ui/docs
• Running lint in 2 packages
@flux-ui/docs:lint: cache hit, replaying output 54553e939619ca43
@flux-ui/docs:lint: Attention: Next.js now collects completely anonymous telemetry regarding usage.
@flux-ui/docs:lint: This information is used to shape Next.js' roadmap and prioritize features.
@flux-ui/core:lint: cache hit, replaying output fd55c39af58c14a4
@flux-ui/core:lint: ✔ No ESLint warnings or errors
@flux-ui/docs:lint: You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
@flux-ui/docs:lint: https://nextjs.org/telemetry
@flux-ui/docs:lint: 
@flux-ui/docs:lint: ✔ No ESLint warnings or errors

Expected Behavior

Caching to work

To Reproduce

Enable remote caching and change flags, etc.

samchouse commented 2 years ago

Nvm, seems to be working now, I deleted all local caches. Will reopen if it happens again.