-
-
Notifications
You must be signed in to change notification settings - Fork 691
Send architecture when update checking #14019
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
@@ -119,7 +119,8 @@ def checkForUpdate(auto: bool = False) -> Optional[Dict]: | |||
"version": versionInfo.version, | |||
"versionType": versionInfo.updateVersionType, | |||
"osVersion": winVersionText, | |||
"x64": os.environ.get("PROCESSOR_ARCHITEW6432") == "AMD64", | |||
"x64": os.environ.get("PROCESSOR_ARCHITEW6432") in ("AMD64", "ARM64"), | |||
"osArchitecture": os.environ.get("PROCESSOR_ARCHITEW6432"), |
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 change will require server side changes (to be recorded)
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 should be safe to merge as-is, with changes to the server implemented later
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.
It's worth raising that this is additional user tracking.
I don't think it is a big leap from tracking x64 vs x86.
The only difference is tracking which x64-bit architecture is in use, out of (AMD64, ARM64, IA64).
One potential negative - considering ARM64 and IA64 are more unusual, getting a thumbprint of a user based on their update check might become easier in theory.
Link to issue number:
None
Summary of the issue:
It was discovered in #12064 that NVDA sends the architecture to the update server when updating, but it doesn't properly distinguish between architectures. Therefore, NVDA should send which architecture is in use specifically.
Description of user facing changes
None, only for usage stats.
Description of development approach
Consistency of data is kept by not changing how the x64 key is determined in the dictionary.
The specific architecture is added as an extra key to the dictionary.
Testing strategy:
Known issues with pull request:
None
Change log entries:
Changes
Code Review Checklist: