-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inputs outputs wrapper #4298
base: master
Are you sure you want to change the base?
Inputs outputs wrapper #4298
Conversation
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pingsutw can you remind me the difference between the agent.proto file and the external_plugin_service.proto file?
@@ -147,6 +147,12 @@ message GetDataResponse { | |||
// Single literal will be returned. This is returned when the user/url requests a specific output or input | |||
// by name. See the o3 example above. | |||
core.Literal literal = 3; | |||
|
|||
// InputData is returned when the user/url requests the input data for an execution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this just be one thing instead of two?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment they are identical messages but separating them out just in case we do want them to diverge... flyteDecks will be part of the output (maybe?) but not an input.... etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could swear I've responded to this 🤯 .
I made them separate in case we want to add unique properties to only inputs or ouputs (e.g. FlyteDecks)
SyncPeriod: &cfg.DownstreamEval.Duration, | ||
NewClient: func(cache cache.Cache, config *rest.Config, options client.Options, uncachedObjects ...client.Object) (client.Client, error) { | ||
return executors.NewFallbackClientBuilder(propellerScope.NewSubScope("kube")).Build(cache, config, options) | ||
Cache: cache.Options{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these changes related or is this just github flaking?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is what it looks like in main: https://github.com/flyteorg/flyte/blob/master/flytepropeller/cmd/controller/cmd/root.go#L132-L167 so I'm going to say glitching
// Inputs are the inputs required to start the execution. All required inputs must be | ||
// included in this map. If not required and not provided, defaults apply. | ||
// +optional | ||
core.InputData inputs = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this break existing agents? so you'll need to upgrade all agents to read this new field when deploying this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will populate both... so that the agent change can happen separately
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
There's something going wrong with named tuples. This is the workflow that's failing: https://github.com/flyteorg/flytesnacks/blob/master/examples/basics/basics/named_outputs.py The error: |
Signed-off-by: Haytham Abuelfutuh <[email protected]>
4540160
to
624e57f
Compare
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Tracking issue
#4654
Describe your changes
Check all the applicable boxes
Screenshots
Note to reviewers