Skip to content

Add experimentation support to node LS proxy#14897

Merged
jakebailey merged 2 commits intomicrosoft:mainfrom
jakebailey:ls-exp
Dec 7, 2020
Merged

Add experimentation support to node LS proxy#14897
jakebailey merged 2 commits intomicrosoft:mainfrom
jakebailey:ls-exp

Conversation

@jakebailey
Copy link
Copy Markdown
Member

For #14895

Includes #14896 (shame there's no GitHub equivalent to a gerrit CL stack...). Will mark as not draft after that is merged.

Not sure if this deserves a news entry in "enhancements" or not.

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated. (Tested against pylance)
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • The wiki is updated with any design decisions/details.


protected async getInitializationOptions() {
return {
experimentationSupport: true
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This works like an LSP capability for backwards/forwards compatibility between things.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oops, so this got merged in #14896. I should have been more careful.

@jakebailey jakebailey changed the title [WIP] Fix LS handlers being registered too late in startup Fix LS handlers being registered too late in startup Dec 4, 2020
@jakebailey jakebailey changed the title Fix LS handlers being registered too late in startup Add experimentation support for LSs Dec 4, 2020
@jakebailey jakebailey changed the title Add experimentation support for LSs Add experimentation support to node LS proxy Dec 4, 2020
@jakebailey jakebailey marked this pull request as ready for review December 7, 2020 18:32
@jakebailey
Copy link
Copy Markdown
Member Author

Not sure why the CI is failing for all Python 2.

Copy link
Copy Markdown

@karrtikr karrtikr left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown

@karrtikr karrtikr left a comment

Choose a reason for hiding this comment

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

Can you please verify all relevant tests pass locally before merging?

@jakebailey
Copy link
Copy Markdown
Member Author

The tests pass for me. Thanks for the review.

@jakebailey jakebailey merged commit 8ddde41 into microsoft:main Dec 7, 2020
@jakebailey jakebailey deleted the ls-exp branch December 7, 2020 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants