Skip to content

Rename cluster to queue#7397

Open
iaroslav-ciupin wants to merge 5 commits into
mainfrom
yaroslav/queue-idl
Open

Rename cluster to queue#7397
iaroslav-ciupin wants to merge 5 commits into
mainfrom
yaroslav/queue-idl

Conversation

@iaroslav-ciupin

@iaroslav-ciupin iaroslav-ciupin commented May 20, 2026

Copy link
Copy Markdown
Contributor

Tracking issue

Why are the changes needed?

What changes were proposed in this pull request?

How was this patch tested?

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Stack

If you do use git town to manage PR Stacks, the stack relevant to this PR
will show below. Otherwise, you can ignore this section.

Docs link

Signed-off-by: Iaroslav Ciupin <iaroslav@union.ai>
Signed-off-by: Iaroslav Ciupin <iaroslav@union.ai>
Copilot AI review requested due to automatic review settings June 12, 2026 18:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR renames the cluster field to queue in the Flyte v2 protobuf API surface for run/task execution targeting, and updates the generated client/server bindings accordingly.

Changes:

  • Rename TaskAction.clusterTaskAction.queue (flyteidl2/workflow/run_definition.proto + generated code).
  • Rename RunSpec.clusterRunSpec.queue (flyteidl2/task/run.proto + generated code).
  • Regenerate Go/TypeScript/Python artifacts (and buf validation stubs) to reflect the renamed fields.

Reviewed changes

Copilot reviewed 6 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
gen/ts/flyteidl2/workflow/run_definition_pb.ts Updates TS generated types/docs for TaskAction.queue.
gen/ts/flyteidl2/task/run_pb.ts Updates TS generated types/docs for RunSpec.queue.
gen/python/flyteidl2/workflow/run_definition_pb2.pyi Updates Python typing stubs for TaskAction.queue.
gen/python/flyteidl2/workflow/run_definition_pb2.py Updates Python generated descriptors for TaskAction.queue.
gen/python/flyteidl2/task/run_pb2.pyi Updates Python typing stubs for RunSpec.queue.
gen/python/flyteidl2/task/run_pb2.py Updates Python generated descriptors for RunSpec.queue.
gen/go/flyteidl2/workflow/run_definition.pb.validate.go Updates validation stub comments for renamed field.
gen/go/flyteidl2/task/run.pb.validate.go Updates validation stub comments for renamed field.
gen/go/flyteidl2/task/run.pb.go Updates Go generated struct/getter for RunSpec.queue.
flyteidl2/workflow/run_definition.proto Renames protobuf field clusterqueue on TaskAction.
flyteidl2/task/run.proto Renames protobuf field clusterqueue on RunSpec.
Files not reviewed (6)
  • gen/go/flyteidl2/task/run.pb.go: Generated file
  • gen/go/flyteidl2/task/run.pb.validate.go: Generated file
  • gen/go/flyteidl2/workflow/run_definition.pb.go: Generated file
  • gen/go/flyteidl2/workflow/run_definition.pb.validate.go: Generated file
  • gen/python/flyteidl2/task/run_pb2.py: Generated file
  • gen/python/flyteidl2/workflow/run_definition_pb2.py: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +54 to +56
// the specific queue that this action should be executed on.
// this value will be used to resolve the full queue id and store it in 'assigned_queue' field.
string queue = 4;
Signed-off-by: Iaroslav Ciupin <iaroslav@union.ai>
Copilot AI review requested due to automatic review settings June 16, 2026 19:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 14 changed files in this pull request and generated 2 comments.

Files not reviewed (6)
  • gen/go/flyteidl2/task/run.pb.go: Generated file
  • gen/go/flyteidl2/task/run.pb.validate.go: Generated file
  • gen/go/flyteidl2/workflow/run_definition.pb.go: Generated file
  • gen/go/flyteidl2/workflow/run_definition.pb.validate.go: Generated file
  • gen/python/flyteidl2/task/run_pb2.py: Generated file
  • gen/python/flyteidl2/workflow/run_definition_pb2.py: Generated file

Comment thread flyteidl2/workflow/run_definition.proto
Comment thread flyteidl2/task/run.proto
Signed-off-by: Iaroslav Ciupin <iaroslav@union.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants