Skip to content

ci: use windows 2025 runners#7048

Merged
rhuanjl merged 12 commits intochakra-core:masterfrom
ShortDevelopment:ci/use-windows-2025/7045
Feb 19, 2026
Merged

ci: use windows 2025 runners#7048
rhuanjl merged 12 commits intochakra-core:masterfrom
ShortDevelopment:ci/use-windows-2025/7045

Conversation

@ShortDevelopment
Copy link
Copy Markdown
Contributor

@ShortDevelopment ShortDevelopment commented Dec 3, 2025

windows-2019 actions are unsupported as of 30.06.2025.

This PR updates the ci-config to run on the supported versions of the windows runner:

  • windows-2022windows-2025
  • windows-2019windows-2022

💥 Breaking changes

  • The default CC configuration on windows used the WinGlob api.
    This config is broken on recent versions of Windows 11 as CC does not initialize WinRT using RoInitialize to allow for some optimizations.
  • CC now uses the version of libICU that is shipped with Windows by default
    This removes compat of the default config with all windows versions < Version 1903 (May 2019 Update)
    Should be fine as Windows 10 is out-of-support anyway...

🧪 Tests


See actions/runner-images#12045
Fixes #7045
Fixes #4490

@ShortDevelopment ShortDevelopment force-pushed the ci/use-windows-2025/7045 branch from acc22ee to 22393f5 Compare December 3, 2025 23:36
@rhuanjl
Copy link
Copy Markdown
Collaborator

rhuanjl commented Dec 16, 2025

So, the Windows globalisation implementation doesn't work on latest windows AND the ICU alternative fails too, weirdly the test runner seems to be crashing out after one of the fails rather than finishing and saying how many tests failed.... that is awkward.

A couple of test fails look like things that are may be fairly easily fixable e.g. ICU version mismatches to amend tests for or inconsistent conditions in the test suite that expect windows to not be ICU etc. Hopefully it's not overall too big a job but I have no setup I can work on this on.

@ShortDevelopment
Copy link
Copy Markdown
Contributor Author

I'll look into this in the next view weeks

@rhuanjl
Copy link
Copy Markdown
Collaborator

rhuanjl commented Jan 8, 2026

The windows-2019 test runners are now disabled.... So all CI runs now fail.

@ShortDevelopment ShortDevelopment force-pushed the ci/use-windows-2025/7045 branch from efab8ed to 4135302 Compare January 8, 2026 22:05
Comment thread Build/Chakra.Build.Default.props Outdated
Comment thread test/DebuggerCommon/ES6_intl_simple_attach.js.dbg.baseline
@ShortDevelopment ShortDevelopment force-pushed the ci/use-windows-2025/7045 branch from 4135302 to 18eaa7e Compare January 8, 2026 22:30
@ShortDevelopment ShortDevelopment force-pushed the ci/use-windows-2025/7045 branch from a240230 to a931ead Compare January 8, 2026 23:21
@ShortDevelopment ShortDevelopment marked this pull request as ready for review January 9, 2026 00:33
@rhuanjl
Copy link
Copy Markdown
Collaborator

rhuanjl commented Jan 9, 2026

@ppenzin What do you think? This fixes INTL on windows newer than the May 2019 Update but breaks it on older versions - though the key change is just build config we could perhaps document how to build the older version?

Copy link
Copy Markdown
Collaborator

@rhuanjl rhuanjl left a comment

Choose a reason for hiding this comment

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

Thank you for the work on this. Hoping we'll merge it within a week though I have a few questions - see comments.

Comment thread test/DebuggerCommon/ES6_intl_simple_attach.js.dbg.baseline
Comment thread test/Intl/GetCanonicalLocales.js
Comment thread test/Intl/IntlReturnedValueTests.js.dbg.baseline
Comment thread test/CMakeLists.txt
Comment thread Build/Chakra.Build.Default.props Outdated
Comment thread lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp
Copy link
Copy Markdown
Member

@ppenzin ppenzin left a comment

Choose a reason for hiding this comment

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

LGTM; I am fine with either direction on detecting two DLLs vs one - it would be good to detect it, but not sure if additional logic is worthwhile.

Comment thread Build/Chakra.Build.Default.props Outdated
Comment thread test/Intl/IntlReturnedValueTests.js.dbg.baseline
Copy link
Copy Markdown
Member

@ppenzin ppenzin left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@rhuanjl rhuanjl merged commit 97e68c9 into chakra-core:master Feb 19, 2026
24 checks passed
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.

windows-2019 deprecated Intl: platform.normalizeLanguageTag does not correctly handle valueless unicode extensions

3 participants