feat(ruby): add Alpine Linux (musl libc) support for x86_64 and aarch64 - #143
Merged
Merged
Conversation
prateek-kumar-improving
force-pushed
the
musl-support-new
branch
from
July 8, 2026 16:59
e76635b to
42cacf2
Compare
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
prateek-kumar-improving
force-pushed
the
musl-support-new
branch
from
July 8, 2026 17:05
42cacf2 to
41c285b
Compare
prateek-kumar-improving
marked this pull request as draft
July 8, 2026 17:17
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
…grep Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
prateek-kumar-improving
marked this pull request as ready for review
July 8, 2026 18:57
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
32 tasks
Aryex
reviewed
Jul 8, 2026
Collaborator
|
Have you ran the CD workflow (in non-publish / dry-run mode) and validated it? |
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Collaborator
Author
The CD workflow worked: https://github.com/valkey-io/valkey-glide-ruby/actions/runs/29279904222 |
alexr-bq
approved these changes
Jul 13, 2026
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Aryex
approved these changes
Jul 14, 2026
Collaborator
Author
|
CD workflow works after the last code change: https://github.com/valkey-io/valkey-glide-ruby/actions/runs/29351834655 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Alpine Linux (musl libc) support for the valkey-rb gem on both x86_64 and aarch64 architectures. This enables users running Docker containers based on Alpine to use the gem with
prebuilt native libraries.
Issue link
This Pull Request is linked to issue: #98
Features / Behaviour Changes
Implementation
Runtime detection (lib/valkey/bindings.rb):
Build matrix (.github/json_matrices/build-matrix.json):
CI workflow (.github/workflows/CI.yml):
CD workflow (.github/workflows/cd.yml):
Test fix (test/valkey/uri_connection_test.rb):
Limitations
09-19-deprecation-of-node-20-on-github-actions-runners/) where JavaScript-based actions don't work in Alpine containers on ARM64 runners. The x64 musl path has full integration
testing.
Testing
Checklist