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
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
After following the detailed guide of CircleCi + TurboRepo integration, I am getting cache miss all the time, even though I am pretty sure I have configured CircleCI secrets accordingly. Here's my repo+ CircleCi logs.
Expected Behavior
Should receive cache hit for identical job execution.
To Reproduce
Rerun job in circleCI
observe cache miss for identical job, instead of cache hit
The text was updated successfully, but these errors were encountered:
This appears to be an issue with how CircleCI environment variables work.
Because we're setting the environment variables on the project, you actually don't need to specify them in the workflow. Adding these in the workflow is overriding the variables set on the project because they have a higher precedence, so the environment variables literally end up being the strings $TURBO_TEAM and $TURBO_TOKEN, and your remote cache requests are failing to authenticate.
To fix this, just remove these lines, but make sure the correct variables are set in your project settings as described here.
Apologies for the error on the docs here - we will get this updated!
What version of Turborepo are you using?
1.2.16
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
After following the detailed guide of CircleCi + TurboRepo integration, I am getting cache miss all the time, even though I am pretty sure I have configured CircleCI secrets accordingly. Here's my repo+ CircleCi logs.
Expected Behavior
Should receive
cache hit
for identical job execution.To Reproduce
cache miss
for identical job, instead ofcache hit
The text was updated successfully, but these errors were encountered: