Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions apis/workflows/v1/job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
int64 max_retries = 10;
// Whether the task has children in the user-visible tree.
bool has_children = 11;
// The ID of the cluster on which the task is scheduled to run.
tilebox.v1.ID cluster_id = 12;
// The slug of the cluster on which the task is scheduled to run.
string cluster_slug = 12;

Check failure on line 74 in apis/workflows/v1/job.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "12" on message "TaskSummary" changed name from "cluster_id" to "cluster_slug".

Check failure on line 74 in apis/workflows/v1/job.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "12" with name "cluster_slug" on message "TaskSummary" changed type from "message" to "string". See https://developers.google.com/protocol-buffers/docs/proto3#updating for wire compatibility rules and https://developers.google.com/protocol-buffers/docs/proto3#json for JSON compatibility rules.

Check failure on line 74 in apis/workflows/v1/job.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "12" with name "cluster_slug" on message "TaskSummary" changed option "json_name" from "clusterId" to "clusterSlug".
// Whether failure of the task is optional, either directly or through an optional ancestor.
bool optional = 13;
}
Expand Down
4 changes: 4 additions & 0 deletions apis/workflows/v1/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ message QueryJobLogsRequest {
tilebox.v1.Pagination page = 2 [features.field_presence = EXPLICIT];
// The direction in which to sort log entries. If not specified, defaults to ascending order (oldest entries first).
tilebox.v1.SortDirection sort_direction = 3;
// The ID of the task to query logs for. If not specified, logs for the full job are returned.
tilebox.v1.ID task_id = 4 [features.field_presence = EXPLICIT];
}

// QueryLogsInIntervalRequest is the request message for querying logs in a specific time interval.
Expand Down Expand Up @@ -48,6 +50,8 @@ message QueryJobSpansRequest {
tilebox.v1.Pagination page = 2 [features.field_presence = EXPLICIT];
// The direction in which to sort log entries. If not specified, defaults to ascending order (oldest entries first).
tilebox.v1.SortDirection sort_direction = 3;
// The ID of the task to query spans for. If not specified, spans for the full job are returned.
tilebox.v1.ID task_id = 4 [features.field_presence = EXPLICIT];
}

// PaginatedSpansData is the response message for paginated log queries. It's a message compatible with LogsData,
Expand Down
Loading