Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable io_uring use in libuv #1347

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Disable io_uring use in libuv #1347

merged 2 commits into from
Nov 20, 2024

Conversation

colincasey
Copy link
Contributor

We suspect that this bug in Amazon Linux 2023 is causing build timeouts on the platform:
amazonlinux/amazon-linux-2023#840 (comment)

We were able to reproduce these build timeouts and, following the guidance to set UV_USE_IO_URING=0 allowed our builds that were timing out to succeed.

@colincasey colincasey self-assigned this Nov 20, 2024
@colincasey colincasey requested a review from a team as a code owner November 20, 2024 19:38
@colincasey colincasey enabled auto-merge (squash) November 20, 2024 19:49
@colincasey colincasey merged commit 719479b into main Nov 20, 2024
11 checks passed
@colincasey colincasey deleted the disable_libuv_io_uring branch November 20, 2024 20:34
@heroku-linguist heroku-linguist bot mentioned this pull request Nov 20, 2024
htiwari1987 pushed a commit to SalesforceDocs-Bot/sfdocs-heroku-buildpack-nodejs that referenced this pull request Nov 21, 2024
* Disable `io_uring` use in `libuv`

amazonlinux/amazon-linux-2023#840 (comment)

* Update CHANGELOG.md
SalesforceDocs-Bot pushed a commit to SalesforceDocs-Bot/sfdocs-heroku-buildpack-nodejs that referenced this pull request Nov 21, 2024
* Disable `io_uring` use in `libuv`

amazonlinux/amazon-linux-2023#840 (comment)

* Update CHANGELOG.md

Co-authored-by: Colin Casey <[email protected]>
schneems added a commit to heroku/heroku-buildpack-ruby that referenced this pull request Nov 21, 2024
Default `UV_USE_IO_URING=0` due to build timeouts This mirrors a change by the nodejs buildpack: heroku/heroku-buildpack-nodejs#1347

The Ruby buildpack needs this because we can install node/yarn without the `heroku/nodejs` buildpack, however this behavior triggers a warning and is generally advised against.
schneems added a commit to heroku/heroku-buildpack-ruby that referenced this pull request Nov 21, 2024
Default `UV_USE_IO_URING=0` due to build timeouts This mirrors a change by the nodejs buildpack: heroku/heroku-buildpack-nodejs#1347

The Ruby buildpack needs this because we can install node/yarn without the `heroku/nodejs` buildpack, however this behavior triggers a warning and is generally advised against.
schneems added a commit to heroku/heroku-buildpack-ruby that referenced this pull request Nov 21, 2024
…ault (#1523)

* Set UV_USE_IO_URING=0 by default

Default `UV_USE_IO_URING=0` due to build timeouts This mirrors a change by the nodejs buildpack: heroku/heroku-buildpack-nodejs#1347

The Ruby buildpack needs this because we can install node/yarn without the `heroku/nodejs` buildpack, however this behavior triggers a warning and is generally advised against.

* Only set UV_USE_IO_URING=0 at build (not runtime)

* Make UV_USE_IO_URING=0 available for other buildpacks
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.

2 participants