Skip to content

[MOD-19076] Build Redis against OpenSSL 3 on macOS CI - #11620

Merged
lerman25 merged 1 commit into
masterfrom
omerl-macos-openssl3
Sep 29, 2026
Merged

lerman25 merged 1 commit into
masterfrom
omerl-macos-openssl3

Conversation

@lerman25

@lerman25 lerman25 commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Describe the changes in the pull request

  1. Current: Homebrew's unversioned openssl formula now installs OpenSSL 4. Every macOS CI job that compiles Redis with TLS fails before tests run: tls.c: 'X509_NAME_get_text_by_NID' is deprecated [-Werror]. This drops PRs from the merge queue on 8.6, 8.6-rse, 8.8 and 8.10, and fails the master nightly on all macOS images.
  2. Change: macOS setup installs openssl@3 explicitly, and the Redis TLS build on macOS points OPENSSL_PREFIX at it. Previously it relied on the unversioned opt/openssl.
  3. Outcome: Internal-only (CI). macOS jobs build Redis again, which unblocks the release-branch merge queues once this is backported.

Which additional issues this PR fixes

  1. MOD-19076 has the root-cause evidence from CI logs.

Main objects this PR modified

  1. build-redis action: on macOS, the TLS build passes OPENSSL_PREFIX for openssl@3.
  2. .install/macos.sh: installs openssl@3 instead of the unversioned openssl.

PR CI runs only on Ubuntu, so it does not exercise this. Validation is a manual Build on Platforms run on macos-15 and macos-26 ARM64 against this branch.

RediSearch's own CMake already prefers openssl@3 on macOS, so the module and Redis now build against the same OpenSSL. Backports need per-branch edits: 8.6, 8.6-rse and 8.4 build Redis inline in task-test.yml rather than through build-redis, and 8.8 uses make install.

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

Release Notes

  • This PR requires release notes
  • This PR does not require release notes

If a release note is required (bug fix / new feature / enhancement), describe the user impact of this PR in the title.

🤖 Generated with Claude Code

Homebrew's unversioned `openssl` formula now installs OpenSSL 4 and
unlinks openssl@3. Redis's Makefile builds against the unversioned
`opt/openssl` prefix, and its tls.c calls APIs OpenSSL 4 deprecates, so
every macOS job that compiles Redis with TLS fails under -Werror.

Install openssl@3 explicitly and point the Redis TLS build at it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@lerman25
lerman25 marked this pull request as ready for review September 29, 2026 13:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T13:51:54.906270Z a05d0c5 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lerman25
lerman25 enabled auto-merge September 29, 2026 13:58
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.53%. Comparing base (1fca862) to head (a05d0c5).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11620      +/-   ##
==========================================
- Coverage   84.23%   83.53%   -0.70%     
==========================================
  Files         640      665      +25     
  Lines       85437    86529    +1092     
  Branches    39264    40356    +1092     
==========================================
+ Hits        71969    72285     +316     
- Misses      13102    13870     +768     
- Partials      366      374       +8     
Flag Coverage Δ
flow 84.64% <ø> (+0.02%) ⬆️
unit 58.97% <ø> (-0.40%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lerman25
lerman25 added this pull request to the merge queue Sep 29, 2026
Merged via the queue into master with commit cf6be81 Sep 29, 2026
122 of 124 checks passed
@lerman25
lerman25 deleted the omerl-macos-openssl3 branch September 29, 2026 15:21
@redisearch-backport-pull-request

redisearch-backport-pull-request Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

🤖 Auto-backport summary

Target Status Backport PR
8.6 conflicts(2) #11633
8.6-rse conflicts(2) #11634
8.8 conflicts(1) #11631
8.8-rse conflicts(1) #11632
8.10 clean #11629

(PR #11620, cf6be8195 — generated by the auto-backport workflow.)

Workflow run · Retry unfinished targets with /backport <branches>.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants