<#7094 [V2] Pass run context to subaction + return...
# flyte-github
a
#7094 [V2] Pass run context to subaction + return in GetRunDetails Pull request opened by machichima 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
• #6583 • [V2] Pass run context to subaction + return in GetRunDetails 👈 flyteorg/flyte