Skip to content

[V2] Pass run context to subaction + return in GetRunDetails#7094

Open
machichima wants to merge 3 commits intoflyteorg:v2from
machichima:run-context-to-subaction
Open

[V2] Pass run context to subaction + return in GetRunDetails#7094
machichima wants to merge 3 commits intoflyteorg:v2from
machichima:run-context-to-subaction

Conversation

@machichima
Copy link
Copy Markdown
Member

@machichima machichima commented Mar 26, 2026

Tracking issue

Why are the changes needed?

  • Subaction should also get the same run context from its parent.
  • To update the Env vars when re-run a task in UI, we need to return env vars through GetRunDetails

What changes were proposed in this pull request?

  • Pass run context down to child actions
  • Return RunSpec in GetRunDetails API

How was this patch tested?

  • Run sandbox and ensure 1) run context appears in subactions; 2) We can see env var in the re-run page

  • subaction TaskAction CR:

image
  • subaction pod: image

  • UI re-run page image

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

  • main

Signed-off-by: machichima <nary12321@gmail.com>
Signed-off-by: machichima <nary12321@gmail.com>
@github-actions github-actions bot mentioned this pull request Mar 26, 2026
3 tasks
Signed-off-by: machichima <nary12321@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants