Skip to content

Bump libssh from 0.12.0 to 0.12.2 - #119262

Merged
rschu1ze merged 3 commits into
masterfrom
bump-libssh
Sep 14, 2026
Merged

rschu1ze merged 3 commits into
masterfrom
bump-libssh

Conversation

@rschu1ze

@rschu1ze rschu1ze commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

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

Bump the internal libssh from 0.12.0 to 0.12.2


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

Version info

  • Merged into: 26.9.1.1452 (included in 26.9 and later)
  • Backported to: 26.8.4.15, 26.7.9.6, 26.6.7.8, 26.3.33.79

@rschu1ze rschu1ze added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Sep 10, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [a3f1183]

Summary: ✅


AI Review

Summary

This PR updates the vendored libssh fork from the old 0.12.0-based tip (f3a90052) to the 0.12.2-based tip (c0083428) and bumps the generated libssh_version.h inputs from 0.12.0 to 0.12.2. I checked the current diff, the prior PR discussion, and compared contrib/libssh-cmake against the upstream 0.12.2 source manifest for the shipped platform configs; there are no missing required sources in the ClickHouse-specific build glue, and I did not find a correctness or integration issue in this bump.

Final Verdict
  • Status: ✅ Approve

LLVM Coverage Report

Measured on commit a3f1183.

Metric Baseline Current Δ
Lines 89.00% 89.00% +0.00%
Functions 91.80% 91.80% +0.00%
Branches 81.40% 81.40% +0.00%

Changed lines: Uncovered code analysis did not run: No coverable C/C++ source files changed (contrib/ is excluded from coverage).

Newly covered: +104 lines in 40 files (-131 lines lost coverage) · Details

Full report

@clickhouse-gh clickhouse-gh Bot added pr-improvement Pull request with some product improvements 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 Sep 10, 2026
@thevar1able thevar1able self-assigned this Sep 10, 2026
@rschu1ze

Copy link
Copy Markdown
Member Author

The upgrade was manual because libssh upstream is on GitLab instead of GitHub, and I also upstreamed a patch: https://gitlab.com/libssh/libssh-mirror/-/merge_requests/884

@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing a3f11837b with master 90972517e (stripped binary size, per-symbol sizes and ThinLTO time; 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

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

Median compile-time ratio to the baselines is ×1.10 (machine-speed difference or a change affecting every TU); per-TU deltas below are relative to that ratio.
The matched translation units cost +1.4 s (+6%) in total before that adjustment.

Job report

@groeneai

Copy link
Copy Markdown
Collaborator

I only have triage access on this repository, no push, so I cannot merge master into a branch hosted in ClickHouse/ClickHouse. That only works on my own PRs, where the head branch lives in my fork.

The one red on ab93324d0d16 was not from your diff: Integration tests (amd_asan_ubsan, db disk, old analyzer, 3/6) failed on test_storage_iceberg_with_spark partition pruning, which #118606 broke on master and #119298 reverted at 17:26:35Z. Your merge be2d7ba3bbde has that revert as an ancestor, so those failures should not reappear in the new run.

@rschu1ze

Copy link
Copy Markdown
Member Author

@groeneai Is the stress test failure known?

@groeneai

Copy link
Copy Markdown
Collaborator

Yes: the Virtual row has different type logical error (STID 1637-309b), raised for CAST(__table1.`json.b`, 'String'_String) with expected Nullable(String) and got String. The second row, Test script failed, is that abort's job-level companion, so the two are one failure and the only red on be2d7ba3b.

Not from your diff. CIDB has 26 occurrences of the signature in the last 30 days, all of them since 2026-09-10 16:22Z, spread over 26 distinct PRs and one master run, one hit per carrier. matchTrees mapped two resolutions of the same sorting key on structure alone, so a key of CAST(json.b, 'String') is Nullable(String) in a query running with cast_keep_nullable = 1 and String in the table.

Fixing PR: #119385.

@rschu1ze
rschu1ze added this pull request to the merge queue Sep 14, 2026
Merged via the queue into master with commit b4a5889 Sep 14, 2026
177 checks passed
@rschu1ze
rschu1ze deleted the bump-libssh branch September 14, 2026 10:31
@robot-ch-test-poll robot-ch-test-poll added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Sep 14, 2026
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 14, 2026
@rschu1ze

Copy link
Copy Markdown
Member Author

Seven gazillion merge conflicts in maintenance branches. Great.

robot-clickhouse added a commit that referenced this pull request Sep 14, 2026
Cherry pick #119262 to 26.7: Bump libssh from 0.12.0 to 0.12.2
robot-clickhouse added a commit that referenced this pull request Sep 14, 2026
Cherry pick #119262 to 26.8: Bump libssh from 0.12.0 to 0.12.2
robot-ch-test-poll3 added a commit that referenced this pull request Sep 14, 2026
Cherry pick #119262 to 26.6: Bump libssh from 0.12.0 to 0.12.2
robot-ch-test-poll3 added a commit that referenced this pull request Sep 14, 2026
Cherry pick #119262 to 26.3: Bump libssh from 0.12.0 to 0.12.2
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Sep 14, 2026
clickhouse-gh Bot added a commit that referenced this pull request Sep 14, 2026
Backport #119262 to 26.8: Bump libssh from 0.12.0 to 0.12.2
PedroTadim added a commit that referenced this pull request Sep 14, 2026
Backport #119262 to 26.3: Bump libssh from 0.12.0 to 0.12.2
clickhouse-gh Bot added a commit that referenced this pull request Sep 14, 2026
Backport #119262 to 26.7: Bump libssh from 0.12.0 to 0.12.2
PedroTadim added a commit that referenced this pull request Sep 14, 2026
Backport #119262 to 26.6: Bump libssh from 0.12.0 to 0.12.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-improvement Pull request with some product improvements pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR 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.

5 participants