Skip to content

Pin join-plan randomization in the AutoPR join tests - #113908

Merged
alexey-milovidov merged 5 commits into
masterfrom
fix-autopr-join-tests-randomization
Aug 12, 2026
Merged

alexey-milovidov merged 5 commits into
masterfrom
fix-autopr-join-tests-randomization

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

Related: #113904
Related: #113412
Related: #106073

Companion to #113904 (merged 2026-08-10); this covers the remaining four AutoPR join tests added in #106073, all flaking since 2026-08-07 (04305 on 7 PRs, 04340/04342/04655_autopr_join_any_take_last_row_cache_key also on master runs).

Under randomized settings, query_plan_optimize_join_order_randomize produces different cardinality estimates in the single-replica and the candidate parallel-replicas plan builds. Reproduced locally with the CI culprit settings (join_runtime_filter_min_probe_rows=9325, query_plan_optimize_join_order_randomize=306668) against a real server with a parallel_replicas cluster: the single-replica plan estimated a join cardinality of 8957322 and installed the join runtime filter, while the candidate replicas plan estimated 8755 (below the randomized join_runtime_filter_min_probe_rows threshold) and did not, so the plan shapes diverged, findCorrespondingNodeInSingleNodePlan logged Cannot find step with matching hash in single-node plan, and AutoPR skipped the instrumentation (fail-closed) — the test then reports output_bytes = 0. 04340 reproduces with query_plan_optimize_join_order_randomize alone (a diverging join order, no runtime filter needed).

Pin query_plan_optimize_join_order_randomize = 0 and, per review feedback, pin the runtime-filter settings to their defaults (enable_join_runtime_filters = 1, join_runtime_filter_min_probe_rows = 1000) instead of disabling them, so the default code path stays covered — with the randomization off, both plan builds draw the same cardinality estimates and a pinned threshold decides identically in both. This matches the pin 04341_autopr_mode1_apply_join got in #113904. Verified locally: 04305 and 04340 fail with the culprit settings before the pin; after it, all five AutoPR join tests pass 100/100 runs with settings randomization enabled (see the measurement in the comments) and 25/25 in a follow-up run of the final revision.

Seen on #113412: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=113412&sha=d882b451a59bc6e5b1baf8b21798757e9b1c122b&name_0=PR&name_1=Stateless%20tests%20%28amd_tsan%2C%20s3%20storage%2C%20parallel%2C%203%2F3%29

Changelog category (leave one):

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

Version info

  • Merged into: 26.8.1.1266 (included in 26.8 and later)

Under randomized settings, `query_plan_optimize_join_order_randomize` produces
different cardinality estimates in the single-replica and the candidate
parallel-replicas plan builds (and can flip the
`join_runtime_filter_min_probe_rows` threshold in only one of them), so the plan
shapes diverge, `findCorrespondingNodeInSingleNodePlan` finds no matching hash,
and AutoPR skips the instrumentation or declines to apply (fail-closed) - the
tests then report 0 instead of the expected value. Pin
`query_plan_optimize_join_order_randomize = 0` and
`enable_join_runtime_filters = 0`, as `04341_autopr_mode1_apply_join` does in
#113904.

Seen on #113412:
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=113412&sha=d882b451a59bc6e5b1baf8b21798757e9b1c122b&name_0=PR&name_1=Stateless%20tests%20%28amd_tsan%2C%20s3%20storage%2C%20parallel%2C%203%2F3%29

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

clickhouse-gh Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [76c3008]

Summary: ✅


AI Review

Summary

This PR pins query_plan_optimize_join_order_randomize in the remaining four AutoPR JOIN stateless tests and pins enable_join_runtime_filters = 1 plus join_runtime_filter_min_probe_rows = 1000 so the default runtime-filter path stays exercised while the single-node and candidate parallel-replicas plans stop diverging under the test harness randomizer. I reviewed the final diff against the prior discussion and the relevant automatic-parallel-replicas / JOIN runtime-filter code paths, and I did not find any remaining correctness, coverage, or metadata issues in the current revision.

Final Verdict

