Skip to content

Revert "Add CopilotRelated command (#59963)" #60486

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

Closed

Conversation

sandersn
Copy link
Member

This reverts commit 52c59db.
This feature didn't help, but it took a long time to verify that.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 12, 2024
@typescript-bot
Copy link
Collaborator

Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping @sheetalkamat, @mjbvz, @zkat, and @joj for you. Feel free to loop in other consumers/maintainers if necessary.

@typescript-bot
Copy link
Collaborator

Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page.

Also, please make sure @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up.

@sandersn
Copy link
Member Author

@RyanCavanaugh both @DanielRosenwasser and @sheetalkamat are out right now, so I want to make sure you know about this.
It'll need a cherry-pick to 5.7-rc as well.

Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

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

Do all clients understand not to attempt to call this anymore, given the message is removed? I know VS Code traditionally uses version numbers, but this is the first case where something is removed I think, so thinking of people who haven't updated their editors (or the current stable) maybe

@sandersn
Copy link
Member Author

sandersn commented Nov 12, 2024

Do all clients understand not to attempt to call this anymore, given the message is removed?

No. I thought I had some additional check for the existence of copilotRelated, but I just wrote the usual version check. So I think your offline suggestion of turning this into an empty-array-returning stub until 5.8 is a good one. That way vscode 1.95 won't crash on 5.7.

Actually, it's probably easier to write that from current main instead of on top of a revert, so I'll close this PR and open a new one.

@sandersn
Copy link
Member Author

Superceded by #60488

@sandersn sandersn closed this Nov 12, 2024
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants