Skip to content

[CLOSED] Reinitiate tooling service on Node process crash #12006

@core-ai-bot

Description

@core-ai-bot

Issue by shubhsnov
Wednesday Apr 24, 2019 at 18:43 GMT
Originally opened as adobe/brackets#14724


All tooling extensions dependent on LanguageClient module in Brackets must only initiate tooling service post the initialization of the module on Node side. On cold launch, we were waiting for the initialization and only then loading the respective client domain. However, when the node process crashes due to any issue, both the language server, as well as the initialized state in the node process are lost. The client then becomes useless.

Solution: Broadcasting an event in the Brackets context to inform the client to reinitiate tooling service once the node process is back up and initialized with LanguageClient module information.

Adding reference handling of the event in the PhpTooling extension.

ping@narayani28@swmitra@niteskum for review.


shubhsnov included the following code: https://github.com/adobe/brackets/pull/14724/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions