Skip to content

Conversation

@mikeland73
Copy link
Collaborator

Summary

This adds new experimental env var DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL that controls how long devbox caches github plugins. The default is 24h.

Ideally we store plugin versions in lockfile, but this can help improve UX in the meantime.

How was it tested?

Added print statement to monitor network requests

DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL=0 devbox run echo hello DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL=1s devbox run echo hello DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL=1h devbox run echo hello
@mikeland73 mikeland73 requested review from gcurtis and savil October 1, 2024 00:04
@mikeland73 mikeland73 merged commit fc7a398 into main Oct 1, 2024
29 checks passed
@mikeland73 mikeland73 deleted the landau/add-cache-ttl branch October 1, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants