Repository navigation
ci: Fix CI failures on Ubuntu 26.04 - #223
Merged
Merged
Conversation
ubuntu-latest is moving to Ubuntu 26.04. ruby/setup-ruby has no builds of Ruby 3.1 and older for it, so those jobs fail with "Unavailable version". Test Ruby 3.2 or later instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
ruby/setup-ruby builds Ruby 3.2 for Ubuntu 26.04 with GCC 15, and its config.h lacks HAVE_STDBOOL_H. bson 4.15.0 compiles its extension with -std=c99, so it fails with "unknown type name 'bool'". See https://bugs.ruby-lang.org/issues/21340. Test Ruby 3.3 or later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
mongod 8.0.34 refuses to start on Linux 6.19 or later because of a TCMalloc rseq issue (SERVER-121912). The Ubuntu 26.04 runner reports its kernel as 7.0.0-*-azure, so the exemption for fixed kernels does not match (SERVER-136848). Setting glibc.pthread.rseq=1 disables the TCMalloc per-CPU caches, and mongod skips the check. mongodb-extra-env is not in a release of the action yet, so pin it to the current main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
kenhys
approved these changes
Oct 29, 2026
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.
ubuntu-latestis moving to Ubuntu 26.04, and the CI fails there in three ways. ruby/setup-ruby has no Ruby 3.1 or older for it, and its Ruby 3.2 lacksHAVE_STDBOOL_H, so bson 4.15.0 fails to compile with "unknown type name 'bool'" (Ruby Bug #21340). MongoDB 8.0 also refuses to start on the runner kernel7.0.0-*-azure(SERVER-136848).This tests Ruby 3.3 or later, and passes
GLIBC_TUNABLES=glibc.pthread.rseq=1to MongoDB, which skips its kernel check.mongodb-extra-envis not released yet, so supercharge/mongodb-github-action is pinned to its current main.🤖 Generated with Claude Code