✅ No findings.

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Aug 8, 2026
Address the AI review: with the companion
#113904 still open, this branch
alone left one AutoPR join test exposed to the same randomized-plan divergence.
Apply the identical pin from that PR (byte-for-byte, so both PRs merge cleanly
in either order): pin query_plan_optimize_join_order_randomize = 0 and keep
runtime filters enabled with join_runtime_filter_min_probe_rows pinned, since
this test is the only mode=1 APPLY coverage for the RIGHT JOIN plan shape with
BuildRuntimeFilterStep present.

Co-Authored-By: Claude Fable 5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 @groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=113908&sha=a3f062cd51ebc35bba029e92980560873b2f4b0e&name_0=PR&name_1=Stress%20test%20%28amd_tsan%29 and provide a fix in a separate PR. If the fix is already in progress, link it here. The Logical error: Found patch part ... that intersects mutation with version ... abort in the stress test is unrelated to this PR (which only pins settings in four stateless tests) and is tracked by #98898; the Cannot start clickhouse-server / Check failed entries are consequences of the same abort.

@groeneai

groeneai commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

@alexey-milovidov Investigated. Confirmed unrelated to this PR, and no fix is in progress yet, so I am authoring one and will link it here.

STID 2781-51e9. The exact message from fatal.log:

Logical error: 'Found patch part patch-9834becdf7e2e15ad7c410ffd6a5a63c-all_0_15_1_11
(min data version: 1, max data version: 11) that intersects mutation with version 2'

Same signature and same stack as #98898: patchHasHigherDataVersion (src/Storages/MergeTree/PatchParts/PatchPartsUtils.cpp:266), reached from getPatchPartsByPartition -> MutationsSnapshotBase -> ReplicatedMergeTreeQueue::getMutationsSnapshot -> MutateTask::prepare. The Cannot start clickhouse-server and Check failed rows are the same abort recurring on restart, as you said.

The shape of the defect is visible in the part name. all_0_15_1_11 is level 1, so it is a merged patch part, and its source data version range is 1..11. The mutation being prepared is at version 2, which falls strictly inside that range. patchHasHigherDataVersion then hits max_patch_version > max_data_version && min_patch_version <= max_data_version and throws, because a patch that straddles the mutation boundary has no partial-application path: some of its rows belong before the mutation and some after, and a patch is applied whole or not at all. So a patch-part merge is allowed to span a data version that a pending mutation will later use as its cut point, and every mutation that then lands on that boundary is stuck permanently. That matches the reporter's symptom in #98898, where the stall survives the mutation itself disappearing from system.mutations.

Breadth from CIDB: 2 occurrences in 90 days, and one of them is on master rather than a PR, so nothing about this PR is implicated.

Note the existing guards do not cover this. isMergeOfPatchPartsBlocked only refuses a patch merge whose sources are already pinned by a queued MERGE_PARTS entry, and havePendingPatchPartsForMutation only waits for uncommitted updates and for patch fetches below the mutation version. Neither one stops a patch merge from producing a source range that crosses a mutation version. I will follow up here with the PR.

@groeneai

groeneai commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

@alexey-milovidov Fix is up: #113998

Root cause, confirmed locally with a deterministic repro rather than inferred from the report: only a merge of patch parts can produce a patch whose source data-version range spans a mutation version, because SourcePartsSetForPatch::merge unions the ranges while a freshly written patch always has min == max. The pair check in DistributedMergePredicate::canMergeParts should already refuse such a pair, and with intact metadata it does. It fails because getCurrentMutationVersion returns 0 for a partition absent from mutations_by_partition, which is indistinguishable from a partition with no mutations: the finished-mutation cleaner deletes the /mutations znodes once every replica's mutation_pointer has passed them, while the MUTATE_PART queue entries survive. Every patch then maps to 0, both endpoints compare equal, and every pair looks mergeable. The log line immediately before the abort is There are no mutations for partition ID all, which is also what the issue title describes.

The fix takes the pending versions from the replication queue instead, since a queued MUTATE_PART entry's new_part_name encodes its target version, and postpones a patch merge whose sources would span one. Postponing is self-healing: the patches stay unmerged, the mutation runs, the merge follows. The assertion is untouched.

