Hashing Outputs #10103
-
SummaryIt seems like turborepo decides to rebuild transitive dependencies based on input changes. e.g. if package But what happens if the input changes in Is there any way to make this behavior work? Can put together a minimal repro if I'm mistaken. ExampleMy use-case is that I have a temporal package that contains workflow definitions together with their bodies. Most changes we make are to the bodies, which means downstream packages need not be rebuilt (e.g. the outputs haven't changed). But in all cases for the current behavior: any changes to the input require our entire tree to be rebuilt, which is killing our cache hit ratio. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Output hashing is fundamentally different from input hashing for a variety of reasons. Please add your Discussion to this one if you have anything to add: #9535 |
Beta Was this translation helpful? Give feedback.
Output hashing is fundamentally different from input hashing for a variety of reasons. Please add your Discussion to this one if you have anything to add: #9535