-
-
Notifications
You must be signed in to change notification settings - Fork 69
fix: properly log when engine fails to initialize #244
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d6c6ff4 to
c93445d
Compare
c93445d to
3672c0b
Compare
badosu
commented
Dec 5, 2025
badosu
commented
Dec 5, 2025
badosu
commented
Dec 5, 2025
badosu
commented
Dec 5, 2025
3672c0b to
4e099f7
Compare
It can take many seconds until the engine is available, hence editors might time out the initialization. We still at least send an error $window/logMessage with the initialization error when it happens.
ff0aed9 to
dc9c8f1
Compare
badosu
commented
Dec 9, 2025
badosu
commented
Dec 9, 2025
badosu
commented
Dec 9, 2025
badosu
commented
Dec 9, 2025
badosu
commented
Dec 9, 2025
mhanberg
reviewed
Dec 9, 2025
mhanberg
reviewed
Dec 9, 2025
mhanberg
reviewed
Dec 9, 2025
mhanberg
reviewed
Dec 9, 2025
mhanberg
reviewed
Dec 9, 2025
- Also show errors in the client via window/showMessage - Improve logging cases - Only register with nodemapper when node started ok - For now do not introduce full expert test
3a79611 to
318d0d6
Compare
Now we start manually all application children instead of ensuring the application has started
318d0d6 to
e381804
Compare
mhanberg
reviewed
Dec 9, 2025
mhanberg
reviewed
Dec 9, 2025
21a1b68 to
d168107
Compare
mhanberg
reviewed
Dec 10, 2025
415c190 to
5ae550e
Compare
Contributor
Author
|
Let me know if there are any pending issues to be addressed. |
mhanberg
approved these changes
Dec 14, 2025
Member
mhanberg
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.
Looks good to me.
@doorgan let me know if you have any comments, if not lets merge.
Collaborator
|
Looks good to me too! I'll merge |
doorgan
approved these changes
Dec 14, 2025
badosu
referenced
this pull request
Dec 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously whenever there was some error initializing the project node a few things would happen:
expert.logNow:
This PR is motivated as an attempt to mitigate one of the many situations where expert fails silently, e.g.: #241
Remarks
didChangeConfigurationsince it was noop