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
Remove Yjs room locks #12288
Remove Yjs room locks #12288
Conversation
Thanks for making a pull request to jupyterlab! |
3ce778c
to
c6875ad
Compare
Thanks @davidbrochart. Mind providing some more context on what removing the locks will mean in practice? Or is it a follow-up to #11599, which means they are not needed anymore? |
Sorry for not providing more context, yes it is. Because it is not backwards-compatible, we decided not to include it in #11599, so that it can be back-ported. But yes, the locks are not needed anymore, now that we save from the back-end. |
OK thanks.
Let's document this in the extension migration guide? We can also mention the removal of https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#api-breaking-changes |
It looks like the Linux JS Flaky Tests failures are unrelated, as well as the pre-commit ones. |
Is it possible to pass this schema as a local file instead of requiring an outbound HTTP request in the pre-commit workflow? jupyterlab/.pre-commit-config.yaml Line 50 in 136fa76
Is that what is breaking here? |
cc: @blink1073, RE: pre-commit.ci ⬆️ |
Yeah, basically we'd have to completely rethink a bunch of stuff to make this repo compatible with pre-commit.ci, so I removed it. cf jupyterlab/frontends-team-compass#142 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup, thanks @davidbrochart!
Benchmark reportThe execution time (in milliseconds) are grouped by test file, test type and browser. The mean relative comparison is computed with 95% confidence. Results table
Changes are computed with expected as reference. |
Code changes
Remove the Yjs room locks.
User-facing changes
None
Backwards-incompatible changes
Rename
WebSocketProviderWithLocks
toWebSocketProvider
in@jupyterlab/docprovider
.