Skip to content

[V2] Example script for run service#6983

Draft
machichima wants to merge 2 commits intoflyteorg:v2from
machichima:add-runs-task-script
Draft

[V2] Example script for run service#6983
machichima wants to merge 2 commits intoflyteorg:v2from
machichima:add-runs-task-script

Conversation

@machichima
Copy link
Member

@machichima machichima commented Mar 6, 2026

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

Docs link

Signed-off-by: machichima <nary12321@gmail.com>
Signed-off-by: machichima <nary12321@gmail.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a set of example shell scripts under runs/test/scripts/ to exercise Flyte V2 RunService APIs via buf curl, making it easier to manually list/watch runs and actions and to fetch/abort run/action details.

Changes:

  • Add watch scripts for runs, run details, actions, cluster events, and task groups.
  • Add list scripts for runs and actions (with basic pagination parameters).
  • Add get/abort scripts for run and action details.

Reviewed changes

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

Show a summary per file
File Description
runs/test/scripts/watch_runs.sh Example streaming WatchRuns requests by org or project scope.
runs/test/scripts/watch_run_details.sh Example streaming WatchRunDetails request for a single run.
runs/test/scripts/watch_groups.sh Example streaming WatchGroups request for project task groups.
runs/test/scripts/watch_cluster_events.sh Example streaming WatchClusterEvents request for an action attempt.
runs/test/scripts/watch_actions.sh Example streaming WatchActions request for actions under a run.
runs/test/scripts/list_runs.sh Example ListRuns request with limit/token parameters.
runs/test/scripts/list_actions.sh Example ListActions request with limit/token parameters.
runs/test/scripts/get_run_details.sh Example GetRunDetails request for a single run.
runs/test/scripts/get_action_details.sh Example GetActionDetails request for a single action.
runs/test/scripts/abort_run.sh Example AbortRun request including a reason.
runs/test/scripts/abort_action.sh Example AbortAction request including a reason.

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

@pingsutw pingsutw added this to the V2 GA milestone Mar 10, 2026
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.

3 participants