Closed AlCalzone closed 2 years ago
Those flags are intended to work, I'll take a look and see if I can figure out what's up
@AlCalzone sorry about that, I missed those flags in our port of our flag parsing.
Also, we're looking to add more configuration management behavior to turbo
in the future, so while you're right that you can add them to .turbo/config.json
, we'll eventually have tools to help you do that .
Thanks for the quick fix, can confirm it works.
What version of Turborepo are you using?
1.4.7-canary.0 and later
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
Starting in v1.4.7-canary.0,
turbo run
ignores the--api
and--team
CLI options and always uses a local cache. I'm using https://github.com/felixmosh/turborepo-gh-artifacts for Github Actions caching and after upgrading turbo due to another bugfix, my builds are no longer cached. By running the server binary in that action locally, I can see that no HTTP requests are made on1.4.7-canary.0
and later versions. When going back to 1.4.6 this works again.One workaround is creating an (undocumented)
.turbo/config.json
file with a content similar to thisafter which the HTTP requests start happening again.
Expected Behavior
turbo run
should respect these CLI options or have an official way of configuring them.To Reproduce
Upgrade to
1.4.7-canary.0
or later, attempt remote caching on a custom URL using the--api
and--team
CLI options, notice cache misses all the time.