Skip to content

Fix dangling UploadMetadata reference in local-run inputs comment - #7753

Open
EngHabu wants to merge 1 commit into
mainfrom
enghabu/fix-local-run-inputs-comment
Open

Fix dangling UploadMetadata reference in local-run inputs comment#7753
EngHabu wants to merge 1 commit into
mainfrom
enghabu/fix-local-run-inputs-comment

Conversation

@EngHabu

@EngHabu EngHabu commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

CreateLocalRunRequest.offloaded_input_data still documents its upload path as DataProxyService.UploadMetadata, but that RPC was removed in the same PR that introduced it (#7737 — local runs moved onto the existing CreateUploadLocation API, routed via SelectCluster with OPERATION_LOCAL_RUN_DATA).

Comment-only change; regenerated.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VJa4n1pjJUBVQbjeWCZJyQ

CreateLocalRunRequest.offloaded_input_data still pointed at
DataProxyService.UploadMetadata, which was removed in the same change
that introduced the routed local-run data path. Point it at
CreateUploadLocation instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJa4n1pjJUBVQbjeWCZJyQ
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Copilot AI review requested due to automatic review settings August 3, 2026 16:29
@github-actions github-actions Bot added the flyte2 label Aug 3, 2026

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

Updates the documentation comment for CreateLocalRunRequest.offloaded_input_data to reflect the current upload API after the removal of DataProxyService.UploadMetadata, keeping the proto and generated client bindings consistent.

Changes:

  • Replace the stale DataProxyService.UploadMetadata reference with DataProxyService.CreateUploadLocation.
  • Add routing context via SelectClusterRequest.OPERATION_LOCAL_RUN_DATA in the comment.
  • Regenerate/update the corresponding Go and TypeScript generated files to match the proto comment.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
flyteidl2/workflow/local_run_service.proto Updates the field comment to reference CreateUploadLocation and the local-run routing operation.
gen/go/flyteidl2/workflow/local_run_service.pb.go Regenerates/updates the Go binding comment to match the proto.
gen/ts/flyteidl2/workflow/local_run_service_pb.ts Regenerates/updates the TS binding comment to match the proto.
Files not reviewed (1)
  • gen/go/flyteidl2/workflow/local_run_service.pb.go: Generated file

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

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