-
Notifications
You must be signed in to change notification settings - Fork 7
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
Exception starting 1.10.4 due to dotnet trimming #61
Comments
A fix will be deployed with trimming turned off, but as it increases the binary size from 49MB to 106MB and the zip'd artifacts from 20MB to 42MB, this issue is used to track resolving properly and restoring trimming. |
## [1.10.5](v1.10.4...v1.10.5) (2023-11-19) ### Bug Fixes * exception on startup [#61](#61) ([2a69c0a](2a69c0a))
Almost certainly caused by the recent update to .net 7.0 and this breaking change.
While we did have Experimenting with the official revert approach ( However, what's curious is that the exception is specifically |
The initial exception can be resolved by marking
The impact on file sizes is:
It seems the safest option would be to deploy with TrimMode partial - resulting in a filesize increase from 56MB to 65.4MB as a result of moving from .NET 6 to .NET 7. However, with trimMode full but explicitly nominating the required trimmerRoots, we actually have a smaller file size (55.5MB), but the increased risk of a new assembly causing an issue. To mitigate this risk, propose updating the vscode e2e tests in the CI workflow to use the published/trimmed binary instead of A preliminary step will attempt to run the language server immediately (with a 2s timeout, as it doesn't end on it's own). This will make any trimmer-caused exceptions that prevent startup extremely obvious. Other issues will get caught by the vscode e2e tests. |
## [1.10.6](v1.10.5...v1.10.6) (2023-11-24) ### Performance Improvements * **language-server:** reduce binary size and improve CI gate (fixes [#61](#61)) ([d34d8a4](d34d8a4))
Also improves the CI gate - now uses the published binary in the vscode extension e2e tests ensuring that issues with the published, trimmed, ready-to-run, self-contained binary, are caught earlier.
# [1.11.0](v1.10.5...v1.11.0) (2024-03-11) ### Features * **intellij:** Add IntelliJ plugin (closes [#32](#32)) ([fad50b8](fad50b8)) * **intellij:** automatically download the language server if it's not found ([38db4b7](38db4b7)) ### Performance Improvements * **language-server:** reduce binary size (fixes [#61](#61)) ([5658484](5658484))
🎉 This issue has been resolved in version 1.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.11.0](v1.10.5...v1.11.0) (2024-03-11) ### Features * **intellij:** Add IntelliJ plugin (closes [#32](#32)) ([fad50b8](fad50b8)) * **intellij:** automatically download the language server if it's not found ([38db4b7](38db4b7)) ### Performance Improvements * **language-server:** reduce binary size (fixes [#61](#61)) ([5658484](5658484))
🎉 This issue has been resolved in version 1.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.11.0](v1.10.5...v1.11.0) (2024-03-11) ### Features * **intellij:** Add IntelliJ plugin (closes [#32](#32)) ([fad50b8](fad50b8)) * **intellij:** automatically download the language server if it's not found ([38db4b7](38db4b7)) ### Performance Improvements * **language-server:** reduce binary size (fixes [#61](#61)) ([5658484](5658484))
🎉 This issue has been resolved in version 1.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.11.0](v1.10.5...v1.11.0) (2024-03-11) ### Features * **intellij:** Add IntelliJ plugin (closes [#32](#32)) ([fad50b8](fad50b8)) * **intellij:** automatically download the language server if it's not found ([38db4b7](38db4b7)) ### Performance Improvements * **language-server:** reduce binary size (fixes [#61](#61)) ([5658484](5658484))
🎉 This issue has been resolved in version 1.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.11.0](v1.10.5...v1.11.0) (2024-03-11) ### Features * **intellij:** Add IntelliJ plugin (closes [#32](#32)) ([fad50b8](fad50b8)) * **intellij:** automatically download the language server if it's not found ([38db4b7](38db4b7)) ### Performance Improvements * **language-server:** reduce binary size (fixes [#61](#61)) ([5658484](5658484))
🎉 This issue has been resolved in version 1.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
To Reproduce
Start contextive v1.10.4
Expected behavior
It should start normally.
Desktop (please complete the following information):
All
Additional context
From local testing, is caused by the use of https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained
The text was updated successfully, but these errors were encountered: