Skip to content

Conversation

apeng-stripe
Copy link

Preserve the document_id state that's used by Jupyter collaboration UI for server side execution mode.

Currently in jupyter-collaboration, if an out of band change happens (eg. user edits the file in non-RTC mode), the server will attempt to revert the document in memory to the source here, which is also the case in Jupyverse.

It deletes document_id in ystate and propagates it in an update to clients, to which they won't be able to execute cells anymore if server side execution mode is enabled, since they won't be able to provide a document_id in the HTTP execution request body. They will have to refresh their tab and sync again, as document_id is actually set on sync.

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.

1 participant