Skip to content

Split 03008_deduplication_diagnostics_opt_in and skip only the driver-replay half on the macOS fast test - #114005

Merged
alexey-milovidov merged 2 commits into
masterfrom
fix/03008-diagnostics-opt-in-darwin-timeout
Aug 9, 2026
Merged

alexey-milovidov merged 2 commits into
masterfrom
fix/03008-diagnostics-opt-in-darwin-timeout

Conversation

@alexey-milovidov

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

Copy link
Copy Markdown
Member

The test (added in #112913) averages ~47 s on the macOS CI runner against a 60 s per-test limit (vs ~27 s on the Linux fast test), so a few percent of runs cross the limit and fail with a timeout — 7 failures across unrelated PRs since 2026-08-08, e.g. this report on #110321.

Per review feedback, instead of skipping the whole test on Darwin (which would have dropped the only Darwin fast-test coverage of the diagnostics-only rerun path), the expensive half — the stub-client driver failure-handling replay and the interrupted-rerun harness — is split into a new test 03008_deduplication_diagnostics_replay.sh. Measured locally, that half carries ~80% of the runtime and is where the macOS timeout was landing. Only the new replay test goes into ci/defs/darwin.skip; the cheap marker/payload/phase-parsing assertions keep running in the macOS fast test. Full coverage of both halves remains on Linux and every stateless configuration.

Related: #112913
Related: #110321

Changelog category (leave one):

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

Version info

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

The test (added in #112913) averages ~47s on the macOS CI runner with a
60s per-test limit (vs ~27s on the Linux fast test), so a few percent of
runs cross the limit and fail with a timeout. 7 failures across unrelated
PRs since 2026-08-08. The test keeps full coverage on Linux.

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=110321&sha=bab60560471334d48a72389dd778555360dc85fe&name_0=PR&name_1=Fast%20test%20%28arm_darwin%29

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

clickhouse-gh Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [bcabd63]

Summary: ✅


AI Review

Summary

This PR splits 03008_deduplication_diagnostics_opt_in into a cheap diagnostics-check half that still runs in the macOS fast test and a replay-heavy half that is skipped only on Darwin. I did not find a new correctness or coverage regression in the current diff: the moved replay logic and reference output stay intact in 03008_deduplication_diagnostics_replay.{sh,reference}, the remaining opt_in test still exercises the cheap generator/phase-parsing assertions, and the earlier inline concern about skipping the whole Darwin signal is addressed by the current code.

Final Verdict

✅ No new findings.

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Aug 9, 2026
Comment thread ci/defs/darwin.skip Resolved
…agnostics_opt_in and skip only that half on Darwin

The AI review pointed out that skipping the whole test dropped the only
Darwin fast-test coverage of the diagnostics-only rerun path from #112913.
Split the expensive part - the stub-client driver failure-handling replay
and the interrupted-rerun harness - into a new test
03008_deduplication_diagnostics_replay.sh, which is the half that carries
most of the runtime (~80% measured locally) and where the macOS timeout
was landing. Only that test goes into ci/defs/darwin.skip; the cheap
marker/payload/phase-parsing assertions keep running in the macOS fast
test. Reference files are split at the same boundary; both halves pass
locally with empty diffs.

Co-Authored-By: Claude Fable 5 <[email protected]>
@alexey-milovidov alexey-milovidov changed the title Skip 03008_deduplication_diagnostics_opt_in on the macOS fast test Split 03008_deduplication_diagnostics_opt_in and skip only the driver-replay half on the macOS fast test Aug 9, 2026

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sounds ok.

@alexey-milovidov alexey-milovidov self-assigned this Aug 9, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Aug 9, 2026
Merged via the queue into master with commit 2820769 Aug 9, 2026
181 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix/03008-diagnostics-opt-in-darwin-timeout branch August 9, 2026 17:28
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 9, 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.

2 participants