We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb34d3 commit 202a2fbCopy full SHA for 202a2fb
apps/webapp/app/v3/services/cancelTaskRun.server.ts
@@ -104,18 +104,6 @@ export class CancelTaskRunService extends BaseService {
104
await this.#cancelRemainingRunWorkers(cancelledTaskRun);
105
}
106
107
- const cancelService = new CancelTaskRunService();
108
-
109
- // Cancel any dependent task runs
110
- for (const attempt of cancelledTaskRun.attempts) {
111
- for (const dependency of attempt.dependencies) {
112
- await cancelService.call(dependency.taskRun, {
113
- ...opts,
114
- reason: `Parent task run was cancelled`,
115
- });
116
- }
117
118
119
return {
120
id: cancelledTaskRun.id,
121
};
0 commit comments