Edge Function versions increment across all functions after updating secrets
All Edge Functions in a project increment their version numbers and trigger cold starts after a secret is updated, even when their source code has not changed.
Why this happens
Secrets in Supabase are scoped at the branch level. Adding or modifying any secret automatically invalidates the running isolates for every deployed function and increments the version counter.
Managing isolate recycles
To manage and minimize these recycles:
- Treat version bumps after secret changes as expected system behavior.
- Prepare for a cold start latency on the first invocation of each function immediately following any secret modification.