ci: pin the mongo sidecar image to 7.0 - #42195
Draft
wyattwalter wants to merge 1 commit into
Draft
Conversation
MongoDB 8.x images refuse to start on Linux kernels 6.19 through 7.0.13 (SERVER-121912, bundled TCMalloc incompatibility), and the refreshed GitHub runner image carries an affected kernel — every Cypress shard scheduled on one fails during setup. MongoDB 7.0 is unaffected and well within the supported range. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
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.
Description
Every Cypress shard scheduled on a refreshed GitHub runner currently fails during setup: the
mongosidecar (unpinned, somongo:latest= 8.x) refuses to start withThe incompatibility is between MongoDB 8.x's bundled TCMalloc and Linux kernels 6.19–7.0.13; the refreshed runner image carries an affected kernel, so shards fail or pass depending on which runner they land on (observed: 42 of ~60 shards failing on appsmith-ee#9672). MongoDB refuses to start by design; the resolution on affected hosts is a kernel ≥7.0.14, which we don't control on hosted runners.
This pins the sidecar to
mongo:7.0, which does not bundle the affected allocator and is well within the supported range (server minimum is 5.0). All six workflows that declared the unpinned image are updated:ci-test-hosted,ci-test-playwright,ci-test-custom-script,ci-test-limited,ci-test-limited-with-count,external-pr-validation.Revisit the pin when a MongoDB 8.x image ships with the re-vendored allocator or the runner kernels move past 7.0.13.
Automation
CI-workflow-only change; the Cypress suite is what this fixes, and it cannot run to green from an unmerged workflow-only branch on affected runners.
🤖 Generated with Claude Code