Skip to content

[8.19] [Build] Add flag to revert to glibc 2.42 memory management (#255699)#260565

Merged
Ikuni17 merged 1 commit into
elastic:8.19from
Ikuni17:backport/8.19/pr-255699
Apr 1, 2026
Merged

[8.19] [Build] Add flag to revert to glibc 2.42 memory management (#255699)#260565
Ikuni17 merged 1 commit into
elastic:8.19from
Ikuni17:backport/8.19/pr-255699

Conversation

@Ikuni17
Copy link
Copy Markdown
Contributor

@Ikuni17 Ikuni17 commented Mar 31, 2026

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…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
@Ikuni17 Ikuni17 requested a review from kibanamachine as a code owner March 31, 2026 19:32
@Ikuni17 Ikuni17 added the backport This PR is a backport of another PR label Mar 31, 2026
@Ikuni17 Ikuni17 enabled auto-merge (squash) March 31, 2026 19:32
@Ikuni17 Ikuni17 added ci:cloud-deploy Create or update a Cloud deployment ci:cloud-redeploy Always create a new Cloud deployment labels Mar 31, 2026
@Ikuni17
Copy link
Copy Markdown
Contributor Author

Ikuni17 commented Mar 31, 2026

buildkite test this

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Mar 31, 2026

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

@Ikuni17
Copy link
Copy Markdown
Contributor Author

Ikuni17 commented Apr 1, 2026

run docs-build

@Ikuni17 Ikuni17 disabled auto-merge April 1, 2026 00:14
@Ikuni17 Ikuni17 merged commit b5d57cc into elastic:8.19 Apr 1, 2026
22 of 23 checks passed
@Ikuni17 Ikuni17 deleted the backport/8.19/pr-255699 branch April 1, 2026 00:15
@Ikuni17 Ikuni17 requested review from a team and jbudz and removed request for jbudz and kibanamachine April 2, 2026 04:05
@Ikuni17 Ikuni17 requested review from a team and kibanamachine and removed request for a team and kibanamachine May 6, 2026 18:23
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR ci:cloud-deploy Create or update a Cloud deployment ci:cloud-redeploy Always create a new Cloud deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants