Skip to content

Randomize more settings - #99181

Closed
PedroTadim wants to merge 2 commits into
masterfrom
rand-settings
Closed

PedroTadim wants to merge 2 commits into
masterfrom
rand-settings

Conversation

@PedroTadim

@PedroTadim PedroTadim commented Mar 10, 2026 •

Copy link
Copy Markdown
Member

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):

...

Documentation entry for user-facing changes

Let's hope the CI doesn't break.

  • Documentation is written (mandatory for new features)

Note

Medium Risk
Broadens randomized settings for functional tests, which can surface new edge cases and increase CI flakiness if some settings interact poorly with existing tests. Adds a couple of ordering constraints to reduce invalid setting combinations, lowering (but not eliminating) that risk.

Overview
Extends tests/clickhouse-test settings randomization by adding many additional MergeTree-related knobs (merge scheduling, vertical merge options, index/statistics materialization, I/O and serialization toggles) plus new thresholds like vertical_merge_algorithm_min_bytes_to_activate.

Adds semantic ordering guards to prevent generating invalid ranges (min_compress_block_size/max_compress_block_size and min_index_granularity_bytes vs index_granularity_bytes), and includes minor whitespace-only cleanup in skip logic.

Written by Cursor Bugbot for commit 6efedc0. This will update automatically on new commits. Configure here.

@clickhouse-gh

clickhouse-gh Bot commented Mar 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [6efedc0]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_asan, distributed plan, parallel, 1/2) failure
02366_kql_func_math FAIL cidb
00275_shard_quantiles_weighted FAIL cidb
02864_statistics_delayed_materialization_in_merge FAIL cidb
Segmentation fault (STID: 1717-4a03) FAIL cidb, issue
Stateless tests (amd_asan, distributed plan, parallel, 2/2) failure
03164_materialize_skip_index FAIL cidb
03166_skip_indexes_vertical_merge_1 FAIL cidb
03100_lwu_46_deletes_skip_indexes FAIL cidb
03636_index_analysis_with_session_tz FAIL cidb
03553_json_shared_data_advanced_serialization_4 FAIL cidb
03625_auto_statistics FAIL cidb
02346_exclude_materialize_skip_indexes_on_insert FAIL cidb
02956_rocksdb_bulk_sink FAIL cidb
02375_system_schema_inference_cache FAIL cidb
Segmentation fault (STID: 1717-4a03) FAIL cidb, issue
Stateless tests (amd_debug, parallel) failure
02317_distinct_in_order_optimization FAIL cidb
03165_string_functions_with_token_text_indexes FAIL cidb
03261_minmax_indices_by_default FAIL cidb
03759_distinct_json_paths_optimization FAIL cidb
03702_alter_column_modify_secondary_index_drop FAIL cidb
03553_json_shared_data_advanced_serialization_2 FAIL cidb
03164_materialize_skip_index FAIL cidb
03375_bloom_filter_ngram_has_hasAny_const_array FAIL cidb
04032_alter_version_column_nonexistent FAIL cidb
03913_partially_materialized_statistics FAIL cidb
69 more test cases not shown
Stateless tests (amd_tsan, parallel, 1/2) failure
03560_parallel_replicas_projection FAIL cidb
02317_distinct_in_order_optimization FAIL cidb
03254_timeseries_group_array FAIL cidb
03152_join_filter_push_down_equivalent_columns FAIL cidb
03369_function_arrayLevenshtein FAIL cidb
02539_vertical_merge_compact_parts FAIL cidb
01917_system_data_skipping_indices FAIL cidb
03006_join_on_inequal_expression_fast_1 FAIL cidb
01781_token_extractor_buffer_overflow FAIL cidb
04032_alter_version_column_nonexistent FAIL cidb
32 more test cases not shown
Stateless tests (amd_tsan, parallel, 2/2) failure
00825_protobuf_format_enum_mapping FAIL cidb
01942_create_table_with_sample FAIL cidb
03701_distinct_but_no_group_by_projection_table_use_check FAIL cidb
03599_lightweight_delete_vertical_merge FAIL cidb
03164_materialize_skip_index FAIL cidb
02362_part_log_merge_algorithm FAIL cidb
03625_auto_statistics FAIL cidb
02710_allow_suspicious_indices FAIL cidb
03622_ttl_infos_where FAIL cidb
02864_statistics_usage FAIL cidb
5 more test cases not shown
Stateless tests (arm_binary, parallel) failure
03278_json_subcolumns_in_skipping_indexes FAIL cidb
03127_system_unload_primary_key_table FAIL cidb
02277_full_sort_join_misc FAIL cidb
02813_float_parsing FAIL cidb
03448_analyzer_array_join_alias_in_join_using_bug FAIL cidb
02122_parallel_formatting_JSONCompactEachRowWithNames FAIL cidb
Segmentation fault (STID: 1717-4a03) FAIL cidb, issue
Build (amd_release) dropped
Stateless tests (amd_asan, db disk, distributed plan, sequential) dropped
Stateless tests (amd_llvm_coverage, old analyzer, s3 storage, DatabaseReplicated, WasmEdge, parallel) dropped
Stateless tests (amd_llvm_coverage, old analyzer, s3 storage, DatabaseReplicated, WasmEdge, sequential) dropped

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Mar 10, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Comment thread tests/clickhouse-test Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant