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
CLOUDFLARE_DEPENDENCIES_INSTRUMENTATION=false is ignored once a Worker has a secret #960
CLOUDFLARE_DEPENDENCIES_INSTRUMENTATION=false keeps void deploy --platform cloudflare from sending the app's package dependencies to Cloudflare, but only while the Worker has no secrets.
Once a Worker has a secret, Void uploads later versions itself through Cloudflare's Versions API so they keep it, and that upload always includes package_dependencies.
Void's Wrangler migration tells users who turned dependency instrumentation off in Wrangler to set this variable instead, so they start sending this data after their first secret.
To reproduce, set the variable, deploy to a Worker that already has a secret, and look at the JSON body of the version upload.
I checked this against a local mock of the Cloudflare API, not a real account.
Activity