Repository navigation
Run all cases of 05448_dictionary_clickhouse_source_update_field_time_zone in one dictionary update - #129298
Conversation
…_zone in one dictionary update The test waited for ten incremental dictionary updates one after another, and the dictionary loader checks for updates only every 5 seconds, so it took about 49 s. All ten dictionaries are now created up front and share one round of updates; the reference is unchanged. 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; one full pass over the test, its reference, the old script and the dictionary update path).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-11:20261104-143600 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-41:20261104-140200 |
|
cc @nihalzp, could you review this and add the |
|
Workflow [PR], commit [a657bc0] Summary: ✅ AI ReviewSummaryThis test-only PR runs the ten existing incremental dictionary-update cases together, removing sequential loader waits while retaining their inputs and expected output. Reviewed head Final Verdict✅ Approve. |
06dbd3d
|
@groeneai The new tests takes 46 seconds (https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=129409&sha=latest&name_0=PR&name_1=Fast+test+%28arm_darwin%29) so it shouldn't be on fast test. Please make it shorter or tag it. Also, think of a check to prevent these kinds of tests being accepted in fast tests. New tests that take more than 15 seconds should be prevented from being added to fast tests. If they are no-parallel then reduce the limit to half that (7.5 seconds). Don't modify old tests for now, only verify new tests for now. Reuse an existing check if possible (maybe in the same fast test check?) |
|
The 46 s run on #129409 is from a workflow started at 2026-11-05 00:17 UTC, before this PR merged (02:28 UTC), so it still ran the old Acknowledged on the check. I'm working on making the Fast test job fail when a test added by the PR runs longer than 15 s (7.5 s if it is |
|
The check is in #129716: the Fast test job now fails a test added by the PR (GitHub status |
A test added by a PR now fails the Fast test when it runs longer than 15 s, or 7.5 s when it is tagged `no-parallel` (or `sequential`). Existing tests are not checked. The Config Workflow hook `store_data.py` stores, for a PR, the files under `tests/queries/0_stateless/` that GitHub reports as `added` or `copied` as the KV key `new_stateless_test_files`. A renamed test is an old test, so it is not included. `fast_test.py` marks an `OK` row of such a test as `FAIL` when its duration is over the limit, reusing `Targeting.functional_test_source_file` and `Targeting.is_sequential_functional_test` from `find_tests.py`. The parent `Tests` result goes from `OK` to `FAIL`; an `ERROR` or `FAIL` is kept. The merge queue and master runs store no key, so they are not checked. `find_tests.py` is not added to the Fast test digest: a PR that adds or copies a test file always changes the digest, so the job always runs. Requested in ClickHouse#129298 (comment) CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=129409&sha=latest&name_0=PR&name_1=Fast+test+%28arm_darwin%29 PR: ClickHouse#129409 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Related: #127765
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The test
05448_dictionary_clickhouse_source_update_field_time_zonenow runs in about 5 seconds instead of about 49.Description
Asked for in #127765 (comment): the test took about 49 s in every lane and was the slowest one in
Fast test (arm_darwin).It ran ten incremental-update cases one after another, each waiting for the next periodic check of the dictionary loader (every 5 s).
SYSTEM RELOAD DICTIONARYcannot replace that wait: a forced reload is a full load and never uses theupdate_fieldbound.Now all ten dictionaries and their source tables are created up front and share one round of updates. The cases, the rows and the
.referenceare unchanged.Validation on a debug build with the server in
Europe/Amsterdam: 4.9 s instead of 49.9 s (median of 20 new and 3 old runs, new max 5.3 s), and 50 passes with random settings at-j 8. With each earlier state of the #127765 bound restored, the old and the new test print the same output, so every case still fails without its part of that fix.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/129298]
Version info
26.11.1.1393-master(included in26.11and later)