Repository navigation
Conversation
- Randomize `parallel_replicas_local_plan` again and pin it to `1` only in the `ParallelReplicas` configuration, so plan-based parallel replicas tests keep exercising both modes elsewhere. - `05256_s3_uri_exception_masks_credentials`: also check that non-initial `query_log` rows (e.g. the DDL worker replay in a `Replicated` database) do not leak credentials. - Do not narrow the `arm_binary` coverage replacement jobs and the LLVM coverage jobs on CI-scripts-only pull requests: they run in full or not at all. - Treat `pr_labels_and_category.py` and the parallel replicas / async insert blacklists as coverage pipeline paths, so changing them runs the replacement jobs. Related: #122853
|
Workflow [PR], commit [5c8b85d] Summary: ❌
AI ReviewSummaryThis PR follows up on the coverage opt-in work by fixing the coverage-job filtering rules, restoring Findings
Final Verdict
|
| ORDER BY event_time_microseconds; | ||
|
|
||
| -- The rows of non-initial queries (e.g. the replay of `CREATE` by the DDL worker in a `Replicated` database) must not leak either. | ||
| SELECT countIf(position(exception, 'SECRET_') > 0) |
There was a problem hiding this comment.
This check is weaker than the contract in the new comment. The test never creates a NOT is_initial_query row: every failing statement here runs on the initiator, and the bad S3 URI is rejected before any DDL worker or remote worker replays it. That makes countIf(...) = 0 vacuously true even if a worker-side query_log row would still log the raw secret.
Please force one real secondary-query path here (for example by replaying the same failing CREATE through a Replicated database, or another execution path that actually emits is_initial_query = 0 rows) and assert masking on those rows specifically.
Brings the fixes of #123657: - Randomize `parallel_replicas_local_plan` again and pin it to `1` only in the `ParallelReplicas` configuration. - `05256_s3_uri_exception_masks_credentials`: also check that non-initial `query_log` rows (the DDL worker replay in the `DBReplicated` configuration) do not leak credentials. - Do not narrow the `arm_binary` coverage replacement jobs and the LLVM coverage jobs on CI-scripts-only pull requests. - Treat `pr_labels_and_category.py` and the parallel replicas / async insert blacklists as coverage pipeline paths.
Follow-up to #122853, addressing its unresolved review comments:
tests/clickhouse-test: randomizeparallel_replicas_local_planagain and pin it to1only in theParallelReplicasconfiguration (args.no_parallel_replicas). Plan-based parallel replicas tests (04836_pr_plan_based_in_subquery_distributed,05137_...,05139_...) keep exercising both modes in the other lanes.05256_s3_uri_exception_masks_credentials: keep the listing restricted to initial queries (the DDL worker replay duplicates rows in aReplicateddatabase), but add a check that noquery_logrow at all, including non-initial ones, leaks credentials.filter_job.py: the CI-scripts-only narrowing ("stateless batch 1 / amd_asan_ubsan integration batch 1 only") no longer applies to thearm_binarycoverage replacement jobs or to the LLVM coverage jobs: they run in full or not at all, soci-coveragegives a complete measurement._COVERAGE_PIPELINE_PATHS: addpr_labels_and_category.py(definesci-coverage) andtests/parallel_replicas_blacklist.txt/tests/async_insert_blacklist.txt(select the tests of the replacement lanes), so changing them runs the replacement jobs instead of skipping them as tests-only.Not changed: the config-time
_filter_unaffected_jobsis generic praktika code; PRs that change job definitions useci-force-all.Related: #122853
Changelog category (leave one):
Workflow [PR]
Sync PR [sync-upstream/pr/123657]