Open lwasser opened 4 years ago
ok that fixed it as far as i can tell. teh issue is that when you start modifying existing files gitpuller has a hard time deciding what to do. then the entire hub hangs while trying to load. @nkorinek this is why i wasn't merging that pr because i was uncertain. for the future we will have to be more careful about modifying existing files on the hub in a repo when they are connected to gitpuller. i'm closign this for now but we could also think about some docs around this as well.
Good catch (and fix!). I can only imagine the internal mess that gitpuller can get itself into...
Makes me want to re-evaluate the idea of wrapping that gitpuller step in some sort of python script that would fail gracefully and allow the pod startup to continue.
@kcranston yes it's funny because in this case - i had intentionally waited to merge that PR because i was afraid of this happening. we made a lot of updates to the lessons and to the dir structure. but gitpuller failing is definitely a problem because it completely stops the pod launch. In this case oddly -- if you wanted long enough it somehow resolved and loaded the pod but for most students (and me even) it was too much time and starting and restarting the pod.
i wonder if we could either run a shell script there or something via python with a try except?
i'm happy that i know enough now to troubleshoot however!! our docs ROCK!! yay!
@kcranston i think i know why this is happening. we made some big changes to the edsc repo where gitpuller is connected. @nkorinek and i changes some things and i knew it would cause conflicts.
well it's now causing the hub to hang. I know a future way to avoid this but for now... i was just going to create a new directory name for gitpuller to avoid this issue. does that seem reasonable?