Repository navigation
Do not select performance tests from a coverage collection that covered no test - #131772
Conversation
…ed no test The NightlyCoverage run at 79929b2c (the first after the switch to clang-23) crashed the coverage server on every test. All 16 per_query_coverage shards still published a manifest (0 collected, 843 failed tests), and since ClickHouse#131309 coverage_cohort accepts such shards and returns the newest identity group that reaches 16 shards. That empty cohort displaced the complete one from f3bfabe, validate_manifests produced no covered test, select made every XML mandatory with all queries, and the 6-shard PR performance jobs were killed at the 7200 s job timeout on both architectures. A complete group in which no test was collected is now recorded in superseded_artifacts with the reason "Coverage collection covered no test", removed from the walk, and an older group is used. A collection with at least one collected test is still accepted as partial coverage, as ClickHouse#131309 intends. Without any usable group in 72 hours the existing "No complete compatible performance coverage" error ends selection instead of a full run. Validated offline on the recorded CIDB jobs and S3 manifests: master picks 79929b2c (0 covered, 851 mandatory), this change picks f3bfabe (842 covered, 10 mandatory); synthetic cohorts keep one failed shard and a single collected test accepted. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (2 nits).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261115-091700 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-40:20261115-090400 |
|
Workflow [PR], commit [eec50f4] Summary: ✅
AI ReviewSummaryPR #131772, reviewed at Final VerdictStatus: ✅ Approve |
d2a0007
Related: #131309
Related: #131751
Related: #117346
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Since 2026-11-15 05:58Z, PR
Performance Comparison (*_release, master_head, N/6)shards run the whole suite with all queries and are killed at the 7200 s job timeout: 19 shards on 13 PRs, on both architectures. Example: arm_release 3/6 of #131743, 142 tests, all with--max-queries 0, 98 min of benchmarks.The NightlyCoverage run at
79929b2c, the first after the switch to clang-23 (#117346), crashed the coverage server on every test (the fix is in the open #131751). All 16per_query_coveragemanifests are published with 0 collected and 843 failed tests. Since #131309 such shards are published and accepted, andcoverage_cohortreturns the newest group that reaches 16 shards, so this cohort displaced the complete one fromf3bfabe1. With no covered test,selectmakes every XML mandatory.coverage_cohortnow moves a complete group in which no test was collected tosuperseded_artifacts(reasonCoverage collection covered no test) and keeps walking to an older group. A collection that collected at least one test is still accepted as partial coverage, as #131309 intends. If no usable group exists within 72 hours, selection fails with the existingNo complete compatible performance coverageerror instead of a 2-hour run. Reverting #131309 is the alternative, but it no longer applies cleanly (conflict with cd097214 in this file).Validated offline by replaying
coverage_cohorton the recorded CIDB jobs and S3 manifests: master picks79929b2c(0 covered tests, all 851 non-long tests mandatory), this change picksf3bfabe1(842 covered, 10 mandatory). Synthetic cohorts confirm that one failed shard or a single collected test is still accepted.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/131772]
Version info
26.11.1.2338-master(included in26.11and later)