Skip to content
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

Add idle culler #366

Merged
merged 8 commits into from Jun 14, 2019
Merged

Add idle culler #366

merged 8 commits into from Jun 14, 2019

Conversation

GeorgianaElena
Copy link
Member

@yuvipanda, I decided to give this a try :D
However, I have some questions and doubts.
Is there a better way to access the cull_idle_servers.py, without actually copying it to TLJ?
I'm not sure about the test either... Is it ok for the it to be part of test_hub.py since the idle culler is managed by JupyterHub? Also, I'm not sure I'm testing correctly that the user's server was culled.

  • Add / update documentation
  • Add tests

Copy link
Collaborator

@yuvipanda yuvipanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

w00t, thanks for working on this important piece!

Copying the file around is not great, I agree. After this PR is done, maybe you can work on extracting it into its own package that can be then used here and in z2jh? I don't think that needs to block this though.

Either way, this looks great. Needs documentation, and I've a few comments on code style. Otherwise, <3.

(Apologies for the delay in reviewing, have been traveling)

tljh/configurer.py Outdated Show resolved Hide resolved
tljh/configurer.py Outdated Show resolved Hide resolved
tljh/configurer.py Outdated Show resolved Hide resolved
integration-tests/test_hub.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@yuvipanda yuvipanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great work! Thanks for adding the tests and the docs :)

I've left a bunch of comments about the docs. Let me know what you think :) I'm also happy to provide more suggested edits there if that'll make things easier for you.

Excited to get this going and get closer to a 1.0 release!

docs/topic/idle-culler.rst Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
docs/topic/idle-culler.rst Outdated Show resolved Hide resolved
@yuvipanda yuvipanda added this to the v1.0 milestone Jun 13, 2019
@yuvipanda yuvipanda changed the title WIP: Add idle culler Add idle culler Jun 14, 2019
@yuvipanda yuvipanda merged commit ba86dcb into jupyterhub:master Jun 14, 2019
@yuvipanda
Copy link
Collaborator

Congratulations on your second big PR being merged into TLJH, @GeorgianaElena! <3 \o/

@gsemet
Copy link

gsemet commented Jun 14, 2019

Look great !

@GeorgianaElena
Copy link
Member Author

Yay <3 thanks a lot @yuvipanda

@GeorgianaElena GeorgianaElena deleted the addIdleCuller branch September 19, 2019 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants