https://flyte.org logo
d

Dylan Wilder

05/03/2022, 10:09 PM
noticed something a bit buggy in 1.0.0.
flytekit.current_context().execution_id
has a few issues • during compile time it is a string of the form
ex:local:local:local
• during execution time it is a struct of the form project, domain, name and the name portion is empty
k

Ketan (kumare3)

05/04/2022, 1:39 AM
Execution id does not exist during compile time
d

Dylan Wilder

05/04/2022, 1:39 AM
That's fine, but the type is different 🙂
k

Ketan (kumare3)

05/04/2022, 1:46 AM
Aah ok
That is odd
d

Dylan Wilder

05/04/2022, 4:50 PM
Sorry there was a typo. Value is missing during runtime
y

Yee

05/05/2022, 1:07 AM
it’s missing during execution?
or it’s a struct?
d

Dylan Wilder

05/05/2022, 1:07 AM
Both :)
y

Yee

05/05/2022, 1:08 AM
oh it’s a struct, and the name is missing
got it
k

Ketan (kumare3)

05/05/2022, 1:08 AM
Ya it's init to a string
y

Yee

05/05/2022, 2:06 AM
watch this break the world
😄 1
d

Dylan Wilder

05/05/2022, 4:57 PM
Should probably also update the return type which says str
y

Yee

05/05/2022, 5:00 PM
done
d

Dylan Wilder

05/09/2022, 2:02 PM
is this targeted for 1.0.2?
y

Yee

05/10/2022, 5:28 PM
it’s targeted for the end of this month release… I think we should be able to make a patch release earlier though.
sorry for the delay
we have a meeting this week to discuss the release cycle (cc @Eduardo Apolinario (eapolinario) this is why i was asking)
please let me know if you want to be a part of it
3 Views