Skip to content
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

feat: use [email protected] #2654

Merged
merged 18 commits into from
Mar 28, 2025
Merged

feat: use [email protected] #2654

merged 18 commits into from
Mar 28, 2025

Conversation

giacomocusinato
Copy link
Collaborator

@giacomocusinato giacomocusinato commented Mar 11, 2025

Motivation

Use [email protected].
Note that newer versions are currently not working because of ESM incompatibilty. See theia issue and Prototype ESM-only package workaround for unbundled back end

Change description

Based on #2362
The first commit includes all changes from #2363 rebased into main branch.

Main changes needed for upgrades after [email protected]:

Other information

Know issues:

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@arduino arduino deleted a comment from CLAassistant Mar 11, 2025
@arduino arduino deleted a comment from CLAassistant Mar 11, 2025
@giacomocusinato giacomocusinato changed the title [WIP] Use theia@latest Use theia@latest Mar 19, 2025
@giacomocusinato giacomocusinato added topic: code Related to content of the project itself topic: theia Related to the Theia IDE framework phase: implementation Work is in the implementation phase labels Mar 19, 2025
@giacomocusinato giacomocusinato changed the title Use theia@latest feat: use theia@latest Mar 19, 2025
@giacomocusinato giacomocusinato force-pushed the use-theia-latest branch 5 times, most recently from 46637f4 to 8a4b727 Compare March 20, 2025 12:13
@giacomocusinato giacomocusinato changed the title feat: use theia@latest feat: use [email protected] Mar 20, 2025
@giacomocusinato giacomocusinato force-pushed the use-theia-latest branch 5 times, most recently from a69a4e5 to 3adbd1d Compare March 25, 2025 09:08
@giacomocusinato giacomocusinato marked this pull request as ready for review March 25, 2025 09:10
@giacomocusinato giacomocusinato added type: enhancement Proposed improvement and removed phase: implementation Work is in the implementation phase labels Mar 25, 2025
@arduino arduino deleted a comment from CLAassistant Mar 25, 2025
Copy link
Contributor

@dankeboy36 dankeboy36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work

"vscode-builtin-cpp": "https://open-vsx.org/api/vscode/cpp/1.52.1/file/vscode.cpp-1.52.1.vsix",
"vscode-arduino-api": "https://github.com/dankeboy36/vscode-arduino-api/releases/download/0.1.2/vscode-arduino-api-0.1.2.vsix",
"vscode-builtin-cpp": "https://open-vsx.org/api/vscode/cpp/1.88.1/file/vscode.cpp-1.88.1.vsix",
"vscode-arduino-api": "https://github.com/dankeboy36/vscode-arduino-api/releases/download/0.2.1/vscode-arduino-api-0.2.1.vsix",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"vscode-arduino-api": "https://github.com/dankeboy36/vscode-arduino-api/releases/download/0.2.1/vscode-arduino-api-0.2.1.vsix",
"vscode-arduino-api": "https://github.com/dankeboy36/vscode-arduino-api/releases/download/0.1.2/vscode-arduino-api-0.1.2.vsix",

Thank you! However, it depends on your release plan. I would be happy to see the new API integrated into the IDE nightly, and everything should be compatible, but I can't guarantee anything. If any issues arise, I'm available to help resolve them, or you can revert to a previous version if needed.

Copy link
Collaborator Author

@giacomocusinato giacomocusinato Mar 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we would merge this PR once ready and release next week after a weekend of nightly test.
I won't mind also postponing the vscode-arduino-api update to the release after this one, to allow for longer nightly testing

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose reverting the changes for now, and after the IDE release, I will create a follow-up PR. Thank you!

@dankeboy36
Copy link
Contributor

dankeboy36 commented Mar 26, 2025

The Theia update is supposed to fix #2148. It would make sense to verify if the CLI daemon can reconnect. The LS reconnection will fail. See here:

instance: 1, // TODO: get it from the backend


Update: I have not verified it, but I assume IDE has to create a new daemon instance on reconnect, therefore the instance number will change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: theia Related to the Theia IDE framework type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants