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
I'd like to fix #4264: envvars.update() throws ReferenceError: name is not defined when called outside a task context (management API / deploy scripts).
I verified the root cause in packages/trigger-sdk/src/v3/envvars.ts — the non-task branch assigns $name = name!, but the third positional parameter is named nameOrRequestOptions, so name is not in scope. create / del / retrieve / list are unaffected. A previous PR for the same issue (#4265) was auto-closed because the author wasn't vouched.
The fix is ready locally: use nameOrRequestOptions (with a typeof === "string" guard), plus a patch changeset for @trigger.dev/sdk. Happy to open a draft PR once vouched.
Activity
matt-aitken commentedon Oct 7, 2026
We have a new Vouch policy, please see the discussion here: #5010