Skip to content

Update build pipeline to Visual Studio 2026 (remove VS 2026 CI stopgaps from #17850) #17986

Closed

Description

@kevinushey

#17850 patched the toolchain so Windows Desktop e2e CI can build on the windows-2025 GitHub runner after it migrated from Visual Studio 2022 to Visual Studio 2026 (see actions/runner-images#14017). Those changes are deliberately stopgaps to unblock CI; the regular/production build pipeline should be updated to VS 2026 properly.

Stopgaps landed in #17850 that should be revisited:

  • Boost / SOCI prebuilts (src/cpp/CMakeLists.txt): the runner reports MSVC_TOOLSET_VERSION=145 (VS 2026), but only msvc143 prebuilts exist on S3. CMake currently falls back to the msvc143 directory and relies on MSVC 14.x binary compatibility. We should publish proper msvc145 Boost and SOCI prebuilts and drop the fallback (or keep it only as a safety net).
  • find_package(Boost) bypass: CMake 4.x removed FindBoost.cmake (CMP0167), so the Windows path now wires up Boost_INCLUDE_DIRS directly. Confirm this is the desired long-term approach (vs. Boost's own config package).
  • install-soci.R generator: the workflow passes CMAKE_GENERATOR=Visual Studio 18 2026. The default generator in the script should be updated once VS 2026 is the standard toolchain.
  • node-gyp v12 (src/node/desktop/package.json override + workflow step): npm's bundled node-gyp (v11) only recognizes VS 2017-2022. The @electron/node-gyp -> node-gyp@^12 override and the bundled-node-gyp replacement step exist to support VS 2026's native rebuild.

To close:

  • Update the production build dependencies (Boost/SOCI prebuilts) to target the VS 2026 toolset.
  • Update the build scripts/generators to VS 2026 and remove or simplify the CI workarounds above.
  • Confirm Jenkins build agents are on a supported toolchain.

Tracking follow-up to #17850.

Activity

  1. added
    tech debt
    on Jun 15, 2026
  2. added theissue type on Jun 15, 2026
  3. self-assigned this
    on Jul 2, 2026
  4. gtritchie commented on Jul 7, 2026

    @gtritchie
    Member

    Backed out due to needing a newer Windows build on the Jenkins agents (2022+). Moving to 2026.08 milestone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

tech debtwindows

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions