DARPA-ASKEM / terarium

https://app.terarium.ai
Apache License 2.0
12 stars 2 forks source link

[TASK]: Investigate session management for model-configuration operator #4008

Open mwdchang opened 1 week ago

mwdchang commented 1 week ago

It seems like there are a lot of unnecessary calls to initialize jupyter-sessions when opening the model-configuration operator.

For example opening up the model-config operator, here we don't have beaker running, but nevertheless there are multiple failed connection requests, one would expect that after 2 or 3 we should fail and stop retrying (which seemed to be the bebaviour in other operators).

image

The errors seem to be coming from servies/jupyter.ts#newSession

It seems like model-configuration is initializing multiple sessions, to see this add a console.log into KernelSessionManager#init(...)