Add binder progress and logs to status tab #2523
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When you click "Edit or run this notebook" on an HTML export, then Binder, it can take some time to start. Like we discovered in the past, long waiting times should be broken down into individual steps, and more information is good! E.g. #2399 and #2498
This PR uses the GUI from #2399 during the binder launch to show the current step (we can break a binder launch down into 5 steps), and we also relay the binder logs. The logs don't contain anything useful to the user, but they give a true sense of progress. (Rather than a fake loading bar 😇)
I used the
backend_launch_phase
for the subtasks of the backend launch, and I capture the JSON logs from the streaming mybinder.org API as logs in the little terminal, similar to #2498