Two things I deliberately did not do, both stated in the PR. It does not repair a patch that already spans a version on disk, so a table already in that state stays stuck; that needs per-row _data_version filtering when applying patches. And the check is execution-side and per-replica, like the guards it sits beside, so it stops a replica merging across a mutation queued there rather than closing every route by which such a patch could reach one. I marked the issue Related rather than Closes for that reason.

Breadth from CIDB over 90 days: exactly 2 occurrences of this message, one of them on master, so it is a trunk defect and rare rather than PR-caused.

@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Both stress-test failures on 86dfbcf are unrelated to this PR (which only pins settings in five stateless tests); I have merged master to get a fresh run.

  1. Stress test (arm_debug): Logical error: '(isConst() || isSparse() || ...) ? getDataType() == rhs.getDataType() : typeid(*this) == typeid(rhs)' in buildAdditionalFilter (STID 2508-2e0c) — tracked by Mixed JOIN ON condition over a dictionary with join_use_nulls = 1: wrong results, and a failed type-equality chassert in debug stress runs (STID 2508-2e0c) #113931, fix in progress in Fix mixed JOIN ON condition over a dictionary with join_use_nulls #113933.

  2. Stress test (arm_asan_ubsan, s3): LeakSanitizer: detected memory leaks — a direct leak of 48 DB::DDSketchDenseStore/DB::DDSketchLogarithmicMapping objects allocated in Aggregator::createAggregateStates via AggregatingInOrderTransform::consume (AggregatingInOrderTransform.cpp:128 and :224), i.e. quantileDD aggregate states (which own heap memory through unique_ptr) created during aggregation-in-order and never destroy-ed. This is distinct from the fleet-wide DDL-context/ZooKeeper cycle in LeakSanitizer: abandoned reference cycle of DDL query context + ZooKeeper session in stress tests (fleet-wide since 2026-08-07) #113954. I did not find an existing issue or fix for this signature.

@groeneai, investigate failure 2 and provide a fix in a separate PR (if a fix is already in progress, link it here). A starting hint: the limit_hint early-termination path added in Push LIMIT into aggregation-in-order for early termination sets variants.invalidate() in consume (AggregatingInOrderTransform.cpp:211) — check whether every path that invalidates variants has first transferred ownership of states with a non-trivial destroy (such as quantileDD) to the result ColumnAggregateFunction, including when the downstream LIMIT drops rows.

@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Filed #114000 to track the quantileDD aggregate-state leak (failure 2 above).

@groeneai

