Skip to content

Launching ydoc-server together with language-server #13178

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

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

JaroslavTulach
Copy link
Member

@JaroslavTulach JaroslavTulach commented May 27, 2025

Pull Request Description

Checklist & TODO

Inception review has happened on May 28, 2025 and based on that following action items (related to this PR) were identified:

  • The documentation has been updated, if necessary.
  • Document development workflow for those who want to modify ydoc-server TypeScript code
  • All code follows the
    Scala,
    Java,
  • Unit tests have been written where possible.
  • Measure the increase in enso executable size - 480MB - e.g. increase of 74MB
  • Measure startup slow down - done - far less than 500ms
  • Drop ydoc-server-nodejs source code - done
  • Drop ydoc-server-nodejs docker image - done - there still is ydoc-server-polyglot docker image, in case we need 1:1 replacement for the docker image
  • Add --ydoc-port <number> option to language-server
  • Expand project/open to provide also ydoc-port value
  • Change corepack pnpm dev:gui to use this GraalVM based Ydoc server: done
  • Ensure .AppImage & co. are OK using the embedded ydoc-server
  • Ensure cloud is OK using the embedded ydoc-server

Copy link

github-actions bot commented May 27, 2025

✨ GUI Checks Results

Summary

  • 🧹 Prettier: ✅ Passed
  • 🧰 GUI Checks: ❌ Failed
  • 📚 Storybook: ✅ Deployed

⚠️ Action Required: Please review the failed checks and fix them before merging.

See individual check results for more details.

ℹ️ Chromatic Tests Skipped

Chromatic visual regression tests were skipped for this PR.

To run the tests and deploy Storybook, add the CI: Run Chromatic label to this PR.

Note: We skip tests by default to optimize CI costs. Only run them when your UI changes are ready for review.

👮 Lint GUI Results

Check Results

  • 🧠 Typecheck: ✅ Passed
  • 🧹 Lint: ❌ Failed
  • 🧪 Unit Tests: ✅ Passed

ESLint

🎭 Playwright Test Results

Summary

  • ⏳ Duration: 6m 51s
  • ✅ Passed: 344 tests
  • 🔴 Failed: 0 tests
  • ⚠️ Flaky: 0 tests

📥 Download Detailed Report

All tests passed! Your changes look good.

@JaroslavTulach
Copy link
Member Author

Snapshot of memory usage of the JavaScript inside of org.enso.runner.Main process:

2MB

The Y.doc JavaScript data structures are estimated to fit into 2MB of memory.

@JaroslavTulach
Copy link
Member Author

JaroslavTulach commented May 30, 2025

@hubertp hubertp added the CI: Clean build required CI runners will be cleaned before and after this PR is built. label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Clean build required CI runners will be cleaned before and after this PR is built.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants