Skip to content

👷‍♀️ Pin CI to ubuntu-22.04 until MongoDB 8.0.35 ships - #766

Merged
alecgibson merged 1 commit into
mainfrom
pin-ubuntu-2204
Oct 22, 2026
Merged

alecgibson merged 1 commit into
mainfrom
pin-ubuntu-2204

Conversation

@alecgibson

Copy link
Copy Markdown
Collaborator

At the moment, the mongo:8.0 service container exits on startup on the new ubuntu-24.04 runner image (20261018.339.1), so Test sharedb-mongo times out against a dead database:

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

The image's kernel is already patched, but MongoDB misreads its version (SERVER-131779). The fix lands in 8.0.35, which isn't out yet, and GitHub won't pin the kernel (runner-images#15005). Since the image is still rolling out, only some jobs fail for now.

This change runs the test job on ubuntu-22.04 until then.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

At the moment, the `mongo:8.0` service container exits on startup on
the new `ubuntu-24.04` runner image (`20261018.339.1`), so
`Test sharedb-mongo` [times out against a dead database][1]:

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

The image's kernel is already patched, but MongoDB misreads its
version ([SERVER-131779][2]). The fix lands in 8.0.35, which isn't out
yet, and GitHub won't pin the kernel ([runner-images#15005][3]). Since
the image is still rolling out, only some jobs fail for now.

This change runs the test job on `ubuntu-22.04` until then.

[1]: https://github.com/share/sharedb/actions/runs/39762556480/job/119770043007
[2]: https://jira.mongodb.org/browse/SERVER-131779
[3]: actions/runner-images#15005

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 97.916%. first build — pin-ubuntu-2204 into main

@alecgibson
alecgibson marked this pull request as ready for review October 22, 2026 12:11
@alecgibson
alecgibson requested a balanced review from Copilot October 22, 2026 12:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The narrowly scoped runner change addresses the reported compatibility issue, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Temporarily pins the test job to Ubuntu 22.04 to avoid MongoDB startup failures on newer runner kernels while awaiting MongoDB 8.0.35.

Changes:

  • Replaces ubuntu-latest with ubuntu-22.04 for the test job.
  • Adds a comment explaining the workaround and linking to the MongoDB issue.
File Description
.github/​workflows/​test.yml Pins the test runner and documents the temporary workaround.

Review effort: Balanced

@alecgibson
alecgibson merged commit 79ed575 into main Oct 22, 2026
9 checks passed
@alecgibson
alecgibson deleted the pin-ubuntu-2204 branch October 22, 2026 12:51
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.

3 participants