Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apis/workflows/v1/task.proto
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@
tilebox.v1.ID task_id = 1 [(buf.validate.field).required = true];
// A display name for the task that has failed for visualization purposes.
string display = 2;
// Whether to cancel the job that the task belongs to.
bool cancel_job = 3;
// Whether the failure was caused by the workflow itself, as opposed to a failure in the task runner
// (e.g. a requested runner shutdown). If the task failure was not a workflow error, it won't be marked as failed,
// but will instead be QUEUED again. Since the task didn't actually fail, this does not count as a retry.
bool was_workflow_error = 3;

Check failure on line 85 in apis/workflows/v1/task.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "3" on message "TaskFailedRequest" changed name from "cancel_job" to "was_workflow_error".

Check failure on line 85 in apis/workflows/v1/task.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "3" with name "was_workflow_error" on message "TaskFailedRequest" changed option "json_name" from "cancelJob" to "wasWorkflowError".
// A list of progress updates that the failed task wants to report. Even if a task fails, it could
// still have made some progress before failing, and we want to reflect that progress.
// Since progress updates are idempotent, retrying the task and getting the same progress update again
Expand Down
Loading