Add WRANGLER_CACHE_DIR and MINIFLARE_CACHE_DIR environment variables#28364
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
|
Preview URL: https://f90c71cc.preview.developers.cloudflare.com Files with changes (up to 15) |
|
Hey there, we've marked this pull request as stale because there's no recent activity on it. This label is helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant). |
|
Hey there, we've closed out this pull request because it's been stale for a while and there's been no additional action on it. If these changes are still relevant, open a new pull request (or flag to us in a GitHub issue). |
|
Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant). |
|
Not stale - waiting for review |
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
cc07f3a to
fb934ee
Compare
|
❌ Cannot revive Devin session - the session is too old. Please start a new session instead. |
1 similar comment
|
❌ Cannot revive Devin session - the session is too old. Please start a new session instead. |
Summary
Documents two new environment variables introduced in cloudflare/workers-sdk#12466:
WRANGLER_CACHE_DIR— overrides Wrangler's default cache location (node_modules/.cache/wrangler)MINIFLARE_CACHE_DIR— overrides Miniflare's defaultcf.jsoncache location (node_modules/.mf)Both are useful for environments without a traditional
node_modulesdirectory, such as Yarn PnP.Things for reviewer to verify
.envsection at the bottom of the page should also include these new variables (currently omitted since they are niche/optional)Link to Devin run | Requested by: @petebacondarwin
Documentation checklist