Skip to content

Remove deprecated GetTaskLogs RPC #4201

@rjpower

Description

@rjpower

🤖 Filed by agent.

Summary

The GetTaskLogs RPC on ControllerService is now a thin forwarding shim to FetchLogs. All internal callers have been migrated to use FetchLogs with LIKE patterns directly.

What to remove (after 2026-05-01)

  1. Proto (lib/iris/src/iris/rpc/cluster.proto):

    • Controller.GetTaskLogsRequest message
    • Controller.TaskLogBatch message
    • Controller.GetTaskLogsResponse message
    • rpc GetTaskLogs(...) from ControllerService
  2. Controller service (lib/iris/src/iris/cluster/controller/service.py):

    • get_task_logs forwarding method
  3. Dashboard types (lib/iris/dashboard/src/types/rpc.ts):

    • Any remaining TaskLogBatch / GetTaskLogsResponse references
  4. Regenerate proto/connect code after proto cleanup

Context

The FetchLogs RPC now supports SQL LIKE patterns in the source field (e.g. /user/job/%), making GetTaskLogs' job/task ID parsing redundant. The child_job_statuses field on GetTaskLogsResponse is no longer populated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions