-
Notifications
You must be signed in to change notification settings - Fork 314
Restart sourcekitd and clangd after they have crashed #353
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
…ng of clangd This will later allow us to restart clangd while keeping the same shim.
@swift-ci Please test |
Thanks! It'll take me a bit to go through the whole change again since it's been a while. In the meantime, please regenerate the linux test manifests:
|
f57eafc
to
f5f26bf
Compare
Thanks for the thorough review @benlangmuir! Unfortunately I can't answer all of your questions in full detail, since it's just been too long since I wrote the original code. I can look into some of the questions in more detail if you think that's useful, though. @swift-ci Please test |
@swift-ci Please test |
f5f26bf
to
8e7968b
Compare
@swift-ci Please test |
version: snapshot.version, | ||
text: snapshot.text) | ||
// Re-open the document but don't register for build system notifications again since | ||
// the document is still open in the build system server from before the sourcektid crash. |
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.
This comment is now out of date. Otherwise, LGTM.
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.
Yikes. I’ve removed the comment. Let’s get this merged. 🚀
8e7968b
to
a0c9b30
Compare
@swift-ci Please test |
This is a rebase of #219 to the current state of
main
.Since the rebase was non-trivial and the project has changed in the meantime I would appreciate a re-review ;-)