Hive Hive
Sign in

Faster Tuist CLI auth on macOS by caching the auth token across calls

Metadata
Source
GitHub
Version
4.202.0-canary.28
Domains
Published
Jul 02, 2026 · 12:27 UTC
Repository
tuist/tuist
Update

The CLI now caches the resolved auth token inside the authentication controller so repeated operations no longer trigger a new keychain read on macOS. Previously every call to fetch the auth token hit securityd, which serializes under concurrency and added noticeable latency on hot paths like the compilation cache daemon. The cache is process-wide and single-flight, and it is invalidated ahead of the token’s expiry so refreshes still run. In practice, concurrent bursts now perform one underlying keychain read instead of one per call, which should noticeably reduce per-operation time on hosted macOS runners.