Skip to content

Commit ef147d0

Browse files
afbrockAdam Brock
andauthored
feat(related_to) add related_to field in runspec to point to parent run (#7592)
Links related runs. Signed-off-by: Adam Brock <adam@union.ai> Co-authored-by: Adam Brock <adam@union.ai>
1 parent a0a0c33 commit ef147d0

7 files changed

Lines changed: 2267 additions & 2169 deletions

File tree

flyteidl2/task/run.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ syntax = "proto3";
33
package flyteidl2.task;
44

55
import "buf/validate/validate.proto";
6+
import "flyteidl2/common/identifier.proto";
67
import "flyteidl2/common/phase.proto";
78
import "flyteidl2/core/literals.proto";
89
import "flyteidl2/core/security.proto";
@@ -125,6 +126,11 @@ message RunSpec {
125126
// Distinct from raw_data_storage.raw_data_prefix, which controls offloaded
126127
// blob (user data) layout.
127128
string run_base_dir = 14;
129+
130+
// Optional pointer to the single parent run this run was derived from (re-run, recover,
131+
// clone, or explicit SDK/CLI provenance). Set at creation, immutable thereafter, and scoped
132+
// to the same org/project/domain as this run.
133+
flyteidl2.common.RunIdentifier related_to = 15;
128134
}
129135

130136
message InlineRuleList {

gen/go/flyteidl2/task/run.pb.go

Lines changed: 167 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/go/flyteidl2/task/run.pb.validate.go

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/flyteidl2/task/run_pb2.py

Lines changed: 24 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/flyteidl2/task/run_pb2.pyi

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)