-
Notifications
You must be signed in to change notification settings - Fork 815
feat(proto): add task_type to TailLogsRequest for connector log routing #7313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,14 @@ message TailLogsRequest { | |
|
|
||
| // The attempt number. | ||
| uint32 attempt = 2 [(buf.validate.field).uint32.gt = 0]; | ||
|
|
||
| // +optional. Connector task type name (e.g. "airflow", "batch_job"). When set, the run service forwards this | ||
| // hint to the dataplane so log requests for connector tasks can be routed to the connector's GetTaskLogs RPC | ||
| // instead of pod logs. The UI populates this from the task template it already loaded for the run. | ||
| string task_type = 3; | ||
|
|
||
| // +optional. Connector task type version. Used together with task_type to identify a TaskCategory. | ||
| int32 task_type_version = 4; | ||
|
Comment on lines
+28
to
+34
|
||
| } | ||
|
|
||
| // Reponse message for tailing logs. | ||
|
|
||
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These new fields update the
.protosources, but the non-Go generated bindings appear not to be regenerated/committed (e.g. gen/ts and gen/python TailLogsRequest types still only have the old fields). CI runsmake bufand fails if it produces a diff (.github/workflows/check-generate.yml:126-128), so please rerunmake buf(or at least regenerate TS/Python/Rust outputs) and commit the updated generated files.