Skip to content

ci: pin the test MongoDB to 8.0.14, matching production - #35

Merged
thestumonkey merged 1 commit into
devfrom
fix/ci-mongo-kernel
Nov 14, 2026
Merged

thestumonkey merged 1 commit into
devfrom
fix/ci-mongo-kernel

Conversation

@thestumonkey

Copy link
Copy Markdown
Member

Summary

Backend unit tests time out at 15 minutes on every branch, dev included. The Mongo service container never starts:

MongoDB cannot start: Linux kernel versions 6.19 and newer has a known incompatibility with this version of MongoDB. See SERVER-121912.

GitHub's ubuntu-24.04 runner image now has a 6.19+ kernel, and the floating mongo:8 tag pulls a release with this startup guard. Production and the integration stack pin mongo:8.0.14 (backend/docker-compose.yml, backend/docker-compose-test.yml), so this pins CI to the same version.

Testing

Cannot reproduce locally (macOS kernel). This PR's own CI run is the test: if Mongo still refuses to start on 8.0.14, the next step is the GLIBC_TUNABLES=glibc.pthread.rseq=1 workaround reported upstream.

🤖 Generated with Claude Code

Floating mongo:8 now resolves to a release that refuses to start on Linux
6.19+ (SERVER-121912), which GitHub's ubuntu-24.04 runners use. Backend
tests then waited on Mongo until the 15-minute job timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thestumonkey
thestumonkey merged commit ec09999 into dev Nov 14, 2026
2 of 4 checks passed
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.

1 participant