groeneai commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Confirmed, and not caused by this PR (its diff is five tests/queries/0_stateless/*autopr*join*.sql files). Failure 1 is covered by your 113931 / 113933 route and I am tracking that family separately. Failure 2 is mine: a fix is in implementation now with the root cause proven, and I will post the PR link here and on 114000 as soon as it opens.

The root cause is not the limit_hint path. In partial-GROUP-BY-key mode (group_by_key == true, i.e. table ORDER BY parent_key with GROUP BY parent_key, child_key) the producer is unconditional while the consumer is guarded. createStatesAndFillKeyColumnsWithSingleKey always writes a fresh state into variants.without_key (Aggregator.cpp:2829-2831), but addSingleKeyToAggregateColumns, the only thing that hands that state to a ColumnAggregateFunction and clears the pointer, sits behind if (!group_by_key) at AggregatingInOrderTransform.cpp:191-192 and :337-341. In this mode the output comes from the hash table via prepareChunkAndFillSingleLevel, which never reads without_key, so each next call to the helper overwrites the pointer and orphans the previous state. invalidate() (AggregatedDataVariants.h:317, literally type = Type::EMPTY) explains only the last one, by making destroyAllAggregateStates return at its result.empty() check (Aggregator.cpp:4331-4332).

So no LIMIT is needed. My reproducer has none and leaks 30 allocations on a master ASAN build:

CREATE TABLE t (parent_key Int, child_key Int, value Float64) ENGINE = MergeTree ORDER BY parent_key;
INSERT INTO t SELECT number % 10, number % 3, number FROM numbers(1000);
SELECT parent_key, child_key, quantileDD(0.01, 0.5)(value) FROM t GROUP BY parent_key, child_key
SETTINGS max_threads = 1, optimize_aggregation_in_order = 1;

Controls are clean: optimize_aggregation_in_order = 0, count() in place of quantileDD, and the full-key form that takes the !group_by_key branch. A limit_hint-shaped fix would leave the overwrite path leaking, and widening invalidate() or destroyAllAggregateStates would double-free on the !group_by_key path, where the result column already owns the state. The fix I am implementing stops creating the state that has no consumer.

On the counts: 48 objects is one of the seven Direct leak blocks. The report total is 11840 bytes in 222 allocations, and that total is what closes the analysis. 26 states from :128 plus 48 from :224 is 74 states, DDSketchDenseLogarithmic allocates exactly three heap members (DDSketch.h:28-30, 48 + 56 + 56 = 160 bytes), and 74 x 3 = 222 with 74 x 160 = 11840. Both match exactly, so there is no second mechanism.

This has been latent since 3931dbd, which added the mode and all the !group_by_key guards while leaving the producer unconditional. It stayed invisible because only a state with a non-trivial destructor leaks observably, and the in-tree test of this exact plan shape (02233_optimize_aggregation_in_order_prefix.sql) aggregates count().

@groeneai

groeneai commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

The fix is up: #114010 (Closes: #114000).

As posted earlier, the mechanism is the unconditional producer at Aggregator.cpp:2829-2831
against the !group_by_key-guarded consumers at AggregatingInOrderTransform.cpp:191-192 and
:337-341, so the PR stops creating the state that has no consumer rather than adding a
destructor. Validated on an ASAN build: the reported DDSketch frames before, clean after,
results byte-identical.

This CI failure is not caused by this PR, which changes only *autopr*join*.sql test files.

@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 All four stress-test reds on 0b1f9e0 are unrelated to this PR (its diff is still only five tests/queries/0_stateless/*autopr*join*.sql files); each already has a fix in flight:

  1. Stress test (amd_asan_ubsan): LeakSanitizer report where every record is an indirect leak, with Context::createCopy via QueryTreeBuilder::buildSelectExpression in the stacks — the master-wide materialized-CTE plan self-reference cycle, fixed by Fix a table permanently stuck in the drop queue after a failed materialized-CTE query #113397.
  2. Stress test (amd_msan): Logical error: 'Join is supported only for pipelines with one output port, got 1 and 4' — hits dozens of unrelated PRs since late July (CIDB), fixed by Fix LOGICAL_ERROR in full_sorting_merge JOIN when sharding stream counts diverge #109393.
  3. Stress test (arm_tsan) and 4. Stress test (arm_msan): the assertTypeEquality abort in buildAdditionalFilter — issue Mixed JOIN ON condition over a dictionary with join_use_nulls = 1: wrong results, and a failed type-equality chassert in debug stress runs (STID 2508-2e0c) #113931, fixed by Fix mixed JOIN ON condition over a dictionary with join_use_nulls #113933.

The AI review verdict is ✅ and there are no unresolved review threads, so this is ready for a human to merge; the stress reds will clear once the fixes above land.

@nickitat

Copy link
Copy Markdown
Member

I propose to use the default settings for runtime filters:

diff --git a/tests/queries/0_stateless/04305_autopr_output_bytes_estimation_join.sql b/tests/queries/0_stateless/04305_autopr_output_bytes_estimation_join.sql
index 94f04b2dc2e88..85f00ad81b585 100644
--- a/tests/queries/0_stateless/04305_autopr_output_bytes_estimation_join.sql
+++ b/tests/queries/0_stateless/04305_autopr_output_bytes_estimation_join.sql
@@ -11,8 +11,9 @@ SET query_plan_join_swap_table='false';
 -- statistics (query_plan_optimize_join_order_randomize) produce different cardinality estimates in
 -- the two plan builds, which can flip the runtime filter's join_runtime_filter_min_probe_rows
 -- threshold in only one of them; the plans then diverge, AutoPR skips the instrumentation
--- (fail-closed), and output_bytes stays 0.
-SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=0;
+-- (fail-closed), and output_bytes stays 0. Pin the runtime filter settings to their defaults
+-- instead of disabling them, so the default code path stays covered.
+SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=1, join_runtime_filter_min_probe_rows=1000;

 SET max_bytes_before_external_group_by=0, max_bytes_ratio_before_external_group_by=0;
 SET max_bytes_before_external_sort=0, max_bytes_ratio_before_external_sort=0;
diff --git a/tests/queries/0_stateless/04340_autopr_input_bytes_estimation_join.sql b/tests/queries/0_stateless/04340_autopr_input_bytes_estimation_join.sql
index 1e837eae8259c..5d6d80e3501ab 100644
--- a/tests/queries/0_stateless/04340_autopr_input_bytes_estimation_join.sql
+++ b/tests/queries/0_stateless/04340_autopr_input_bytes_estimation_join.sql
@@ -22,8 +22,9 @@ SET query_plan_join_swap_table='false';
 -- statistics (query_plan_optimize_join_order_randomize) produce different cardinality estimates in
 -- the two plan builds (and can flip the join_runtime_filter_min_probe_rows threshold in only one
 -- of them); the plans then diverge, AutoPR skips the instrumentation (fail-closed), and
--- input_bytes stays 0.
-SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=0;
+-- input_bytes stays 0. Pin the runtime filter settings to their defaults instead of disabling
+-- them, so the default code path stays covered.
+SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=1, join_runtime_filter_min_probe_rows=1000;

 -- Reading aggregation states / external sort spills from disk would inflate `ReadCompressedBytes`.
 SET max_bytes_before_external_group_by=0, max_bytes_ratio_before_external_group_by=0;
diff --git a/tests/queries/0_stateless/04342_autopr_join_apply_distinct_preanalyzed.sql b/tests/queries/0_stateless/04342_autopr_join_apply_distinct_preanalyzed.sql
index ea3af46be05aa..57f2485c7c6a1 100644
--- a/tests/queries/0_stateless/04342_autopr_join_apply_distinct_preanalyzed.sql
+++ b/tests/queries/0_stateless/04342_autopr_join_apply_distinct_preanalyzed.sql
@@ -33,8 +33,9 @@ SET query_plan_join_swap_table='false';
 -- Keep the plan identical between the collect and apply runs: randomized join-order statistics
 -- (query_plan_optimize_join_order_randomize) produce different cardinality estimates in different
 -- plan builds (and can flip the join_runtime_filter_min_probe_rows threshold in only one of them),
--- so AutoPR declines to apply (fail-closed) and result_ok stays 0.
-SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=0;
+-- so AutoPR declines to apply (fail-closed) and result_ok stays 0. Pin the runtime filter settings
+-- to their defaults instead of disabling them, so the default code path stays covered.
+SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=1, join_runtime_filter_min_probe_rows=1000;
 SET enable_analyzer=1;
 SET max_threads=4, max_block_size=128;
 SET automatic_parallel_replicas_min_bytes_per_replica=0, merge_tree_min_bytes_per_task_for_remote_reading=0;
diff --git a/tests/queries/0_stateless/04655_autopr_join_any_take_last_row_cache_key.sql b/tests/queries/0_stateless/04655_autopr_join_any_take_last_row_cache_key.sql
index 39ace77f45291..062b3a7b325a5 100644
--- a/tests/queries/0_stateless/04655_autopr_join_any_take_last_row_cache_key.sql
+++ b/tests/queries/0_stateless/04655_autopr_join_any_take_last_row_cache_key.sql
@@ -19,8 +19,10 @@ SET query_plan_join_swap_table='false';
 -- Keep the plan identical between the collect and apply runs: randomized join-order statistics
 -- (query_plan_optimize_join_order_randomize) produce different cardinality estimates in different
 -- plan builds (and can flip the join_runtime_filter_min_probe_rows threshold in only one of them),
--- so AutoPR skips the statistics collection (fail-closed) and stats_collected stays 0.
-SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=0;
+-- so AutoPR skips the statistics collection (fail-closed) and stats_collected stays 0. Pin the
+-- runtime filter settings to their defaults instead of disabling them, so the default code path
+-- stays covered.
+SET query_plan_optimize_join_order_randomize=0, enable_join_runtime_filters=1, join_runtime_filter_min_probe_rows=1000;

 SET automatic_parallel_replicas_min_bytes_per_replica=0;
 SET merge_tree_min_bytes_per_task_for_remote_reading=0;

It works per my local measurements:

Verification — branch built from this worktree (build/programs/clickhouse, 26.8.1.1), server started with test configs from this checkout, then:

clickhouse-test --test-runs 100 --sequential-test-runs 100 -j 5 --no-self-parallel <the 5 tests>

with settings randomization enabled (default):

┌───────────────────────────────────────────────┬────────────┐
│                     test                      │   result   │
├───────────────────────────────────────────────┼────────────┤
│ 04305_autopr_output_bytes_estimation_join     │ 100/100 OK │
├───────────────────────────────────────────────┼────────────┤
│ 04340_autopr_input_bytes_estimation_join      │ 100/100 OK │
├───────────────────────────────────────────────┼────────────┤
│ 04341_autopr_mode1_apply_join                 │ 100/100 OK │
├───────────────────────────────────────────────┼────────────┤
│ 04342_autopr_join_apply_distinct_preanalyzed  │ 100/100 OK │
├───────────────────────────────────────────────┼────────────┤
│ 04655_autopr_join_any_take_last_row_cache_key │ 100/100 OK │
└───────────────────────────────────────────────┴────────────┘

500/500 passed, 258 s. Log: build/test_autopr_join_100runs.log.

alexey-milovidov and others added 2 commits August 11, 2026 05:05
…sabling

Per nickitat's suggestion on the PR: keep `enable_join_runtime_filters = 1`
and `join_runtime_filter_min_probe_rows = 1000` (the defaults) pinned instead
of disabling the runtime filters, so the default code path stays covered.
With `query_plan_optimize_join_order_randomize = 0` both plan builds draw the
same cardinality estimates, so a pinned threshold decides identically in both.

In `04340` the pin is merged into the block that came from master (which
already pinned `enable_join_runtime_filters = 1`) instead of duplicating it.

Verified locally: all five AutoPR join tests pass 5/5 runs with settings
randomization enabled.

Co-Authored-By: Claude Fable 5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Applied your suggestion in 76c3008 — thanks! All four tests now pin enable_join_runtime_filters = 1 and join_runtime_filter_min_probe_rows = 1000 (the defaults) instead of disabling the filters. One deviation from the diff: master meanwhile got its own pin block in 04340_autopr_input_bytes_estimation_join (query_plan_optimize_join_order_randomize = 0 + enable_join_runtime_filters = 1), so after merging master I folded the join_runtime_filter_min_probe_rows = 1000 pin into that block rather than keeping a duplicate. Also merged master, which pulls in #113904 (the 04341 hunk deduplicated) and the assertTypeEquality fix #113534. Re-verified locally: all five AutoPR join tests pass 25/25 runs with settings randomization enabled.

@clickhouse-gh

clickhouse-gh Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 76c3008fb with master c462bd702 (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
Binary Master PR Δ
programs/clickhouse-stripped 691.29 MiB 688.29 MiB -3.00 MiB (-0.43%)

Only the stripped binary is compared: the official master build keeps debug symbols while PR builds strip them, so the other binaries differ by construction.

Compile time of recompiled translation units

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

Job report

@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Triage of the four stress reds on 76c3008 (2026-08-11 run): all four are the known fleet-wide storms, unrelated to this PR (it only pins settings in four stateless .sql tests).

Both storms are fixed by the open PR #113397, not yet merged, so re-merging master does not clear them. Everything else is green, the AI review verdict is ✅, and there are no unresolved review threads — ready for a human merge decision once the storm fix lands.

@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Aug 12, 2026
Merged via the queue into master with commit bb1bd30 Aug 12, 2026
352 of 356 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix-autopr-join-tests-randomization branch August 12, 2026 17:28
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants