You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
devbox update never clears the git plugin cache #3105
Where:internal/plugin/update.go:4, git.go:18 and cache.go:59-64.
Cause:Update() only clears githubCache, so gitCache stays stale for up to 24h.
Related:getOrFetch treats any cache read error as fatal. filecache.Set writes non-atomically, so a truncated entry breaks plugin loading until the cache is cleared.
Fix: Clear both caches, and treat an undecodable entry as a cache miss.
Found by an automated code audit, listed as finding #27 in specs/bug-checks.md (#3061). Line numbers refer to commit f7d01a7.
Activity