keyshade-xyz / keyshade

Realtime secret and configuration management tool, with the best in class security and seamless integration support
https://keyshade.xyz
Mozilla Public License 2.0
155 stars 85 forks source link

Fix disabled caching in Turbo #208

Open rajdip-b opened 4 months ago

rajdip-b commented 4 months ago

Description

Currently, whenever we try to run tests, the scripts re-compile the build phase and test:unit phase of API over and over again. We would like to use turbo remote caching to help speed things up.

rajdip-b commented 4 months ago

@jamesfrye420 Wanna give this a shot?

jamesfrye420 commented 4 months ago

Only api or all workspaces?

rajdip-b commented 4 months ago

Yeah for all over, and the unittest in API.

jamesfrye420 commented 4 months ago

Do you want to do remote caching or just local caching?

jamesfrye420 commented 4 months ago

Nvm remote caching can be setup later, no need as of now

rajdip-b commented 4 months ago

I'm not entirely sure what would be the best. Last time we used NX cloud cache. So maybe this time too, we can go with cloud caching?

jamesfrye420 commented 4 months ago

Yea basically it is the same

Do you wanna host the cache in vercel or self host it?

jamesfrye420 commented 4 months ago

@rajdip-b could you list out all the workspaces in the project?

am I missing out anyhing?

rajdip-b commented 4 months ago

Nah thats all!

rajdip-b commented 4 months ago

Yea basically it is the same

Do you wanna host the cache in vercel or self host it?

We need to host it? :) can you send me some refs?

jamesfrye420 commented 4 months ago

Nah thats all!

Is docs a part of workspaces?

jamesfrye420 commented 4 months ago

Yea basically it is the same

Do you wanna host the cache in vercel or self host it?

We need to host it? :) can you send me some refs?

Umm you have 2 options, one is local cache which is specific to a local machine and stored and consumed by it

Other is cloud cache which is updated each time a new build is done and is shared by all machines

https://turbo.build/repo/docs/core-concepts/remote-caching

rajdip-b commented 4 months ago

Uh, ig we should stick to local rn