Skip to content

Comments

Enable USE_LIBBACKTRACE Across CI and Fix Alpine Builds#3213

Merged
zuiderkwast merged 2 commits intovalkey-io:unstablefrom
Nikhil-Manglore:libbacktrace-dev
Feb 16, 2026
Merged

Enable USE_LIBBACKTRACE Across CI and Fix Alpine Builds#3213
zuiderkwast merged 2 commits intovalkey-io:unstablefrom
Nikhil-Manglore:libbacktrace-dev

Conversation

@Nikhil-Manglore
Copy link
Member

@Nikhil-Manglore Nikhil-Manglore commented Feb 16, 2026

This PR enables USE_LIBBACKTRACE=yes across all CI builds and builds upon the changes introduced in #3034. Alpine-based jobs previously attempted to install libbacktrace-dev, which does not exist in Alpine’s apk repositories.

This caused these two errors in the daily tests below:

To resolve this, Alpine jobs now build GNU libbacktrace from source inside the container before compiling Valkey. This aligns Alpine behavior with other environments (Ubuntu jobs) and now avoids utilizing non-existent Alpine packages.

An alternative approach we can consider is to disable USE_LIBBACKTRACE for Alpine-based tests.

Signed-off-by: Nikhil Manglore <nmanglor@amazon.com>
Copy link
Contributor

@rainsupreme rainsupreme left a comment

Choose a reason for hiding this comment

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

LGTM, and thanks for getting this! Is there a way I should have tested these before committing the change? 😅

@sarthakaggarwal97
Copy link
Contributor

@rainsupreme yes it could have been detected by running daily test in your forked repo.

@sarthakaggarwal97
Copy link
Contributor

@Nikhil-Manglore please address the conflicts when you have time

@zuiderkwast
Copy link
Contributor

I just gave you a small merge conflict by merging #3202 first. Sorry for that.

Signed-off-by: Nikhil Manglore <nmanglor@amazon.com>
@Nikhil-Manglore
Copy link
Member Author

Thanks, fixed

@zuiderkwast zuiderkwast merged commit 48419e4 into valkey-io:unstable Feb 16, 2026
56 checks passed
@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (f7e6429) to head (1ceeef8).
⚠️ Report is 1 commits behind head on unstable.

Additional details and impacted files
@@       Coverage Diff        @@
##   unstable   #3213   +/-   ##
================================
================================
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Nikhil-Manglore Nikhil-Manglore deleted the libbacktrace-dev branch February 16, 2026 23:27
harrylin98 pushed a commit to harrylin98/valkey_forked that referenced this pull request Feb 19, 2026
This PR enables `USE_LIBBACKTRACE=yes` across all CI builds and builds
upon the changes introduced in valkey-io#3034. Alpine-based jobs previously
attempted to install `libbacktrace-dev`, which does not exist in
Alpine’s apk repositories.

This caused these two errors in the daily tests below:
-
https://github.com/valkey-io/valkey/actions/runs/22045858351/job/63694456995
-
https://github.com/valkey-io/valkey/actions/runs/22045858351/job/63694457018

To resolve this, Alpine jobs now build GNU libbacktrace from source
inside the container before compiling Valkey. This aligns Alpine
behavior with other environments (Ubuntu jobs) and now avoids utilizing
non-existent Alpine packages.

An alternative approach we can consider is to disable `USE_LIBBACKTRACE`
for Alpine-based tests.

Signed-off-by: Nikhil Manglore <nmanglor@amazon.com>
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.

5 participants