Skip to content

Handling Backlogged RunRequests Triggered by Broken/Stuck Sensors #17967

Answered by alangenfeld
dennisgera asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a feature allowing the automatic cancellation of RunRequests deemed too old?

The current recommended approach would

  1. be to use a cursor with your sensor
  2. mutate that cursor in such a way to progress it forward.

https://docs.dagster.io/concepts/partitions-schedules-sensors/sensors#idempotence-and-cursors

Alternatively, is there a set of commands (script) to clear the queue of these backlogged RunRequests selectively?

#14203

Also, recent versions of the UI include a Terminate all... button on the Queued runs tab.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by garethbrickman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: sensor Related to Sensors
2 participants