Repository navigation
Conversation
Settings in the `OBSOLETE_SETTINGS` block of `src/Core/Settings.cpp`
(both `MAKE_OBSOLETE` and `MAKE_DEPRECATED_BY_SERVER_CONFIG`) have no
effect anymore, but many tests still set them via `SET`, `SETTINGS`
clauses, client command-line flags, `settings={...}` dictionaries in
integration tests, user profiles in integration and CI configs, and
performance test settings. Remove these assignments.
- `SET` / `SETTINGS` items are removed; a `SETTINGS` clause whose only
item was obsolete is dropped entirely.
- Reference files of `-- { echo }` tests that echoed the removed
statements are updated accordingly.
- `03008_deduplication.python` no longer sets
`update_insert_deduplication_token_in_dependent_materialized_views`
and no longer probes it in the diagnostics report; the reference of
`03008_deduplication_diagnostics_opt_in` is regenerated.
- Integration test configs that only set an obsolete profile setting
(`test_storage_s3/configs/s3_max_redirects.xml`,
`test_storage_alias_replicated/configs/config_alias.xml`) are deleted
together with their references in `test.py`.
- In `test_iceberg_disk_client_replacement`, the query-scoped override
of `s3_max_redirects` (now a no-op) is replaced by
`s3_use_adaptive_timeouts`, another setting the S3 client is built
from, so the assertion keeps its meaning.
Settings that share their name with a `MergeTree` or server setting
(`lightweight_mutation_projection_mode`,
`merge_tree_clear_old_parts_interval_seconds`, `background_pool_size`,
`s3_retry_attempts` at the server level, and so on) are left untouched
where they are used as table or server settings. Tests whose purpose is
the obsolete setting itself (`01945_system_warnings`,
`04356_compatibility_skips_obsolete_settings`,
`05055_allow_experimental_codecs_obsolete`, the client warning `expect`
tests, `02705_settings_check_changed_flag`) are also left as is.
`enable_analyzer` / `allow_experimental_analyzer` is tier `OBSOLETE`
too, but it is still set in about 2500 tests and is handled separately.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Workflow [PR], commit [e1e9899] Summary: ✅
AI ReviewSummaryThe PR removes obsolete setting assignments from tests, updates echoed statements and diagnostic references, and uses Missing context / blind spots
Final VerdictStatus: ✅ Approve |
…tings-from-tests Conflicts were caused by both sides removing adjacent obsolete `SET`/`SETTINGS` lines from the same tests; the union of both removals is kept, together with master's other changes.
# Conflicts: # tests/queries/0_stateless/02482_json_nested_arrays_with_same_keys.sh
The test is deliberately heavy (2M single-row async inserts) and times out when the flaky check runs it repeatedly. Removing the obsolete `enable_json_type` setting from it is purely cosmetic, so leave the test as on master to keep it out of the flaky check. https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=122537&sha=08552d341ba0f8cb66f7aef288cbf245e5905911&name_0=PR&name_1=Stateless%20tests%20%28amd_debug%2C%20flaky%20check%29 PR: #122537 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This comment was marked as low quality.
This comment was marked as low quality.
|
I checked the three failures of this run.
If you would rather drop the check, I can revert #129330 (mine) instead. |
|
The separate PR for Two corrections to the direction I gave above:
On this job's |
|
🕵 Thanks, @groeneai. All three failures of the last run are unrelated to this tests-only PR and their fixes are open: #133112 ( |
|
🕵 The only failure of the last run is I merged the latest |
|
🕵 The last run ( I merged the latest |
Changelog category (leave one):
Workflow [PR]
Sync PR [sync-upstream/pr/122537]