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
### Description
Fixes#9681
We were setting remote cache items to whatever the value of
`remoteCache.enable` was. This incorrectly re-enabled parts of the cache
that had previously been disabled. The fix is to only care if users
explicitly disable remote caching, this works since if
`remoteCache.enable` isn't specified it is assumed to be `true`.
### Testing Instructions
Added failing unit test in first commit, it passes after the second
commit.
Verify canary release
Link to code that reproduces this issue
https://github.com/stelltec/turborepo-reproduce1
Which canary version will you have in your reproduction?
turbo 2.3.4-canary.6
Enviroment information
Expected behavior
If I enable
remoteCache
in rootturbo.json
I should be able to bypass caching and force rebuild using the
--force
flagActual behavior
Not sure if it's an expected behaviour but the
--force
flag is bypassed and there is no way to force rebuild:To Reproduce
--force
flagAdditional context
As per docs,
enabled:true
is the default. So I've found that this config:{ "remoteCache": { } }
actually works:
The text was updated successfully, but these errors were encountered: