Skip to content

ci: switch user for build profile diff - #118618

Merged
azat merged 1 commit into
ClickHouse:masterfrom
azat:ci/change-build-profile-user
Sep 7, 2026
Merged

azat merged 1 commit into
ClickHouse:masterfrom
azat:ci/change-build-profile-user

Conversation

@azat

@azat azat commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

Version info

  • Merged into: 26.9.1.932 (included in 26.9 and later)

@clickhouse-gh

clickhouse-gh Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [ea884da]

Summary: ✅


AI Review

Summary

This PR switches the build-profile upload and diff paths to the same explicit BUILD_PROFILE_USER while preserving the documented CI_LOGS_USER override for local runs. I did not find a remaining correctness or contract issue in the current patch; the earlier credential-drift concern is addressed by centralizing the user constant and threading it through both call sites.

Final Verdict

Status: ✅ Approve

LLVM Coverage Report

⚠️ No coverage measurement for commit ea884da: incomplete coverage measurement: 16 of 21 shard profiles are missing: LLVM_COVERAGE_FILE_ft_2.profdata, LLVM_COVERAGE_FILE_ft_3.profdata, LLVM_COVERAGE_FILE_ft_old_s3_db_repl_parallel_2.profdata, LLVM_COVERAGE_FILE_ft_old_s3_db_repl_parallel_3.profdata, LLVM_COVERAGE_FILE_ft_old_s3_db_repl_sequential_1.profdata, LLVM_COVERAGE_FILE_ft_old_s3_db_repl_sequential_2.profdata, LLVM_COVERAGE_FILE_ft_s3_async_sequential.profdata, LLVM_COVERAGE_FILE_ft_s3_sequential.profdata, LLVM_COVERAGE_FILE_it_1.profdata, LLVM_COVERAGE_FILE_it_2.profdata, LLVM_COVERAGE_FILE_it_3.profdata, LLVM_COVERAGE_FILE_it_4.profdata, LLVM_COVERAGE_FILE_it_5.profdata, LLVM_COVERAGE_FILE_it_6.profdata, LLVM_COVERAGE_FILE_it_7.profdata, LLVM_COVERAGE_FILE_it_8.profdata.

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Sep 7, 2026
Comment thread ci/jobs/build_profile_diff_job.py Resolved
@alexey-milovidov alexey-milovidov self-assigned this Sep 7, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). label Sep 7, 2026
@azat
azat force-pushed the ci/change-build-profile-user branch from 6a82d0d to f847aa7 Compare September 7, 2026 17:24
@azat
azat force-pushed the ci/change-build-profile-user branch from f847aa7 to ea884da Compare September 7, 2026 17:28
@clickhouse-gh

clickhouse-gh Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing ea884da5e with master 5f096d5da (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.

Object file sizes

18 object files changed (+96.17 KiB total), 0 added.

Object file Master PR Δ
src/Functions/CMakeFiles/clickhouse_functions_obj.dir/divide.cpp.o 10.16 MiB 10.21 MiB +48.61 KiB (+0.47%)
src/Functions/CMakeFiles/clickhouse_functions_obj.dir/multiply.cpp.o 7.83 MiB 7.88 MiB +47.55 KiB (+0.59%)

716 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only clickhouse-bundle) and not compared.

Compile time of recompiled translation units

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

Job report

@azat
azat enabled auto-merge September 7, 2026 21:15
@azat
azat added this pull request to the merge queue Sep 7, 2026
Merged via the queue into ClickHouse:master with commit a0110e9 Sep 7, 2026
174 checks passed
@azat
azat deleted the ci/change-build-profile-user branch September 7, 2026 22:56
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 7, 2026
nikitamikhaylov added a commit that referenced this pull request Sep 8, 2026
Use the merged CI account fix so `Build profile diff` can query
`binary_sizes`. The PR diff remains unchanged.

Related: #118618
Related: #118124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants