-
Notifications
You must be signed in to change notification settings - Fork 0
Remove unused fronend dependencies #92
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
Conversation
thlehmann-ionos
commented
Oct 7, 2025
- Remove pyodide (frontend code execution is disabled)
- Remove cypress (e2e tests) (they're broken and we modified the UI drastically) (also removed one critical npm vulnerability)
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.
Pull Request Overview
Removes frontend Python execution (Pyodide) and Cypress E2E testing infrastructure to eliminate unused dependencies and simplify the build.
- Removed all Pyodide-related workers, execution logic, and configuration options except for retaining only the Jupyter engine.
- Removed Cypress test suite, related scripts, and dependencies.
- Cleaned package scripts to drop Pyodide fetch step and eliminated unused dependencies (pyodide, cypress, eslint-plugin-cypress, undici).
Reviewed Changes
Copilot reviewed 14 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/routes/+layout.svelte | Removed Pyodide worker import and Python execution handler branch. |
| src/lib/workers/pyodide.worker.ts | Deleted Pyodide worker implementation. |
| src/lib/pyodide/pyodideKernel.worker.ts | Deleted alternate Pyodide kernel worker. |
| src/lib/pyodide/pyodideKernel.ts | Deleted Pyodide kernel wrapper class. |
| src/lib/components/chat/Messages/CodeBlock.svelte | Stripped Python execution UI and worker logic. |
| src/lib/components/admin/Settings/CodeExecution.svelte | Restricted engines list to Jupyter only. |
| package.json | Removed Pyodide/Cypress scripts and dependencies. |
| cypress/** (multiple) | Removed Cypress config, support, tests, and fixtures. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
d38d5db to
ab970b1
Compare
9e0de8f to
a01d928
Compare
ab970b1 to
46d09ca
Compare
|
looks good to me |
toscharfmoc
left a 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.
thumbs up
46d09ca to
aaac397
Compare
* They're broken anyway * We changed the application in a way that they're no longer compatible Refs: PRODAI-198
* Code execution is not enabled * Building pyodide heavily contributes to the build time and image size Refs: PRODAI-198
a01d928 to
66a70a4
Compare