One thing that would be helpful to pass to our age...
# flyte-support
g
One thing that would be helpful to pass to our agent is some of the contextual Flyte information about the launching project. Looking at the agent protobuf at https://github.com/flyteorg/flyte/blob/master/flyteidl/protos/flyteidl/admin/agent.proto I'm not seeing that info. Is that something that would make sense to add @glamorous-carpet-83516? (cc @mysterious-wire-46791)
f
I do think that should be on the context
m
I haven't been able to find it on the context. For instance, in my agent if I have something like
Copy code
FlyteContextManager.current_context().execution_state.user_space_params.execution_id
I get back
<FlyteLiteral project: "local" domain: "local" name: "local">
f
no you are right, i mean we can and should add it
👍 1
m
I'll take a stab at adding it, looking at adding something similar in https://github.com/flyteorg/flytekit/pull/2272
g
@gorgeous-waitress-5026 yes, it makes sense to add that
m
I think it is already there in task_template.id. Not sure how I missed it earlier🤦
f
haha, but that may not be the executing project and domain
not good to depend on that