Skip to content

Bump libuv from v1.52.1 to v1.53.0 - #128314

Merged
thevar1able merged 1 commit into
ClickHouse:masterfrom
actueleai:bump-libuv-v1.53.0
Nov 2, 2026
Merged

thevar1able merged 1 commit into
ClickHouse:masterfrom
actueleai:bump-libuv-v1.53.0

Conversation

@actueleai

@actueleai actueleai commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Bump libuv from v1.52.1 to v1.53.0.

ClickHouse-side changes

  • contrib/libuv-cmake/CMakeLists.txt — added src/unix/random-getrandom.c to the SunOS block, matching upstream v1.53.0.

Fork

Carries the ClickHouse patch (ClickHouse/libuv#20): no pthread_atfork registrations in src/threadpool.c / src/unix/signal.c, MSan unpoison in src/unix/linux.c.

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Update libuv from v1.52.1 to v1.53.0.


Workflow [PR]
Sync PR [sync-upstream/pr/128314]

Version info

  • Merged into: 26.11.1.1066-master (included in 26.11 and later)

Point the `contrib/libuv` submodule at `ClickHouse/v1.53.0` in the
ClickHouse fork (`4a1645680dd3`), which is the upstream `v1.53.0` tag
plus the existing ClickHouse patch series rebased on top. The patch
content is unchanged from the previous `ClickHouse/v1.52.1` branch
(only hunk offsets moved): it drops the `pthread_atfork` handlers in
`src/threadpool.c` and `src/unix/signal.c` and adds an MSan
unpoisoning annotation for `epoll_wait` results in `src/unix/linux.c`.

`contrib/libuv-cmake/CMakeLists.txt`: the only change in the blocks it
mirrors is that upstream now compiles `src/unix/random-getrandom.c` on
SunOS, so the source is added to the `SunOS` block. No source file was
added or removed elsewhere in `src/`.

Upstream `include/uv.h` grows `uv_write_nwritten` and reworks the
`UV_REQ_PRIVATE_FIELDS` union; `uv_req_t` keeps its size on Unix
(`reserved[6]` becomes `reserved[5]` plus one pointer). No ClickHouse
source uses the changed declarations, so no `src/` adaptation was
needed.

Co-Authored-By: Claude Code <[email protected]>
@thevar1able thevar1able added the can be tested Allows running workflows for external contributors label Oct 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [ba79cb8]

Summary: ✅


AI Review

Summary

Updates libuv from v1.52.1 to v1.53.0 and adds the matching SunOS source to the ClickHouse CMake wrapper. Review of head ba79cb8ea4f71c452091b332393349a483790916, the dependency diff, and the RabbitMQ/NATS adapters found no actionable issues. There were no previous review findings to reconcile.

Missing context / blind spots
  • ⚠️ Full platform builds and sanitizer integration jobs are still pending in the Praktika report. Their completion is needed to confirm runtime and platform coverage; no local build or tests were run.
Final Verdict

Status: ✅ Approve. No review changes requested; normal CI checks still need to complete.

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR. comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. labels Oct 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing ba79cb8ea with master 2eafca8a6 (stripped binary size, per-symbol sizes and ThinLTO time; object sizes against the warmup build of cc5af2c4d; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

55 translation units recompiled, 69 s compile time in total, 55 of them have a recent master baseline.

Job report

@thevar1able thevar1able self-assigned this Nov 2, 2026
@thevar1able
thevar1able added this pull request to the merge queue Nov 2, 2026
Merged via the queue into ClickHouse:master with commit b6a7094 Nov 2, 2026
355 of 356 checks passed
@thevar1able
thevar1able deleted the bump-libuv-v1.53.0 branch November 2, 2026 10:28
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. pr-build Pull request with build/testing/packaging improvement pr-synced-to-cloud The PR is synced to the cloud repo submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants