Skip to content

Only flag x64 if AMD64#19052

Merged
SaschaCowley merged 1 commit into
masterfrom
amd64Only
Oct 9, 2025
Merged

Only flag x64 if AMD64#19052
SaschaCowley merged 1 commit into
masterfrom
amd64Only

Conversation

@seanbudd

@seanbudd seanbudd commented Oct 7, 2025

Copy link
Copy Markdown
Member

Link to issue number:

Fixup of #19020

Summary of the issue:

Since migrating alphas to 64bit, the NV Access server has been updated to refer 32bit OSs to 2025.3 rather than the latest NVDA version.
However, this was implemented incorrectly, checking the x64 parameter rather than osArchitecture.
Historically the x64 parameter is used to determine if the OS is AMD64, not if the OS supports 64-bit software, which includes ARM based OSs.
#19020 changed updateCheck to always send True for 64-bit OSs, whereas it should continue to only send the flag if AMD64 and instead the server should be fixed

Description of user facing changes:

None (with server side changes implemented)

Description of developer facing changes:

None

Description of development approach:

Restore update check behaviour to before 64-bit alphas

Testing strategy:

Test on prod

Known issues with pull request:

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

Copilot AI review requested due to automatic review settings October 7, 2025 01:41
@seanbudd seanbudd requested a review from a team as a code owner October 7, 2025 01:41
@seanbudd seanbudd requested a review from SaschaCowley October 7, 2025 01:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the update check behavior to correctly identify AMD64 architecture. It restores the x64 parameter to only be True when the OS architecture is specifically AMD64, reverting a change that incorrectly set it to always True for 64-bit systems.

  • Reverts the x64 parameter from always being True to only True for AMD64 architecture
  • Maintains the osArchitecture parameter to provide the actual processor architecture
  • Aligns with server-side logic that expects x64 to indicate AMD64 specifically, not just 64-bit capability

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@SaschaCowley SaschaCowley merged commit 42dfcfe into master Oct 9, 2025
29 checks passed
@SaschaCowley SaschaCowley deleted the amd64Only branch October 9, 2025 05:44
@github-actions github-actions Bot added this to the 2026.1 milestone Oct 9, 2025
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.

3 participants