[8.19] [Build] Add flag to revert to glibc 2.42 memory management (#255699)#260565
Merged
Conversation
…55699) ## Summary Reverts elastic#255691 Newer Chainguard images updated to `glibc 2.43` which changes memory allocation behavior. Adding this flag reverts that behavior and allows us to unblock Chainguard image updates. See https://groups.google.com/a/elastic.co/g/support_team/c/RBgzGXEdyR8/m/MxtQhaAmCQAJ for more details. (cherry picked from commit 9f346df) # Conflicts: # src/dev/build/tasks/os_packages/docker_generator/run.ts # src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile
Contributor
Author
|
buildkite test this |
Contributor
💚 Build Succeeded
Metrics [docs]
History |
Contributor
Author
|
run docs-build |
Ikuni17
added a commit
that referenced
this pull request
May 8, 2026
## Summary AI assisted with Cursor + `gpt-5.4-high` Adds a Github Workflow that automatically assigns a reviewer for manual backports and removes `kibanamachine`. This avoids common confusion with `kibanamachine` being the codeowner and improves DX. This workflow is gated behind PRs where `kibanamachine` is not the author, therefore it does not collide with backports that were created automatically and are auto-approved through `.github/workflows/auto-approve-backports.yml`. The reviewer is chosen with this algorithm: 1. Try to find the intersection of the PR author's teams and the codeowner teams which submitted reviews in the source PR (via `onBehalfOf` property). 2. If there are matching team(s), they are requested for review on the backport. 3. If no matching teams were found, we fallback to the last human reviewer that approved. 4. If that is also not found, this workflow is a no-op and `kibanamachine` stays as the reviewer. ### Testing I used a generated `json` event for an old backport: #260565. You can see the reviewers changed at the bottom when running locally with `act`. <details> <summary>Local run</summary> ```zsh ➜ kibana (ci/assign-backport-reviewer) ✗ act pull_request_target \ -W .github/workflows/assign-backport-reviewer.yml \ -e data/assign-backport-reviewer.pull_request_target.pr-260565.json \ --env GITHUB_REPOSITORY=elastic/kibana \ --env GITHUB_REPOSITORY_OWNER=elastic \ -s GITHUB_TOKEN="$(gh auth token)" \ -s KIBANAMACHINE_TOKEN="$(gh auth token)" INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' [Assign backport reviewer/Assign team reviewer for manual backport] ⭐ Run Set up job [Assign backport reviewer/Assign team reviewer for manual backport] 🚀 Start image=catthehacker/ubuntu:act-latest [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir= [Assign backport reviewer/Assign team reviewer for manual backport] ✅ Success - Set up job [Assign backport reviewer/Assign team reviewer for manual backport] ☁ git clone 'https://github.com/actions/github-script' # ref=ed597411d8f924073f98dfc5c65a23a2325f34cd [Assign backport reviewer/Assign team reviewer for manual backport] Non-terminating error while running 'git clone': some refs were not updated [Assign backport reviewer/Assign team reviewer for manual backport] ☁ git clone 'https://github.com/actions/github-script' # ref=ed597411d8f924073f98dfc5c65a23a2325f34cd [Assign backport reviewer/Assign team reviewer for manual backport] Non-terminating error while running 'git clone': some refs were not updated [Assign backport reviewer/Assign team reviewer for manual backport] ⭐ Run Main Select reviewers [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker cp src=/home/brad/.cache/act/actions-github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd/ dst=/var/run/act/actions/actions-github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd/ [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker exec cmd=[/opt/acttoolcache/node/24.14.1/x64/bin/node /var/run/act/actions/actions-github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd/dist/index.js] user= workdir= [Assign backport reviewer/Assign team reviewer for manual backport] ✅ Success - Main Select reviewers [1.27416023s] [Assign backport reviewer/Assign team reviewer for manual backport] ⚙ ::set-output:: reviewer=jbudz [Assign backport reviewer/Assign team reviewer for manual backport] ⚙ ::set-output:: result= [Assign backport reviewer/Assign team reviewer for manual backport] ⚙ ::set-output:: team_reviewers=elastic/kibana-operations [Assign backport reviewer/Assign team reviewer for manual backport] ⭐ Run Main Update reviewers [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker cp src=/home/brad/.cache/act/actions-github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd/ dst=/var/run/act/actions/actions-github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd/ [Assign backport reviewer/Assign team reviewer for manual backport] 🐳 docker exec cmd=[/opt/acttoolcache/node/24.14.1/x64/bin/node /var/run/act/actions/actions-github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd/dist/index.js] user= workdir= | Updating reviewers: teamReviewers=elastic/kibana-operations, reviewer=jbudz [Assign backport reviewer/Assign team reviewer for manual backport] ✅ Success - Main Update reviewers [321.09717ms] [Assign backport reviewer/Assign team reviewer for manual backport] ⚙ ::set-output:: result= [Assign backport reviewer/Assign team reviewer for manual backport] ⭐ Run Complete job [Assign backport reviewer/Assign team reviewer for manual backport] Cleaning up container for job Assign team reviewer for manual backport [Assign backport reviewer/Assign team reviewer for manual backport] ✅ Success - Complete job [Assign backport reviewer/Assign team reviewer for manual backport] 🏁 Job succeeded ``` </details> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Backport
This will backport the following commits from
mainto8.19:Questions ?
Please refer to the Backport tool documentation