Skip to content
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

Duplicate GDPR fragment from VS Code repo #46625

Merged
merged 2 commits into from
Nov 3, 2021
Merged

Conversation

amcasey
Copy link
Member

@amcasey amcasey commented Nov 1, 2021

...because the tool doesn't handle cross-repro references.

Follow up to #46585.

...because the tool doesn't handle cross-repro references.
@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, @amcasey, @mjbvz, @minestarks for you. Feel free to loop in other consumers/maintainers if necessary

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 1, 2021
@andrewbranch
Copy link
Member

Should we not just remove it from VS Code then?

@amcasey
Copy link
Member Author

amcasey commented Nov 1, 2021

@andrewbranch Most of the uses are there.

@andrewbranch
Copy link
Member

I don't know enough about the system to understand why that matters.

@amcasey
Copy link
Member Author

amcasey commented Nov 1, 2021

I don't know enough about the system to understand why that matters.

I'm not sure I understand your question, so I'll just answer broadly. Basically, there's an include mechanism for these GDPR comments, but you can't include something from another repo. Since both repos refer to the same fragment, both repos have to declare it.

Why have a reusable fragment for a single property? I'm pretty sure there used to be multiple and, I assume, there might be multiple in the future.

@andrewbranch
Copy link
Member

Since both repos refer to the same fragment, both repos have to declare it.

This is what I assumed but wasn't sure of. I don't know what code patterns trigger the tooling in a way that requires the comment to be present, so I wasn't confident that both repos actually needed it. Intuitively, I would have expected that only VS Code needs any of these comments, since that's the place where this data actually gets sent to telemetry.

@amcasey amcasey merged commit e2f47a2 into microsoft:main Nov 3, 2021
@amcasey amcasey deleted the GdprFragment branch November 3, 2021 17:37
mprobst pushed a commit to mprobst/TypeScript that referenced this pull request Jan 10, 2022
* Duplicate GDPR fragment from VS Code repo

...because the tool doesn't handle cross-repro references.

* Explain functionality in more detail
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.

None yet

3 participants