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
Temporary page while tljh is building #605
Temporary page while tljh is building #605
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is amazing work, @GeorgianaElena! \o/ Absolutely awesome, thank you for picking this up.
The pid file is mostly used to just pass the pid of the running server from the bootstrapper to the installer, right? If so, can you pass it as a parameter to the installer, via https://github.com/jupyterhub/the-littlest-jupyterhub/pull/605/files#diff-3246cd4be92bfdc6105293969b81c0d9L177 or similar, instead of using a file to communicate? Probably simpler.
I also wonder if this should be behind password protection, in case the logs have sensitive information?
We should also put this behind a flag, so we can turn it on / off as we wish.
Either way, amazing work. Look forward to merging this :)
Thanks for the feedback @yuvipanda :)
There shouldn't be anything sensitive in the logs, sice we're only logging generic messages at each step. I think there might be some in case errors occur, but those go only to But if we decide to password protect the temporary page, maybe one way would be to use the user and password of the first What do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bunch more comments! This is looking good :)
In general, I think calling this 'install progress page' or some such might be more descriptive than 'temporary page'. What do you think?
Excited to get this going :)
Yep, that's the way to do it I think! But we can add that as a separate PR, not necessarily part of this one. |
what kinda tests do you think we should add to this? |
I added a test in Do you think this is a good enough test @yuvipanda? |
Things look good to me, @GeorgianaElena! I left some minor questions. Once we get the tests to pass this can be merged! \o/ |
56998cd
to
a9fe4e7
Compare
Tests are now passing @yuvipanda, if you want to take another look 🎉 |
The upgrade test is failing thanks to jupyterlab again, so I'm just going to merge this. AWESOME WORK, @GeorgianaElena! \o/ |
This shows a temporary page while tljh is building, that looks like this:
A few things to consider:
/logs
page has to be manually refreshed to update the logsTODO
Closes #70