-
Notifications
You must be signed in to change notification settings - Fork 39
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
Enable Real Time Collaboration in our Hubs #3027
Comments
To use real time collaboration in JupyterLab, we need jupyterlab-contrib/jupyterlab-link-share#10 to be fixed. jupyterlab-contrib/jupyterlab-link-share#21 is a proposed solution, and I'm testing it out here to see if it works properly. Ref berkeley-dsep-infra#3027
For use with data100 hub primarily. Brings in jupyterlab-contrib/jupyterlab-link-share#21 and jupyterlab-contrib/jupyterlab-link-share#24 Ref berkeley-dsep-infra#3027
For use with data100 hub primarily. Brings in jupyterlab-contrib/jupyterlab-link-share#21 and jupyterlab-contrib/jupyterlab-link-share#24 Ref berkeley-dsep-infra#3027
Checked with @davidwagner who is super excited for this Ref berkeley-dsep-infra#3027
Brings in jupyterlab-contrib/jupyterlab-link-share#27 as retrolab is going to be (hopefully) used by data8 Ref berkeley-dsep-infra#3027
Users are reporting some save issues on Piazza, and I wasn't able to debug this right now. Turning this off to see if it helps. Ref berkeley-dsep-infra#3027
@yuvipanda @ericvd-ucb and I found an interesting behavior of the RTC feature when we were exploring this functionality a few days ago in the Data 8 hub. I had a notebook file in the root folder of the tree. So I created a shareable link and then shared it with @ericvd-ucb and Elias. Once they accessed the notebook, any folder created in each of our directories was accessible for all of us. Am I making the right assumption here - Whenever a file within a specific directory gets shared with other users, it automatically updates the directory where it resides as a shared directory? Any additions/deletions to the shared directory gets updated for users with access to shareable links. If that be the case, I would like to add this behavior to our existing documentation |
@yuvipanda Need to enable this functionality in Ischool hub too! |
Per @balajilg Ref berkeley-dsep-infra#3027
Per @balajilg Ref berkeley-dsep-infra#3027
@balajialg so you're really giving full access to your entire server, rather than any particular file. This is fully equivalent to sharing an 'admin access' link with another user, although you can't shut down your own server with this link. So anything anyone with the link does is treated exactly like you are doing it yourself. |
This documentation captures the essence of today's discussion and the potential next steps! Pasting it below for future reference! Security Considerations for adopting RTC
Minimum requirements for use by students in a collaborative 'project'Tier 1
Tier 2
Maybe useful
|
Based on suggestions by @ericvd-ucb, I'm going to disable jupyterlab-link-share and RTC on all hubs except the dlab hub. Let's write out a doc that lays out the security posture, and let individual instructors make calls on when to enable this for now. Once we have better access control, we can enable it more broadly. |
I'm also going to leave it enabled in the ischool hub, as @balajialg is talking to those folks about how they can trial it. |
RTC is currently disabled across all hubs and the reasons are outlined in this issue #3517! |
Quick question @afshin - are any of the recent changes made on the YJS side in Lab had any impact on these data loss issues? I know the big refactoring is due for 4.0, but I was wondering if some of the recent work has made its way into 3.4.5 in a manner that would change our risk assessment? I'd very much love to have RTC available, but we can't really take any chances (this semester I'm teaching a huge class of ~ 1,200+, not my smaller one from the spring where I could afford to be a bit more risk-tolerant and conduct experiments). Thx for any input you might have. |
@fperez @yuvipanda @balajialg, That bug still exists in every current release and pre-release of JupyterLab. It will be resolved when we merge this PR which refactors RTC in JupyterLab. This PR is backward-incompatible, so it'll ship in a 4.0 alpha but it will not land in a 3.x release. We're pushing hard on merging it so we can iterate and get back to truly testing RTC in the wild. |
Understood, thx for the clarification @afshin! It helps us plan on our end, this means we're probably going to hold off for this semester on RTC, at least in very large courses like D100 where flexibility/risk have to be tightly controlled (smaller courses have a different dynamic). |
@aculich and I are interested in enabling this feature on the general DataHub as well as the D-Lab DataHub! Do you have an estimate of when this might be available? Thank you! |
Thanks, @VictoriaHoll for raising the request! We are waiting for Jupyter Lab 4.0 release to actually test the RTC feature. @afshin Do you have any inputs on when we can expect to test the RTC feature in our hubs? We have had multiple requests to enable RTC during the past 4-5 months (like the comment above). |
If we can get 3.6.0 out the door with the RTC machinery enabled soon, I'm inclined to test it again in Stat 159. 159 is a safer environment to test this in, as I have "only" ~70 students, a very knowledgeable GSI, and the focus is precisely collaborative research. We did last time (sp22), and that's how we found the data loss issues! It was a bit scary, but ultimately it led to the right fixes going in. |
@fperez Thanks for both your willingness to test RTC as part of Stat 159 and the update that RTC is part of the minor release 3.6 which I assumed was part of the 4.0 release earlier. |
Sure! All the big changes are meant for 4.0, but 3.6 has the key backports that should (that's why we need to test! :) fix the bugs we encountered in the spring. |
@fperez Got it. That makes sense. |
To use real time collaboration in JupyterLab, we need jupyterlab-contrib/jupyterlab-link-share#10 to be fixed. jupyterlab-contrib/jupyterlab-link-share#21 is a proposed solution, and I'm testing it out here to see if it works properly. Ref berkeley-dsep-infra/datahub#3027
For use with data100 hub primarily. Brings in jupyterlab-contrib/jupyterlab-link-share#21 and jupyterlab-contrib/jupyterlab-link-share#24 Ref berkeley-dsep-infra/datahub#3027
JupyterLab and Retrolab have realtime collaboration features now. They are a bit experimental, but work reasonably well. We should enable them in our hubs.
The text was updated successfully, but these errors were encountered: