Skip to content

Feature Request: DagsterGraphQLClient.terminate_runs should support force option #28338

Open
@hbruch

Description

@hbruch

What's the use case?

Currently, DagsterGraphQLClient.terminate_runs and DagsterGraphQLClient.terminate_run only accept run_id/run_ids as parameter.

The terminatePolicy can't be specified and hence defaults to SAFE_TERMINATE.

Ideas of implementation

I suggest to add an addtional, optional param force: bool which, if true, will let the client execute with MARK_AS_CANCELED_IMMEDIATELY.

Additional information

(See also #28182 for context)

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions