Skip to content

Vouch request: fix envvars.update() ReferenceError (#4264) #4921

Description

@mahenoorsalat

Why do you want to contribute?

Looking to submit a fix for #4264. Calling envvars.update() outside of a task run currently crashes with ReferenceError because line 341 references 'name' instead of 'nameOrRequestOptions'. I have added parameter validation, fixed the variable assignment, and added unit tests in packages/trigger-sdk covering the non-task path and invalid arguments.

Prior contributions or relevant experience

Full-stack developer working with TypeScript, Node.js, and React. Comfortable with unit testing and monorepo workflows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions