Skip to content

Resolve the PR coverage baseline under the CoverageReport prefix - #125987

Merged
alexbakharew merged 1 commit into
masterfrom
abakharew/coverage-diff-baseline-coveragereport
Oct 15, 2026
Merged

alexbakharew merged 1 commit into
masterfrom
abakharew/coverage-diff-baseline-coveragereport

Conversation

@alexbakharew

@alexbakharew alexbakharew commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Caused by: #124764
Related: #124765
Related: #125647

Since 2026-10-09 master's LLVM coverage is measured by the scheduled CoverageReport workflow, one run every 3 hours, and published under REFs/master/<sha>/coveragereport/. MasterCI no longer runs the coverage jobs. master_coverage_url in ci/jobs/llvm_coverage_job.py still built the MasterCI prefix, so the Generate LLVM Coverage Diff Report step of the LLVM Coverage job probed 100 master-track commits, found nothing, and failed with ERROR: Could not find baseline coverage file after checking 100 commits on every pull request that runs the coverage jobs.

Failures of LLVM Coverage on pull requests (CI database): 2026-10-11: 1, 2026-10-12: 4, 2026-10-13: 12, 2026-10-14: 7, 2026-10-15: 14 by 09:40 UTC. The only passes since 2026-10-11 are incomplete measurements, which skip the diff. Example: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=125019&sha=82173183078486857b22de8ed19e39e8efb4d740&name_0=PR&name_1=LLVM%20Coverage

The fix sets the workflow name to CoverageReport. The diff step already takes the newest master-track commit with a published tracefile, so the 3-hour gaps between scheduled runs need no other change: 100 master-track commits cover about 2 days, that is about 16 scheduled runs.

Checked locally with the patched function: the URLs for the two newest CoverageReport commits of today (7c7053a, d245b78) answer HTTP 200, and a master commit without a scheduled run (28f5221) answers 403, which the probing of the master track handles. The old masterci/ URL answers 403 for all of them.

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

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

...

🤖 Generated with Claude Code


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

Version info

  • Merged into: 26.10.1.2472-master (included in 26.10 and later)

Since 2026-10-09 (PRs #124764 and #124765) master's LLVM coverage is measured by
the scheduled `CoverageReport` workflow and published under `coveragereport/`;
`MasterCI` no longer runs the coverage jobs. `master_coverage_url` still built
the `MasterCI` prefix, so the `Generate LLVM Coverage Diff Report` step of the
`LLVM Coverage` job found no baseline in any of the 100 master-track commits and
failed on every pull request that runs the coverage jobs: 1 failure on 2026-10-11,
4 on 2026-10-12, 12 on 2026-10-13, 7 on 2026-10-14, 14 on 2026-10-15 so far. The
only passes since then are incomplete measurements, which skip the diff.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [6b372ab]

Summary: ✅


AI Review

Summary

The change restores PR coverage baseline lookup by using the CoverageReport artifact prefix instead of MasterCI. The prefix matches the scheduled workflow's uploads; live checks confirmed that two published baselines are found and a commit without a report is skipped. No actionable findings.

Final Verdict

Status: ✅ Approve

LLVM Coverage Report

Measured on commit 6b372ab.

Metric Baseline Current Δ
Lines 88.50% 88.50% +0.00%
Functions 92.20% 92.20% +0.00%
Branches 80.10% 80.00% -0.10%

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

Newly covered: +272 lines in 79 files (-194 lines lost coverage) · Details

Full report

@clickhouse-gh clickhouse-gh Bot added pr-ci comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). labels Oct 15, 2026
@alexbakharew
alexbakharew added this pull request to the merge queue Oct 15, 2026
Merged via the queue into master with commit b3f7730 Oct 15, 2026
178 checks passed
@alexbakharew
alexbakharew deleted the abakharew/coverage-diff-baseline-coveragereport branch October 15, 2026 11:54
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 15, 2026
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-ci 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.

2 participants