<#7653 Add common.Relation (related_to + relation_...
# flyte-github
a
#7653 Add common.Relation (related_to + relation_type) to RunSpec and Actio… Pull request opened by afbrock …nMetadata • New common.Relation message and RelationType enum (RERUN, RECOVER) in flyteidl2/common/run.proto. • RunSpec: deprecate related_to (15), add relation (18); server normalizes legacy related_to into relation with RELATION_TYPE_RERUN. • ActionMetadata: add relation (17) so provenance is returned by ListRuns and ListActions, which build responses from columns rather than the run_spec blob. Signed-off-by: Adam Brock adam@union.ai Tracking issue https://linear.app/unionai/issue/ENG26-870/be-make-relation-available-in-list-runs Why are the changes needed? These changes are needed to be able to re-use the relation field for recover, and also make the data available for list runs. What changes were proposed in this pull request? A relation that is specified in the runspec in create run will now be specified with a type as well. How was this patch tested? unit tests, devbox, staging 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 Stack If you do use
git town
to manage PR Stacks, the stack relevant to this PR will show below. Otherwise, you can ignore this section. Docs link flyteorg/flyte