Skip to content

feat: Provide an ergonomic way to cancel provisioner jobs #19432

@sreya

Description

@sreya

Right now there isn't a good way to mass-cancel jobs. This can be especially problematic with prebuilds because you can get in scenarios where you can completely saturate your provisioners with prebuild jobs that may never complete, preventing the control plane from being provisioning any human-initiated actions.

While technically scriptable, it's not ergonomic to mass cancel jobs related to a template or template version. It'd be nice if we offered an experience akin to the following

coder provisioner jobs cancel --template=dev --template-version=<id|active>

so that you can wipe out all the jobs related to a problematic template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions