-
Notifications
You must be signed in to change notification settings - Fork 2
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
new sessions/amalthea cleanup #524
Comments
This is most likely good by design. Any of these changes could render the session un-resumable, so it is best to freeze the launch settings.
We should probably open a full issue to implement image de-referencing at session launch. |
yes but as mentioned, we should inform users of this. And it's no just when unhibernating, also if the session failed to launch and is backoff restarting. How this will manifest for users when trying to create a custom image session is that they will set up the session and type e.g. a wrong entrypoint, they will edit the session to fix it, click launch again, and it will still fail because it's still using the old settings. So really there's two things, one is not informing users that the session needs to be fully stopped for changes to apply (or make it a conscious choice with a button that allows force-applying it?), and two that when session start failed, no shapshot should be created and changes should be applied immediately (or a failed session should be stopped completely? only if there were no previous successful launches?). To give an more tricky example, I'm playing with buildpack images right now and those run as user 1002, but we default to user 1000. The session will actually start and run for a second, and then fail due to a permission error, which I see in the logs. So I change UID to 1002 and click launch again, and it'll still fail because it's still UID 1000. |
Wait, why does this happen? The launch process should use the current settings from postgres. |
This is a UI issue and needs to be tracked there. |
There's several smaller issues with the new amalthea and sessions in data services code. This issue serves as a tracking issue for them.
:latest
won't updateThe text was updated successfully, but these errors were encountered: