kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
352 stars 47 forks source link

Cloud: leaving the enclave logs page before finishing doesn't complete Starlark execution #2230

Open barnabasbusa opened 6 months ago

barnabasbusa commented 6 months ago

What's your CLI version?

0.87.2

Description & steps to reproduce

Create some enclaves, and see if you have source/services/ports.

Right now it only shows me unknown.

Screenshot 2024-02-27 at 23 42 49

Desired behavior

See all the services/sources/ports on the webui.

What is the severity of this bug?

Papercut; this bug is frustrating, but I have a workaround.

What area of the product does this pertain to?

Frontend: the Graphical User Interface, including the Enclave Manager

mieubrisse commented 6 months ago

Hey @barnabasbusa , how did you create these enclaves?

barnabasbusa commented 6 months ago

via the webui, just left the page before they were done creating

mieubrisse commented 6 months ago

Ahh yes, this is an unfortunate consequence of our current behaviour, where the Starlark run is actually synchronous (so if you leave the page, the Starlark stops executing, same as if you pressed Ctrl-C on the CLI). That's really bad/annoying though, I agree