[V2] Example script for run service#6983
Draft
machichima wants to merge 2 commits intoflyteorg:v2from
Draft
Conversation
Signed-off-by: machichima <nary12321@gmail.com>
This was referenced Mar 6, 2026
Signed-off-by: machichima <nary12321@gmail.com>
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link
main