Skip to content

Move builds to windows-2025#18592

Merged
seanbudd merged 7 commits intomasterfrom
windows-2025
Jul 31, 2025
Merged

Move builds to windows-2025#18592
seanbudd merged 7 commits intomasterfrom
windows-2025

Conversation

@seanbudd
Copy link
Copy Markdown
Member

@seanbudd seanbudd commented Jul 30, 2025

Link to issue number:

Fixes #15104
Fixes #14372
Fixes #14353

Summary of the issue:

  • Most NVDA developers are on Windows 11, including all of NV Access, but NVDA is still being built on Windows Server 2022 (Windows 10 based).
  • Windows 11 is the expected environment for system testing and builds.
  • GitHub actions will move windows-latest to windows-2025 this year.
  • A bug exists with windows 10 notepad that prevents NVDA from focusing it. This causes our symbol pronunciation tests to be disabled.

Description of user facing changes:

None

Description of developer facing changes:

symbols tests are re-enabled

Description of development approach:

  • Set windows-2025 rather than windows-latest for build steps
  • Explicitly call setup-python more frequently as our required version of python doesn't come pre-installed in windows-2025. This can be fixed in Update to python 3.13 #18591
  • explicitly install the windows-sdk when creating symbols, as it appears that symstore.exe is not installed at all or not installed in the expected place.
  • Enable symbol pronunciation tests again.

Testing strategy:

CI/CD tests

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.

@coderabbitai summary

Copilot AI review requested due to automatic review settings July 30, 2025 06:55
@seanbudd seanbudd requested a review from a team as a code owner July 30, 2025 06:55
@seanbudd seanbudd requested a review from SaschaCowley July 30, 2025 06:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 upgrades the CI/CD build environment from Windows Server 2022 to Windows 2025 to align with the development environment and fix notepad focus issues that prevented symbol pronunciation tests from running.

  • Migrates all GitHub workflow jobs from windows-latest to windows-2025
  • Explicitly installs Python 3.11.9 in jobs where it's not pre-installed on Windows 2025
  • Re-enables symbol pronunciation tests that were previously excluded due to Windows 10 notepad bugs

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/system/robot/symbolPronunciationTests.robot Removes excluded_from_build tags to re-enable symbol pronunciation tests
tests/system/libraries/NotepadLib.py Updates type annotations to modern union syntax and fixes navigation command
.github/workflows/testAndPublish.yml Updates all jobs to windows-2025 and adds explicit Python installation steps
.github/workflows/regenerate_english_userDocs_translation_source.yml Updates to windows-2025 and modernizes Python setup
.github/workflows/fetch-crowdin-translations.yml Updates to windows-2025 and reorders Python setup
.github/workflows/codeql.yml Updates to windows-2025
.github/workflows/add-new-language.yml Updates to windows-2025 and modernizes Python setup
Comments suppressed due to low confidence (2)

.github/workflows/testAndPublish.yml:58

  • Python version 3.11.9 may not exist. The latest Python 3.11.x series was 3.11.8 as of my last update. Consider using '3.11' to get the latest patch version or verify that 3.11.9 has been released.
        python-version: '3.11.9'

tests/system/libraries/NotepadLib.py:14

  • The import for Optional is being removed but the file is switching to union syntax. This is good practice, but ensure all usages of _Optional throughout the file have been updated to the new union syntax.
from SystemTestSpy import (

@seanbudd seanbudd enabled auto-merge (squash) July 31, 2025 01:40
@seanbudd seanbudd merged commit 582b22f into master Jul 31, 2025
22 checks passed
@seanbudd seanbudd deleted the windows-2025 branch July 31, 2025 01:54
@seanbudd seanbudd mentioned this pull request Aug 8, 2025
5 tasks
seanbudd added a commit that referenced this pull request Aug 8, 2025
Fixup from #18592
Summary of the issue:

We are installing an older version of Windows SDK for symstore.
We should use the latest version 10.1.
The installation of 10.0 seems to also fail occasionally #18597 (comment)
@SaschaCowley SaschaCowley added this to the 2025.3 milestone Aug 18, 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

3 participants