Hive
feat: add pluggable cache provider with Tuist backend
GitHub issue · Closed
Source
tuist/once #47
Updated
Jun 24, 2026
Domains
Once
Summary
- Add a
CacheProviderabstraction infabrik-caswrapping the local CAS, withTuistas the first remote backend (writes mirror to the remote while a local CAS stays in front). - Add a new
tuistmodule covering OAuth login/logout (TuistAuth, browser prompt) and the cache transport againstapi/cache/cas,api/cache/keyvalue, andapi/cache/endpoints. - Extend the workspace manifest with a
cache_providerfield:local, named ({ name, account?, project? }), or directtuistconfig (url,endpoint,account,project,token_env,oauth_client_id); defaults tohttps://tuist.devandTUIST_TOKEN, validates env-var names. - Add
fabrik auth login|logout <provider>and thread the resolved provider throughbuild,run,test,exec,cache, anddeps/*viadispatch.rsand a newcache_providerresolver in the CLI.
Testing
- Not run (not requested)
No GitHub comments yet.