Skip to content

openssl: retain 3.5 downstream and route newer updates upstream - #257

Merged
dscho merged 2 commits into
mainfrom
openssl-35-policy
Nov 4, 2026
Merged

dscho merged 2 commits into
mainfrom
openssl-35-policy

Conversation

@mjcheetham

Copy link
Copy Markdown
Member

Prepare the helper app for consuming upstream MSYS2 OpenSSL in the UCRT64 and ARM64 SDKs. This is a prerequisite for integrating MSYS2’s Rust packages, which expect the upstream OpenSSL DLL names. Retain downstream maintenance of the 3.5 release train for the 32-bit packages.

/open pr keeps OpenSSL 3.5.* updates downstream and automatically routes newer release trains, including 3.6.* and 4.x, through the existing PCRE2-style upstream preparation flow. It checks upstream versions and existing PRs before dispatching workflows. When an update is needed, the workflow provides a pre-populated link for a maintainer to open the upstream PR. Numeric version comparison rejects older releases without requiring a whitelist of future versions.

/deploy refuses downstream OpenSSL updates outside 3.5.*, including commands with explicit package overrides. MinGW OpenSSL queues only an i686 build. MSYS OpenSSL retains its existing architecture selection, preserving the libraries required by bundled 32-bit OpenSSH.

This changes helper policy only; package unshadowing and automation-side deployment checks remain separate follow-ups.

Validation: All 50 webhook tests pass under Node.js 24, and ESLint passes. Tests cover routing, version normalization, future major versions, deployment restrictions, explicit overrides, and preserved MSYS architecture selection.

Only the OpenSSL 3.5 release train is maintained downstream. Newer
trains must come from MSYS2 rather than shadowing its packages in
the Git for Windows repositories. Route them through the upstream
preparation flow used for PCRE2 without a fixed version whitelist.

A single /open pr comment handles both MSYS and MinGW packages,
including checks for upstream versions and existing PRs. Maintainers
still follow the workflow's pre-populated link to open a needed PR.

Preserve rejection of obsolete versions instead of treating every
non-3.5 version as newer. Use the existing numeric comparison
mechanism so future minor and major releases need no helper changes
and double-digit versions are ordered correctly.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Matthew John Cheetham <[email protected]>
@mjcheetham
mjcheetham requested a review from dscho November 3, 2026 15:19

@dscho dscho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you. This looks good except for one thing. The only remaining reason why we need to build OpenSSL in Git for Windws is that we do need to provide 32 bit versions of MinGit for Visual Studio until 2029. Therefore we should only build the i686 variant going forward. That includes the MSys packages.

Comment thread __tests__/index.test.js Resolved
Comment thread GitForWindowsHelper/slash-commands.js Resolved
Downstream OpenSSL is needed only for 32-bit MinGit support, which
Visual Studio requires until 2029. Restrict both MSYS and MinGW builds
to i686 to stop extending downstream shadowing of upstream 64-bit
packages. The retained MSYS libraries serve bundled 32-bit OpenSSH.

Refuse downstream OpenSSL deployments outside 3.5 before creating
checks or dispatching workflows, including commands with an explicit
package override. An override still requires a recognizable version.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Matthew John Cheetham <[email protected]>
@mjcheetham
mjcheetham marked this pull request as ready for review November 4, 2026 12:29
@mjcheetham
mjcheetham requested a review from dscho November 4, 2026 13:02

@dscho dscho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@dscho
dscho merged commit db4521a into main Nov 4, 2026
1 check passed
@dscho
dscho deleted the openssl-35-policy branch November 4, 2026 13:51
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.

2 participants