improve: reduce calls to check for update, do local jwt refresh check#154
improve: reduce calls to check for update, do local jwt refresh check#154PrestigePvP wants to merge 4 commits intomainfrom
Conversation
Greptile SummaryThis PR reduces CLI latency by (1) replacing the blocking per-command GitHub update check with an async background goroutine writing to a 24-hour disk cache, and (2) replacing the blocking server-side Key concerns found during review:
Confidence Score: 2/5
Important Files Changed
|
Description 📣
Aims to fix issues (Infisical/infisical#1001) that several users pointed out regarding high latency CLI calls, especially for geographically distributed people using the CLI.
Type ✨
Tests 🛠️
Two new unit tests were added.