diagnostic: add warning on upcoming glibc 2.39#21616
Merged
MikeMcQuaid merged 4 commits intomainfrom Feb 26, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a diagnostic warning to notify users when their system glibc version (2.35 ≤ version < 2.39) will be affected by an upcoming CI migration to glibc 2.39. The warning is implemented by setting LINUX_GLIBC_NEXT_CI_VERSION to "2.39" and adding a new diagnostic check method check_glibc_next_version that displays a user-friendly warning message without triggering a tier change.
Changes:
- Added a comment to
LINUX_GLIBC_NEXT_CI_VERSIONconstant explaining that setting it activates user notifications - Implemented
check_glibc_next_versiondiagnostic method that warns users with glibc versions between the current CI version (2.35) and next CI version (2.39)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Library/Homebrew/os.rb | Added inline comment to LINUX_GLIBC_NEXT_CI_VERSION constant explaining its purpose as a notification trigger |
| Library/Homebrew/extend/os/linux/diagnostic.rb | Added new check_glibc_next_version method to display warning for glibc versions between 2.35 and 2.39 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cho-m
commented
Feb 23, 2026
6 tasks
4cf9021 to
9bca7be
Compare
9bca7be to
009fd31
Compare
009fd31 to
fae95de
Compare
MikeMcQuaid
approved these changes
Feb 24, 2026
Member
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Looks good, thanks! Some suggestions.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
MikeMcQuaid
approved these changes
Feb 26, 2026
Member
|
Thanks @cho-m! |
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.
brew lgtm(style, typechecking and tests) with your changes locally?Based on
check_glibc_versionbut no tier change and some wording difference in first paragraph.Currently looks like: