Including the ability to do bulk cancel and replaying.
In the dashboard we allow bulk cancel/replay and in the SDK you can also do this. It would be useful to have CLI commands for this.
For example, being able to cancel all runs for a specific task. The equivalent of this:
import { runs } from "@trigger.dev/sdk/v3";
for await (const run of runs.list({ taskIdentifier: "your-task-id", status: ["QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN"] })) {
await runs.cancel(run.id);
}In Review
π‘ Feature Request
Over 1 year ago

mattaitken
Get notified by email when there are changes.
In Review
π‘ Feature Request
Over 1 year ago

mattaitken
Get notified by email when there are changes.